/[cl-telnetd]/cl-telnetd/cl-telnetd.lisp
ViewVC logotype

Log of /cl-telnetd/cl-telnetd.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.7 - (view) (annotate) - [select for diffs]
Fri Mar 5 06:14:49 2004 UTC (10 years, 1 month ago) by james
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +3 -189 lines
Diff to previous 1.6
Moved telnet-stream stuff into its own file.

Revision 1.6 - (view) (annotate) - [select for diffs]
Fri Jan 30 06:20:29 2004 UTC (10 years, 2 months ago) by james
Branch: MAIN
Changes since 1.5: +7 -3 lines
Diff to previous 1.5
Minor changes to ACCEPT-CONNECTION and CYCLE-MASTER-THREAD.

Of course, I still haven't even compiled this so I have no clue whether those
even work yet, but who cares.

Revision 1.5 - (view) (annotate) - [select for diffs]
Fri Jan 30 06:00:28 2004 UTC (10 years, 2 months ago) by james
Branch: MAIN
Changes since 1.4: +63 -60 lines
Diff to previous 1.4
Flushed old READ-CHAR implementation in favor of new simple READ-CHAR and
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.

Revision 1.4 - (view) (annotate) - [select for diffs]
Sat Jan 24 11:08:26 2004 UTC (10 years, 2 months ago) by james
Branch: MAIN
Changes since 1.3: +122 -62 lines
Diff to previous 1.3
Start on implementing Telnet stream for real. It's just a wrapper class around
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.

Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Jan 23 08:45:28 2004 UTC (10 years, 2 months ago) by james
Branch: MAIN
Changes since 1.2: +110 -36 lines
Diff to previous 1.2
More option fiddling. Also complete list of possibly relevant RFC refer-
ences added to header comments. Includes gratuitously crufty ones like
SUPDUP, RCTE, as well as fancy new authentication and encryption stuff.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Jan 23 07:49:26 2004 UTC (10 years, 2 months ago) by james
Branch: MAIN
Changes since 1.1: +61 -44 lines
Diff to previous 1.1
Added many Telnet option and command constants. Still messing with ways to
make TELNET-STREAM do what I want, and trying to figure out what I want.

Revision 1.1.1.1 - (view) (annotate) - [select for diffs] (vendor branch)
Thu Jan 22 16:01:06 2004 UTC (10 years, 2 months ago) by james
Branch: UNLAMBDA
CVS Tags: init
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 , to next main 1.7
Initial import of LTELNETD code.

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Jan 22 16:01:06 2004 UTC (10 years, 2 months ago) by james
Branch: MAIN
Branch point for: UNLAMBDA
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5