open pop port
[1/5] from: louisaturk:coxinet at: 16-May-2003 1:18
Hi rebols,
** Access Error: Cannot connect to coxinet
** Where: open-proto
** Near: open pop://[username--coxinet]:[passoword--pop--coxmail--com]
The problem is that cox requires the complete email address for user ID. I
thought I conquered this problem before, but...
How do I fix this?
Louis
[2/5] from: petr::krenzelok::trz::cz at: 16-May-2003 8:59
Louis A. Turk wrote:
> Hi rebols,
> ** Access Error: Cannot connect to coxinet
<<quoted lines omitted: 4>>
> How do I fix this?
> Louis
very simply - dilema between practical usability and standards. I
remember Holger stating that using @ char for username is not valid. I
would prefer if RT would act in a more practical way and such char was
allowed in a parser, to prevent problems as yours ...
add following lines into your user.r file and you are done:
net-utils/url-parser/user-char: union net-utils/url-parser/user-char
make bitset! #"@"
; ... and if you want to allow # char to be used in path part
net-utils/url-parser/path-char: union net-utils/url-parser/path-char
make bitset! #"#"
hopet-this-helps,
cheers,
-pekr-
[3/5] from: ingo:2b1 at: 16-May-2003 9:32
Hi Louis,
to ideas spring to my mind
- escape the first #"@" by %40 (I'm not sure if this works)
open pop://username%40coxinet:[passoword--pop--coxmail--com]
- use a port block:
open [ scheme: 'pop user: "[username--coxinet]" pass: "passoword"
url: "pop.coxmail.com]
I hope that helps,
Ingo
Louis A. Turk wrote:
[4/5] from: g:santilli:tiscalinet:it at: 16-May-2003 9:45
Hi Petr,
On Friday, May 16, 2003, 8:59:55 AM, you wrote:
>> ** Near: open pop://[username--coxinet]:[passoword--pop--coxmail--com]
PK> net-utils/url-parser/user-char: union net-utils/url-parser/user-char
PK> make bitset! #"@"
If you want to avoid this (could possibly in theory create
problems), you can always use:
open [
scheme: 'pop
user: "[username--coxinet]"
pass: "password"
host: "pop.coxmail.com"
]
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r
[5/5] from: louisaturk:coxinet at: 16-May-2003 17:30
Petr, Ingo, and Gabriele,
Many thanks. I remember now that Graham once showed me how to do this
also. So, thanks to him also.
Louis
At 09:45 AM 5/16/2003 +0200, you wrote:
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted