- 17 Sep, 2004 4 commits
-
-
James Crippen,,1-907-332-0270, authored
-
James Crippen,,1-907-332-0270, authored
-
James Crippen,,1-907-332-0270, authored
-
James Crippen,,1-907-332-0270, authored
-
- 05 Mar, 2004 2 commits
- 30 Jan, 2004 3 commits
-
-
james authored
Of course, I still haven't even compiled this so I have no clue whether those even work yet, but who cares.
-
james authored
-
james authored
complex READ-COMMAND which reads a telnet command into a single sequence and returns it. Not finished with READ-COMMAND yet. Also redid READ-CHAR, UNREAD-CHAR to use CL functions directly on stream rather than maintaining our own character unread mechanism. Will make PEEK-CHAR implementation much simpler too. Probably the READ-CHAR should become %READ-CHAR and then a new READ-CHAR which does command processing can wrap around it. Or different names perhaps, but the user shouldn't need to call READ-COMMAND and PROCESS-TELNET-COMMAND directly.
-
- 24 Jan, 2004 1 commit
-
-
james authored
the actual stream, rather than directly inherited from the stream. This means we have to implement all the damned stream functions for it, but oh well. Most of them will just be wrappers anyway. Finished renaming old NVT constants. Now we say +CMD-FOO+ and +OPT-FOO+. Start of work on option and command handling. PROCESS-TELNET-COMMAND does things with IAC sequences. SUBNEGOTIATE-OPTION handles IAC SB ... IAC SE. Example is SUBNEGOTIATE-NAWS-OPTION which puts together NAWS width and height and passes them to a user-supplied support function. There's something wrong with how commands and options are processed, one character at a time. I think it might be better to snarf an entire IAC sequence (maybe two, if we see eg IAC SB) and then process that all at once. This bears consideration. It would certainly allow us to recover cleanly from corruption, and would probably be faster too. Another issue pending is whether the stream should be bytes rather than characters. Using characters could cause problems if Unicode appeared.
-
- 23 Jan, 2004 2 commits
- 22 Jan, 2004 1 commit
-
-
james authored
-