[REBOL] REBOL and w@p Re:(2)

2000-04-26 Thread Petr . Krenzelok



[EMAIL PROTECTED] wrote:

> Pet/kr,
>
> Are you using Rebol to convert .html to .wml or ?

Yes, actually - not work of mine, credits go to Johnny T. Nielsen. You would
be surprised - very short script :-) Will have to rewrite parser to include
some s to improve output ...

-pekr-

>
>
> Thanks for the url,
> Steve Shireman
>
> [EMAIL PROTECTED] wrote:
> >
> > For those interested, there is now Czech Amiga News in w@ap format
> > available. You can go to http://www.gelon.net and type in following url:
> > http://www.rebol.cz/can/news.wml
> >
> > Enjoy!
> >
> > -pekr-




[REBOL] Varibles in strings? Re:

2000-04-26 Thread Al . Bri

Doug wrote:
> Hello, I know I've seen how to do this somewhere but can't remember for
the life of me.  I need to know how to include a variable in a string.
>
> Example:
> Message {Active stocks for exchange (where exchange is a variable)
> Toronto (Another variable containing market data)
> Rest of message body included below}
>
> All variables contain strings and numbers.
> Thanks in advance for any help.

Try 'join and 'form, and 'rejoin and 'reform. For example:

StockPrice: 12.3

print rejoin [
"Message to Toronto: " StockPrice
]

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




[REBOL] Varibles in strings?

2000-04-26 Thread dlawlor


Hello, I know I've seen how to do this somewhere but can't remember for the
life of me.  I need to know how to include a variable in a string.  

Example:
Message {Active stocks for exchange (where exchange is a variable)
Toronto (Another variable containing market data)
Rest of message body included below}

All variables contain strings and numbers.  
Thanks in advance for any help.

Doug




[REBOL] REBOL and w@p Re:

2000-04-26 Thread mailinglists

That's so cool, Pekr!

Rachid

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 26, 2000 13:24
Subject: [REBOL] REBOL and w@p


For those interested, there is now Czech Amiga News in w@ap format
available. You can go to http://www.gelon.net and type in following url:
http://www.rebol.cz/can/news.wml

Enjoy!

-pekr-




[REBOL] REBOL and w@p Re:

2000-04-26 Thread steve . shireman

Pet/kr,

Are you using Rebol to convert .html to .wml or ?

Thanks for the url,
Steve Shireman

[EMAIL PROTECTED] wrote:
> 
> For those interested, there is now Czech Amiga News in w@ap format
> available. You can go to http://www.gelon.net and type in following url:
> http://www.rebol.cz/can/news.wml
> 
> Enjoy!
> 
> -pekr-




[REBOL] REBOL and e-commerce Re:

2000-04-26 Thread Petr . Krenzelok



[EMAIL PROTECTED] wrote:

> One of the things that attracts me to REBOL is its easy facilitation of
> e-commerce applications. I invite everyone to check out my company's "Search
> Elephant" for our book catalog at http://abooks.com/catalog. I wrote it in
> one evening (last night actually) and published it to the net. All the
> search functions are handled by just a few lines in REBOL. (You will note I
> gave REBOL a big plug.)
>
> Of course, it would be uncivil of me to just brag about the neat ap I wrote
> without telling you HOW it works. It's pretty trival; the real headache is
> getting the HTML commands to format right--nothing to do with the REBOL
> code, HTML is just a pain on good days.
>
> I'll be publishing more complete details soon but this search (and any
> online search) program requires two components--a way to get the search term
> into REBOL; and a place for REBOL to get the data to compare against. Until
> REBOL/Command arrives (*pant, drool*) and we can query databases like mySQL,
> the simple method is a plain old textfile (flat database).

Excuse me, but what do you expect? It's commonly known, /Command supports only
ODBC. Is there ODBC driver for mySQL available under Linux? However, I've heard
my SQL is listening on some port, so you could probably do some connection with
/Core too, if enough info to the topic is available. I would also suggest you
/Apache, if you are using linux - should handle things much faster than CGI.

> Meanwhile, enjoy. REBOL truly is Perl without the complication.

That's it :-)

-pekr-

>
>
> --Ralph Roberts




[REBOL] REBOL and w@p

2000-04-26 Thread Petr . Krenzelok

For those interested, there is now Czech Amiga News in w@ap format
available. You can go to http://www.gelon.net and type in following url:
http://www.rebol.cz/can/news.wml

Enjoy!

-pekr-




[REBOL] REBOL and e-commerce

2000-04-26 Thread ralph

One of the things that attracts me to REBOL is its easy facilitation of
e-commerce applications. I invite everyone to check out my company's "Search
Elephant" for our book catalog at http://abooks.com/catalog. I wrote it in
one evening (last night actually) and published it to the net. All the
search functions are handled by just a few lines in REBOL. (You will note I
gave REBOL a big plug.)

Of course, it would be uncivil of me to just brag about the neat ap I wrote
without telling you HOW it works. It's pretty trival; the real headache is
getting the HTML commands to format right--nothing to do with the REBOL
code, HTML is just a pain on good days.

I'll be publishing more complete details soon but this search (and any
online search) program requires two components--a way to get the search term
into REBOL; and a place for REBOL to get the data to compare against. Until
REBOL/Command arrives (*pant, drool*) and we can query databases like mySQL,
the simple method is a plain old textfile (flat database).

We pass the search term to REBOL via an HTML form using the 'get' method:




Search Booklist:
  




The HTML form calls the REBOL script (in my case, booksearch-title.r). The
script gets the search term from the from via:

data: decode-cgi system/options/cgi/query-string
searchtitle: data/2

The second line above is necessary because REBOL receives form information
as a block value; I'm just pulling out the value that contains the actual
search term.

Now we get the database (i.e. textfile):

a: read/lines %/catalog/booklist.txt

You might want to put your datafile in a non-web accessible area of your
server just for security reasons, as I did above.

Now, we have both the search term and the database to be searched in REBOL.
In my case, I have a text file with three kinds of lines--category names;
lines with title, author, isbn, publisher, price; and lines that contain
descriptions of books. I use loops and parsing to determine the type of line
and how to handle it for output back to HTML, letting the REBOL script
constuct the search results page.

I should mention that your database, if large, can exceed memory space. Use
the technique:

 a: open/lines %textfile.txt

This creates a port to the file instead of pulling the whole thing into
memory. Remember to close it when done.

Hope this general technique proves of use to it. ... As already stated, I'll
be publishing more detailed database and other REBOL techniques later. Maybe
even in a book, when I can announce it.

Meanwhile, enjoy. REBOL truly is Perl without the complication.

--Ralph Roberts





[REBOL] proxy setting Re:(3)

2000-04-26 Thread ryanc

Unfortuneately I never played with sock5, but I understand that it may require a
username and password. Its probably a good idea to find out for sure what proxy
version your connecting to. Sometimes those net admin folks like to use
different ports to be cute, so you might check to see which ones your browser
uses. If you use DNS names you might try using IP's instead, incase there is
somehow an issue with your DNS.

FYI, this is how I setup REBOL for my network...

set-net [[EMAIL PROTECTED] mail.pacific.net mail.pacific.net 10.65.
95.9 1080 socks4]

If I was on socks5 and had to enter a password I might try...

set-net [[EMAIL PROTECTED] mail.pacific.net mail.pacific.net
ryanc:[EMAIL PROTECTED]
95.9 1080 socks5]

but thats just a guess, that may not work at all.

--Ryan

[EMAIL PROTECTED] wrote:

> i think that we use socks5 but a try 4,5 and generic and nothing
> Filip
>
> Filip ©UBR
> Programátor
> Syscom Software spol. s r. o.
> Kytlická 758/23, 190 00,  Praha 9
> e-mail:[EMAIL PROTECTED]
> tel: 02 / 689 78 80
> fax: 02 / 697 89 61
> http://www.ssw.cz
>
> > -Pùvodní zpráva-
> > Od:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> > Odesláno: 25. dubna 2000 19:09
> > Komu: [EMAIL PROTECTED]
> > Pøedmìt:  [REBOL] proxy setting Re:
> >
> > I use a Socks 4 proxy, it set right up first shot. What type of proxy do
> > you
> > use, what have you tried, etc.
> >
> > Have you tried
> > system/schemes/default/proxy/type: 'socks4
> > or whatever type of proxy your using?
> >
> > --Ryan
> >
> > [EMAIL PROTECTED] wrote:
> >
> > > hello,
> > > please help me.
> > > i can not set up my proxy setting
> > > i read how-to's, user guide , check browser setting and it still did not
> > > work.
> > > what is the problem?
> > >
> > > Filip




[REBOL] unsubsribe - New popular commands for SELMA Re:(3)

2000-04-26 Thread ralph

Well, gee, we don't want the UNSUBSCRIBE command to be TOO popular, huh?

As to stripping HTML, that's fine but why go outside of REBOL? The parse
function would handle that beautifully.

--Ralph Roberts

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 26, 2000 12:21 PM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] unsubsribe - New popular commands for SELMA Re:(2)
>
>
> On 00-04-26 09:32 +0300 writes [EMAIL PROTECTED]:
>
> > What about new popular commands for the SELMA:
> > unsubsribe,
> > unsubscibe,
> > unsubscrib
> > and more variants ... <:)
>
>
>   yeah, and while we're at it, pipe every outgoing msg
>   thru Lynx or similar, or strip HTML coding in some other
>   fashion. We need it here like I don't know plain/text.
>
>
> __Ian (also submitted with the 'suggest' command in subject)
>
>
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > #1 Basically in a nutshell, what does Rebol/Command
> > do?
>





[REBOL] unsubsribe - New popular commands for SELMA Re:(2)

2000-04-26 Thread ianf

On 00-04-26 09:32 +0300 writes [EMAIL PROTECTED]:

> What about new popular commands for the SELMA:
> unsubsribe,
> unsubscibe,
> unsubscrib
> and more variants ... <:)


  yeah, and while we're at it, pipe every outgoing msg
  thru Lynx or similar, or strip HTML coding in some other
  fashion. We need it here like I don't know plain/text.


__Ian (also submitted with the 'suggest' command in subject)


> 
> 
> 
> 
> 
> 
> 
> #1 Basically in a nutshell, what does Rebol/Command 
> do?





[REBOL] Rebol/Command & Sherman Re:(3)

2000-04-26 Thread chaz

Joe Marshall was working on a compiler based on Rebol 1.0 (the current
version is 2.2.0.3.1) I don't know what became of it.
http://www.greenspun.com/bboard/q-and-a-fetch-msg.tcl?msg_id=000VTm

At 09:28 AM 4/26/00 +0100, you wrote:
>[EMAIL PROTECTED] wrote:
>> [EMAIL PROTECTED]  wrote:
>>> # 2 Does anyone know of or have a REBOL compiler, I know of one called
>> Sherman, but am unable to locate it.
>> 
>>There's Sherman. And that's about all, I believe.
>
>What's that? I don't know much about compiler technology, but REBOL seems
>quite impossible to compile.. :)
>
>-- 
>  /Johan Rönnblom, Team Amiga
>
>In a recent survey, it was found that only 16% of people are normal.
>
>
>




[REBOL] IMAP protocol

2000-04-26 Thread maxim

Hi!

May I use the IMAP- protocol with REBOL?

Best regards,
Maxim





[REBOL] unsubsribe - New popular commands for SELMA Re:

2000-04-26 Thread maxim

Hello,

What about new popular commands for the SELMA:
unsubsribe,
unsubscibe,
unsubscrib
and more variants ... <:)

Rebol it's a power!




Best regards,
 Maxim





[REBOL] IP reading enhancement, WAS: Searchable archive/ tcp/ip questions Re:(9)

2000-04-26 Thread t_degrav

Hi,

If you can have the remote machine mail you, every of it's mails
may already include the IP. Just have a look at the complete headers
of one of it's mails, the 'received' fields contain the route that
mail took through the net, starting with the sending machine (your
remote computer) and... it's IP!

Tom



[EMAIL PROTECTED] wrote:
> 
> > I also need to Know the IP numbers of my adapters on my machine .
> 
> Whether they are Serial PPP or Ethernet or any other type of adapter.
> On some of my Linux servers that are routing I have 4 ethernet adapters and
> I would
> very much like to be able to call the numbers up.
> I have a remote headless server running on ADSL in another town, and
> if it gets restarted the IP gets changed so that all my links to it won't
> work.
> Having the machine Email me its new IP would save me a lot of hassle
> doing a port scan of a bunch of class C's looking for its new home..
> Thanks
> Bill
> 
> >
> >
> > Unfortunately in REBOL/Core 2.2 the FTP implementation uses local IP
> > addresses
> > in such an incorrect way, which is causing problems for some users. The
> > correct
> > thing is not to change the way REBOL determines the local IP address,
> > but rather
> > to fix the protocols so they do not need to know local IP addresses at
> > all :-).
> > FTP in REBOL/View does it correctly, and the fix will also be in the
> > next /Core
> > release.
> >
> > --
> > Holger Kruse
> > [EMAIL PROTECTED]




[REBOL] REBOL/??? Re:

2000-04-26 Thread Petr . Krenzelok



[EMAIL PROTECTED] wrote:

> Thank you for filling us in on the REBOL/command situation, and I might
> speculate that all of us are drooling in anticipation of its release--in
> any state.
>
> I did notice however that Carl mentioned REBOL/author and /view? Could
> we be blessed with a minimum description of these? I am beginning to
> lose sleep due to the burning curiuosity over the matter, and I am sure
> others have begun to show symptoms as well.

We (testers) can't say too much, but from what is generally known:

REBOL/View is REBOL with ability to create GUIs in a very nice and easy way.
REBOL/Author is not out yet, and don't know what exact purpose it should
server 

-pekr-

>
>
> --Ryan Cole




[REBOL] Rebol/Command & Sherman Re:(2)

2000-04-26 Thread Petr . Krenzelok



[EMAIL PROTECTED] wrote:

> [EMAIL PROTECTED]  wrote:
> > #1 Basically in a nutshell, what does Rebol/Command do?
>
> Lots of stuff, Database interaction, Operating System access and
> DLL/External code library access. But to know more you'll have to get
> REBOL/Command from the very nice people at REBOL and read the users.html
> file included in the .zip distribution for Windows.
>
> > # 2 Does anyone know of or have a REBOL compiler, I know of one called
> Sherman, but am unable to locate it.
>
> There's Sherman. And that's about all, I believe.

Sherman was compiler mady by former RT emloyee - Joe Marshall. It was done
for REBOL 1.x, but because of no further interest in it was discontinued.
Maybe Joe is still monitoring the list, as he contacted me some time ago,
once I mentioned Sherman here 

-pekr-

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




[REBOL] Re: Rebol/Command & Sherman Re:

2000-04-26 Thread jrblom

[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED]  wrote:
>> # 2 Does anyone know of or have a REBOL compiler, I know of one called
> Sherman, but am unable to locate it.
> 
>There's Sherman. And that's about all, I believe.

What's that? I don't know much about compiler technology, but REBOL seems
quite impossible to compile.. :)

-- 
  /Johan Rönnblom, Team Amiga

In a recent survey, it was found that only 16% of people are normal.





[REBOL] Rebol/Command & Sherman Re:

2000-04-26 Thread Al . Bri

[EMAIL PROTECTED]  wrote:
> #1 Basically in a nutshell, what does Rebol/Command do?

Lots of stuff, Database interaction, Operating System access and
DLL/External code library access. But to know more you'll have to get
REBOL/Command from the very nice people at REBOL and read the users.html
file included in the .zip distribution for Windows.

> # 2 Does anyone know of or have a REBOL compiler, I know of one called
Sherman, but am unable to locate it.

There's Sherman. And that's about all, I believe.

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