[REBOL] using floppies?

2000-06-23 Thread tim781

Hi, I'm running some scripts
from floppies and am wondering
what's the fastest way. Will the
entire script be loaded into memory?

thanks... timmmy :)




[REBOL] forskip??? Re:(4)

2000-06-22 Thread tim781

THANKS!! :) Julian. It worked.:)

I'm going to start using rebol to
edit audio files. I found out that
.au sound files are contructed
simple and the samples can
easily be modified with rebol
scripts. I attached a text file I got
from http://www.wotsit.org/
incase anyone wants to work with
sound files.

with 8-bit audio this is what I
learned about .au files.

Hex codes:

00 to 7F - is below zero ( and 00 is farthest from zero )
FF  - is zero
FF to 80 - is above zero ( and 80 is the farthest from zero )

timmy :)


The following is supposedly the sound format used by Sun and Next
machines:

[ From: [EMAIL PROTECTED] (Marshall Rose) ]

Audio data is encoded in three parts: a header, containing fields that
describe the audio encoding format; a variable-length information field,
in which, for instance, ASCII annotation may be stored; and, the actual
encoded audio.  The header and data fields are written using big-endian
ordering.

The header part consists of six 32-bit quantities, in this order:

longwordfield   description
-   ---
0   magic numberthe value 0x2e736e64 (ASCII ".snd")

1   data offset the offset, in octets, to the data part.
The minimum valid number is 24 (decimal).

2   data size   the size in octets, of the data part.
If unknown, the value 0x should
be used.

3   encodingthe data encoding format:

value   format
  1 8-bit ISDN u-law
  2 8-bit linear PCM [REF-PCM]
  3 16-bit linear PCM
  4 24-bit linear PCM
  5 32-bit linear PCM
  6 32-bit IEEE floating point
  7 64-bit IEEE floating point
 23 8-bit ISDN u-law compressed
using the CCITT G.721 ADPCM
voice data encoding scheme.

4   sample rate the number of samples/second (e.g., 8000)

5   channelsthe number of interleaved channels (e.g., 1)


The information part, consists of 0 or more octets, and starts 24 octets
after the beginning of the header part. The length of the information
part is calculated by subtracting 24 (decimal) from the data offset
field in the header part.
--
 Bill Janssen  [EMAIL PROTECTED]  (415) 812-4763
 Xerox Palo Alto Research Center  FAX: (415) 812-4777
  Coyote Hill Road, Palo Alto, California   94304






[REBOL] Ping Tool Re:(2)

2000-06-22 Thread tim781

Hi, I'm not too knowledgable about ping,
but I'm pretty sure you need to know
the ip address first before you can
try a ping. It might be possible to
finger the ip address of the main
software program on your network
to get all users. Sorry I can't help
more. timmy :)


[EMAIL PROTECTED] wrote:

 Thorsten M wrote:
  I am new to Rebol as well as to Network-Programming. I need to develop a
 kind of Ping Tool to check which IP-adresses in our WAN are connected and
 get the adresses returned.
 
  1 Q. How can i ping via TCP/IP with REBOL?
 
  2 Q. How can i retrieve the connected adresses?

 Being inexperienced with networking myself, this may or may not be useful to
 you:

  read dns://sourceforge.net
 == 198.186.203.33
  read dns://198.186.203.33
 == "sourceforge.net"

 Andrew Martin
 ICQ: 26227169
 http://members.xoom.com/AndrewMartin/
 --




[REBOL] forskip???

2000-06-21 Thread tim781

HI, Can anyone tell me why
my file ends up 7 times larger
than it should. It should be
1/2 the size? :P thanks.. timmy

Rebol [
]

audio: read/binary %/j/audio/first.au

forskip audio 2 [
write/append %/j/audio/firstdone.au enbase/base to-string first audio 2
]






[REBOL] forskip??? Re:(2)

2000-06-21 Thread tim781

HI , It did'nt work. I just
ended up with a bunch of
numbers 0-9. :(

timmy

[EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] wrote:
 
  HI, Can anyone tell me why
  my file ends up 7 times larger
  than it should. It should be
  1/2 the size? :P thanks.. timmy
 
  Rebol [
  ]
 
  audio: read/binary %/j/audio/first.au
 
  forskip audio 2 [
  write/append %/j/audio/firstdone.au enbase/base to-string first audio 2
  ]

 Your converting a single byte into a string containing the binary
 representation, ie. going from #"R" to "01010010".  Remove the enbase
 call, and it should work correctly (I think you can remove the to-string
 too).

 Julian Kinraid




[REBOL] can't explain

2000-06-16 Thread tim781

Hi, can anyone tell me what's wrong with
this script and why it does'nt throw an error
for input numbers 1 - 9. thanks alot.. tim

BEGIN SCRIPT

REBOL [
]

Listing: [

print "Choose Command..."
print "1 - Command 1"
print "2 - Command 2"
]



command1: [print "Doing Command 1"]
command2: [print "Doing Command 2"]



forever [
do listing
command: input
do rejoin ["command" command]
]





[REBOL] Bcc??

2000-06-16 Thread tim781

HI,

does anyone know how to
create a custom email header
that includes Bcc.

This is what I tried:



tommy: reform [[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]]


header: make system/standard/email [
   From: "[EMAIL PROTECTED]"
   Bcc: tommy
   MIME-Version: "1.0"
   Subject: "Thank-you  :)"
Content-Type: join {multipart/mixed; boundary=}
{"4F9F64BEEE5"}
]


Thanks, timmy





[REBOL] can't explain Re:(3)

2000-06-16 Thread tim781

Hi, I just tried the script again.
And I got errors also. I must have
compromised rebol from an
earlier script error. :P

timmy

[EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] wrote:

  Yeah, that sounds funny.
  For me, your example script does throw an error for values other than 1 or 2.
  If you are saying that it doesn't for you, then that sounds funny...
  I tried it on both rebol core 2.2.0.3.1
  and REBOL/View 0.9.9.3.1  1-Jun-2000
 
  The error is:
  ** Script Error: command0 has no value.
  ** Where: command0
 

 Of course it does? What do you expect?

 1) below script will not work, as rejoin returns "command1" for e.g. as a string

 - command: input
 1
 == "1"
 - type? rejoin ["command" command]
 == string!
 -

 2) if you will put there do to-word rejoin , it will crash for other than
 command1 and command2 values, as there are no words of such name defined

 Or am I wrong here?

 -pekr-

 
  -Anton.
 
  At 04:33 16/06/00 -0700, you wrote:
  Hi, can anyone tell me what's wrong with
  this script and why it does'nt throw an error
  for input numbers 1 - 9. thanks alot.. tim
  
  BEGIN SCRIPT
  
  REBOL [
  ]
  
  Listing: [
  
  print "Choose Command..."
  print "1 - Command 1"
  print "2 - Command 2"
  ]
  
  
  
  command1: [print "Doing Command 1"]
  command2: [print "Doing Command 2"]
  
  
  
  forever [
  do listing
  command: input
  do rejoin ["command" command]
  ]




[REBOL] can't delete email??

2000-06-16 Thread tim781

HI,

Can anyone tell me where
I should add the command
"remove mailbox" in this
script.

while [not tail? mailbox] [
 msg: import-email first mailbox
  print [
   "From: " first msg/from
   "Subject: " msg/subject
  ]
remove mailbox
mailbox: next mailbox
 ]

No matter where I put it in my script,
it won't delete all my messages. ??

I sent myself 3 emails and only
one was deleted. And no matter
how many times I re-ran the script,
I can't delete the other two.??

thanks timmy




[REBOL] Tool for those of us in the southern-hemisphere. Re:

2000-06-16 Thread tim781

Hi, Brett, I live in sunny california. :)
I did'nt know there were 4 different
seasons. :P

timmy

[EMAIL PROTECTED] wrote:

 Hi fellow southerners,

 Ever had that annonying little hassle of trying to decode what those folks
 on the northern hemisphere mean when they say "fall" or winter?

 Well I've done this neat little tool that will tell you what they mean.
 Check out the attachment !
 :)

 Brett Handley
 [EMAIL PROTECTED]

 PS. Shiver Cold at the moment eh?

   
Name: nh-seasons.r
nh-seasons.rType: REBOL Script 
(application/x-unknown-content-type-r_auto_file)
Encoding: 7bit




[REBOL] multi-tasking?

2000-06-08 Thread tim781

Hi i'm writting to ask if it's
possible to launch other scripts
from a single script, but, without
having to wait for each script
to end before the next one can starts.

thanks.  timmy




[REBOL] My 2 cent contribution Re:

2000-05-27 Thread tim781



What are you talking about
tim
[EMAIL PROTECTED] wrote:


Really appreciate all of you guys hard work and i know this is the one
that will make this whole internet thing fall into place if you make enough
noise. So how do you get it
in every computer? Easy. Give away a message app. with friend
list auto forwarding and retrieving for files and attachments(the clincher,
will not allow unknown attachments to get to the personal computer thats
not from friends),with calender. Run it all on the Rebol server.r
script from the personal computer.
It's still lightweight, personal and can talk to anyone (smaller 
less hassel than java) on and off line as a full blown executing app.
Remember it's only a rebol view and rebol core script. It would'nt be hard
to do. (it has been done allready but its in pieces all over the
place)HOW?
It MUST operate like a VIRUS. The mail from the friend is prewritten asking
if the reciever would like to message with the sender personally on 
off line with calender forwarding and retrival of personal info.
Tell them that now they can verify if you sent them an attachment. Next,
they click (one click for win32's,Linux,  Mac) the yes link and Reb
core downloads followed by rebol view. Reb view app. opens and asks
to send same Reb welcome letter to their friend email addresses.
Make sure you put one of those thingamabobs (Reb link) on it.
Who knows they might get Rebolutionized. Rebolists should be
encouragd to put this link on their web page as well as a replacement for
the guest books.Now What?
Just wondering if its possible for those who spread the Rebol app. to a
certain number of friends could be given a free email address for
messaging. Encourage that through Rebol email we have our first true means
for networking in a one to many messaging enviornment.Who
can do it? Well, RT should build the initial
script, (it has to be a true Rebol.r for publicity reasons) a skeleton
if you will. Post the script to the www  mail list as the first
Open Source Script. It's open because anyone can add their own gui's
and upgrades to it through a script list. Now users can customize with
out having to program.(thats want public users like about apps anyway when
they are non trivial)





[REBOL] Can't get two rebolscripts to message each others reliably Re:(3)

2000-04-18 Thread tim781

Hi  I was wonder if you want to try
three instances of rebol and the third being a
proxy for the two. I'm wondering what might
happen. :)

timmy


[EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] wrote:
  Sounds reasonable but it closes for me too. I only got 45 on a win98, 41
  on win95. Curiously when I use both machines at the same time they process
  85 (roughly a sum of the two). Also I recently upgraded win98 to view b3
  and now it does 44 (84 between the two).
 
  Perhaps this information will be useful to you. I wonder if it is a memory
  issue (either system or port related). I wish you luck in solving it.

 Hmhm. Well now I know it's not unique to the Amiga implementation at least,
 and that's a start. Tried some ideas I had but it still doesn't work. :/

 Michal Kracik wrote:
  I got 3949 messages on 127.0.0.1, Windows NT 4.0, REBOL/View beta.
  I think there can be a problem with opening and closing sockets too
  fast.

 That's an idea, but I inserted a one second delay and it didn't change
 anything (except it now takes 2 minutes to test here, and would take over
 an hour for you ;)

 --
   /Johan Rönnblom, Team Amiga

 Laboratory experiments have shown that 100% of rats died.





[REBOL] free web hosting with rebol Re:(3)

2000-04-12 Thread tim781

Hi Martin, don't forget about the extra load scripts will put
on your server. You could spend alot of time creating a
great script and end up having to pay extra for system
resources. Just me thoughts. :)   timmy

[EMAIL PROTECTED] wrote:

 Hi folks,

 I'm new at Rebol, and I would like to have som thoughts of mine straighted
 out or confirmed:

 1. A Rebol script can be used to fetch data from a textfile and put the data
 into a HTML template, thus creating an unique web page? In this way one may
 render lots of documents of the same kind, but with unique data, such as a
 list of products where each product is linked to a script-generated
 information page?

 2. A Rebol script can be used in the way above, but on the server side,
 reading data from a text file for input to the HTML template. In this way,
 Rebol may serve the same function as Visual Basic or Javascript within an
 Active Server Page?

 3. Which one of the two above methods is preferred -- rendering unique web
 pages with a script or having the script read data "on the fly" thus
 providing dynamic web pages?

 I would be really glad to get some ideas on this, and maybe even some code
 that I can play around with to learn from. Thanks!

 Kind regards,

 Martin Lindholm




[REBOL] e-mail with attachement Re:

2000-03-09 Thread tim781

Hi  I modified your script and added the mail function from
%attach.r (on rebol site) I added some notes to help you.
NOTE: you don't change the To: in my_header ( Just
change your from address and the subject you'd like
for the emails.)
Since I'm a stranger :P you should erase the pasting
of the mail function and copy/paste it from %attach.r
yourself. the function is really complex for beginners.

timmy :)

 form_attach.r


[REBOL] Run commands in NT's REBOL Re:

2000-03-09 Thread tim781

HI I don't know how to do that. :(

timmy

[EMAIL PROTECTED] wrote:

 Hi ...

 Everyone know somethig about run commands in NT inside a REBOL script ...  I need 
make a "at"
 command in the DOS's consola and i don't know ... Is it
 posible???

 Please,

 Regards

 David Guitian





[REBOL] protect-system ??

2000-02-25 Thread tim781

Hi  I wrote protect-system in %user.r
but I got an error saying it has no value.

Here is what the guide said:

If protect-system is set in the user .r file, then all words set within
REBOL will be
protected from modification because the user .r file is called by REBOL
just after
initializing itself.

timmy



[REBOL] news (no info??)

2000-02-23 Thread tim781

Hi   does anyone know how to post to newsgroups.
Rebol's new user guide does'nt say. The old user guide did.
The new one does'nt tell how to just download the headers
either. Does anyone know how to just download the first
100 lines of newsgroup messages? thanks..

timmy



[REBOL] limiting number of lines read

2000-02-23 Thread tim781

Hi, Does anyone know how I can just download 100 lines
or less of each news post. Some news posts are gigaintic.

thanks   timmy



[REBOL] if condition vs. while condition Re:

2000-02-23 Thread tim781

They're not treated differently. A condition
is a condition. "While" gives more options
such as including more commands in the conditional block
( as long as the last is conditional ). It's the last condition
in the block that determines if the loop continues. "while"
and "until" are very useful. If you tried to accomplish the
same just using "if"s then you'd be doing alot of unneccessary
typing. Rebol is designed to let you write scripts quickly.
If you wrote a c+ program to do the same as a simple
rebol script, you'd be writting for hours or days.
Note: The Rebol guides are getting more and more
easy to understand. Rebol recently helped me understand
part of the guide and decided to add the help in the next site
update.:)

timmy

[EMAIL PROTECTED] wrote:

 Hello,

 For both a decision-making construct like "if" and a
 loop construct like
 "while" we need to specify a condition. Based on the
 evaluation of that
 condition, we would proceed with the loop or the body
 of the
 conditional.

 In REBOL, the condition for a while loop is specified
 as a "block" but
 the condition for an if statement is specified as a
 "condition."

 In this context, what is the definition of a
 "condition" and why does
 REBOL treat the two conditions differently?  Why not
 use a block for an
 "if" statement as we do for loops?

  help if
 If condition is TRUE, evaluates the block.
 Arguments:
 condition --
 block --  (block)
  help while
 While a condition block is TRUE, evaluates another
 block.
 Arguments:
 cond-block --  (block)
 body-block --  (block)

 Thanks.

 --
 Piroz Mohseni
 [EMAIL PROTECTED]

 __
 Do You Yahoo!?
 Talk to your friends online with Yahoo! Messenger.
 http://im.yahoo.com





[REBOL] Reading files from a web page requiring login/password submission Re:

2000-02-17 Thread tim781

Hi I'm not an expert but sometimes when I need
rebol to post (Like a submit button) I use my
browser first and see if the resulting url has
the ? mark in it.

I use a free web translation service that requires a button to
be pressed. the below url will translate www.rebol.com into german.
And when ever I need a url translated I change the url at the end.
http://ets.freetranslation.com:5081/?Sequence=coreLanguage=English%2FGermanUrl=www.rebol.com

This will also work for having penpals in different languages.
You first save the email to a text and then add your current
IP address so that http://www.freetranslation.com will request your
file. It takes more than just that. You also have to write in your
script
to have rebol act as a simple web server.

timmy


[EMAIL PROTECTED] wrote:

 Hi all.

 I'm mostly a newbie as a REBOL programmer,
 but I have been actively following the threads
 in this forum.

 I spent roughly 2 hours yesterday reading
 REBOL/Core  documentation and trying to
 build a script that would automate a cumbersome
 process we go through each week: downloading
 specific files from a web page whose file names
 are constructed to include a form of a date.

 I was *blown away* at how REBOL facilitated this;
 I now have a good glimpse of what you folks have
 been raving about.

 My question: for those web pages that I interface
 with manually that either have fields requiring
 a login and password submission (and maybe the
 click of a SUBMIT button as well) is there any way
 I can use REBOL/Core to authorize myself (satisfy login
 requirements) such that I can proceed to further
 pages of interest ?  In most of these cases, direct ftp
 access is not enabled (otherwise I would employ ftp).

 I'm thinking I need to wait for /Command to do something
 of this type ?

 Thanks in advance for any help ...

 Mike Mastroianni





[REBOL] Rebol friendly hosting providers Re:

2000-02-17 Thread tim781

Hi $20 is'nt too much money to be able to write
your own cgi scripts. Mosts sites won't allow you
because of security reasons. Note: using guestbooks
on free homepages is very valuble. you just have to
write the right html code into your web pages.
They can be used to record your vistors, the time of
visits, their ip address, etc. But, you'll end up losing your
account if you abuse it.

timmy

[EMAIL PROTECTED] wrote:

 Hi rebols!

 I own a web hosting company (happysite.net) and I'm lobbying Rebol
 technologies to create a web host certification programme "Rebol friendly
 hosting provider". Could you help me out by answering the following
 questions?

 1) Do you make rebol cgi scripts ?
 a) yes
 b) no
 answer:

 2) Would you give preference to an isp certified by Rebol technologies as a
 "Rebol friendly hosting provider"?
 a) yes
 b) no
 answer:

 3) Do you find the following price: USD 20 for 200Megs with native rebol
 hosting
 a) too high
 b) just right
 c) dirt cheap
 answer:

 4) Any other comments
 answer:

 Thanks for your time,

 Ricardo Liberato





[REBOL] Running from batch file? Re:

2000-02-14 Thread tim781

Hey, Have you tried to add a dos command to your bat file
to change the current directory before the command
to run your script.. It prob'ly seems not worth trying
but dos is different like that. win95 won't recognize my
cd-rom drive but if I first start dos and then windows
my cd-rom drive shows up in windows explorer.

timmy


[EMAIL PROTECTED] wrote:

 If I do "Rebol dns.r" from the DOS prompt (DOS box of
 Windoze 95) my dns.r program runs fine.

 If I put the same thing in a batch file, then Rebol just
 brings up the console, and dns.r is not loaded, just goes
 right to the Rebol prompt.

 How do you start rebol  program from batch file?





[REBOL] Need help with IP Address Project please Re:

2000-02-04 Thread tim781

Here is how:
To find out what domain is associated with an IP, specify the IP in the URL
(dns://207.69.132.8 ).  ===  It equals rebol.com

Example:

read dns://207.69.132.8 enter

output rebol.comRead more on this page == netdns.html

timmy :)

[EMAIL PROTECTED] wrote:

 I've been asked to take a text file containing 1,500 IP Addresses and find
 an URL for each address, and write it to a new text file containing IP
 Address  URL.  Is there any way I can do this in REBOL?  If so I'd
 appreciate any guidance the REBOL gods may be willing offer.

 While I'm begging help; can REBOL be used to telnet to a site?  If yes I
 would again ask for any guideance that the REBOL gods might be willing to
 impart.

 Thanks for any assistance;

 Paul
 __
 Get Your Private, Free Email at http://www.hotmail.com





[REBOL] [REBOL]Illegal PORT Command The myster deepens Re:

2000-01-31 Thread tim781

Your computer might be sending commands too
fast. Try pausing your script.


[EMAIL PROTECTED] wrote:

 Thanks for all the quick responses!!
 This problem persists on both windows 98 and Windows NT machines.
 I have used two different internet service providers.
 I have tested several sites that I can access via WS_ft32.
 I am a full-time programmer, and I write both CGI programs
 and desktop applications that have FTP services.
 Those application are accessing and writing to, and listing
 those sites.
 ;; what follows the asterisks is a full list with trace on
 ;; I'm guessing that something is amiss with my network configuration
 ;; Perhaps someone who is more familiar with TCP/IP can glean
 ;; something from the trace dump, or suggest what I have
 ;; probably neglect in my own setup
 ;; thanks in advance. In the meantime, I will recheck your
 ;; documentation on networks
 ***
  do %test.r
 Script: "Test FTP Access now" (28-Jan-2000)
 URL Parse: none none jazz.trumpet.com.au none none none
 Net-log: ["Opening tcp for" FTP]
 connecting to: jazz.trumpet.com.au
 Net-log: [
 none ["220" "230"]]
 Net-log: {220 jazz-1.trumpet.com.au FTP server (Version wu-2.4.2-academ[
 BETA-15](1) Fri Oct 17 17:07:33 PDT 1997) ready.}
 Net-log: [["USER" port/user] "331"]
 Net-log: {331 Guest login ok, send your complete e-mail address as passw
 ord.}
 Net-log: [["PASS" port/pass] "230"]
 Net-log: "230-"
 Net-log: {230-Welcome to the Trumpet Software International ftp site.}
 Net-log: "230-"
 Net-log: {230-This server is located in Hobart, Tasmania, Australia.}
 Net-log: "230-The local time is Tue Feb  1 10:18:08 2000."
 Net-log: "230-"
 Net-log: {230-We now have an alternative FTP site "ftp.trumpet.com" loca
 ted in }
 Net-log: {230-Los Angeles which will be more accessible to US and Europe
 an customers.}
 Net-log: "230-"
 Net-log: {230-You are user number 1 out of a maximum of 100 in your acce
 ss category.}
 Net-log: "230-"
 Net-log: {230-Please note that ALL transfers are logged - Disconnect now
  if you do not}
 Net-log: "230-like this policy!"
 Net-log: "230-"
 Net-log: {230-Please report any problems with this archive to www-admin@
 trumpet.com.au.}
 Net-log: "230-"
 Net-log: "230 Guest login ok, access restrictions apply."
 Net-log: [
 "TYPE I" "200"]
 Net-log: "200 Type set to I."
 Net-log: [["PORT" port/locals/active-check] "200"]
 Net-log: [
 "PASV" "227"]
 Net-log: "227 Entering Passive Mode (203,5,119,51,14,153)"
 Net-log: [["CWD ~"] "250"]
 Net-log: [["CWD /"] "250"]
 Net-log: "250 CWD command successful."
 Net-log: [["CWD" either empty? port/path ["./"] [join "./" port/path]] "
 250"]
 Net-log: "250 CWD command successful."
 Net-log: [["LIST" "."] ["150" "125"]]
 Net-log: {150 Opening BINARY mode data connection for /bin/ls.}
 Net-log: [
 none "226"]
 Net-log: "226 Transfer complete."
 ** User Error: Server error: tcp 500 Illegal PORT Command.
 ** Where: read ftp://jazz.trumpet.com.au/
 At 01:22 PM 1/31/00 -0800, you wrote:
 Hi Tim
 
 The code you posted works for me:
 
  print read ftp://jazz.trumpet.com.au/
 beta/ bin/ dostrump/ etc/ fanfare/ firesock/ ipv6/ irc/ lwp-vers/
 mailreader/ pr
 iv/ private/ scripts/ slipper/ tcp-abi/ tmp/ winirc/ winsock/ wintrump/
 
 There may be a problem with your network setup or it may just be one of
 those occasional Internet glitches.
 
 Larry
 
 
 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, January 31, 2000 1:03 PM
 Subject: [REBOL] [REBOL]Illegal PORT Command
 
 
  The following code;
  read ftp://jazz.trumpet.com.au/
  result in the following error message from rebol:
  connecting to: jazz.trumpet.com.au
  ** User Error: Server error: tcp 500 Illegal PORT Command.
  ** Where: read ftp://jazz.trumpet.com.au/
  ;;NOTE: This site has anonymous ftp access.
  What am I doing wrong here?
  Tim
 
 





[REBOL] [REBOL]Controlling security from script Re:

2000-01-28 Thread tim781

Hi. There is a way to turn off security every
time you run a .r script. If you don't know about
win95 and how to assosciate a file extension with
an exe program then double click on .r and it will
ask you what program to use to open it.
Choose rebol.exe and write -s after it before you choose
ok. If you want I can email you screen pictures of what
to write and where. -- If rebol.exe is already assosciated
with .r scripts then in "exploer", go to 'options' and then
'file types'. Find your .r extention and then choose 'edit'
THEN choose 'edit' again in the 'next' window. THEN all
yo have to do is write -s after rebol.exe . Now every time
you run a script, security will automatically be turned off
without asking you permission first. THis is dangerous if
you're running scripts that other people gave you.

..timmy [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:

 The following code inserts a line of text into
 a file after a specific cue and rewrites it:
 ;=
 fp: open/lines/allow/mode  %test.txt [read write] [lines]
   forall fp
   [
 if(find first fp "three")
 [
   print first fp
   insert next fp "line four"
 ]
   ]
 update fp
 close fp
 ;This works fine, but I have to respond to the
 ; Rebol - Security Check prompt.
 ;If I run rebol from the command line as thus:
 ; rebol -s FileIO.r to disable the security check
 ; is disabled

 ; I would like to be able to disable the security check from
 ; the code itself:
 ; After review example files, it appears that the following as
 ;  the first line should do it:
 #!rebol -s
 ; I used the cgi examples (cgi*.r) as reference
 ; regardless of this usage, the Rebol - Security Check
 ; prompt still appears
 What else should I be doing?





[REBOL] email with no text? Re:

2000-01-28 Thread tim781

Hi I'm getting all the text. I use netscape. Sometimes
email gets trunced because of attachments. If an
attachment from a previous email has an end of attachment
marker then email clients will stop there. when this happens
you can choose 'view page source' and read the message that
way.  ..timmy

[EMAIL PROTECTED] wrote:

 hi

 is anyone else not getting any text with " Re: [REBOL] Search Engine for
 Rebol Docs Re:" as subject header? every meassage seems to be truncated.

 d





[REBOL] rebol Pandora Re:

2000-01-28 Thread tim781

Hey everybody, This is the translation. It sounds like he's
having trouble sending through a firewall. ..timmy


Sit yonder yet persons with Pandora/Raise worn this tabulation?

It is potential to my your user.r worn within transmit  [aub]? I
[geraak] viz. not
past the [proxy] with Pandora/Raise .

[Ps]: do  one [reply] with duplicate unpleasant my [aub]. When this
tabulation one
within upper bulk has, then [ga] I back [unsubscriben].





[REBOL] Starting Browser from a REBOL Script?? Re:

2000-01-28 Thread tim781

Hi Bad news. Rebol does'nt allow itself to launch
other programs and stuff. They say it would hurt their
cross-platform compatibility. I think their command
version will be able to. ..timmy

[EMAIL PROTECTED] wrote:

 Hello,

 Is it possible to start a browser to display an html file from within a
 REBOL Script???

 For example, the mailview.r script from the REBOL Example Script Library
 creates an html file, but i don't see any way of automatically starting the
 browser to show the data without having to double-click on it (i'm using
 Windows 95).

 Thanks.

 Mike.





[REBOL] Search Engine for Rebol Docs Re:(2)

2000-01-26 Thread tim781

Hi Paul, your site looks great. I've been hoping for
someone to make a simple tutorial for the rebol language.
I've been studying it for sometime and just recently figured out
how to send email with base64 attachments. I had to write my
own because, I still don't completely understand the attach.r
script. I, originally, had to save images in base64 from another
program and then create a custom header and stuff. I finally
learned that once you enbase a binary file, you just have to
put the newline in every 70th. I think that rebol would
quickly become as popular as javascript if the average person
could understand the user.html. It seems to be written for
college graduates. But, most people are'nt that well educated.

..timmy