[REBOL] Telnet protocol scheme weirdness.
From: bga::bug-br::org::br at: 3-Feb-2004 12:07
Hello.
I am using the Telnet protocol scheme to control a telnet session with a
Rebol script. I am having one small problem that I didn't figured out
how to fix:
telnet: open telnet://xxx
[...]
insert telnet #{1B4F42}
The end result is that the above line will send #{1B4F420D0A} to the
server instead of what I wanted it to (#{1B4F42}). I already tried to
change the open line to:
telnet: open/binary telnet://xxx
But it didn't work.
In the Telnet scheme itself, it sets some flags. I wonder if these flags
are right:
port/state/flags: port/state/flags or system/standard/port-flags/direct
or 32 or 2051; No-Wait, BINARY (51) (2048)
port/sub-port/state/flags: port/sub-port/state/flags or 2051 or 32
Thanks in advance for any pointers.
-Bruno