diff options
author | Frank Durda IV <uhclem@FreeBSD.org> | 1997-10-08 03:14:34 +0000 |
---|---|---|
committer | Frank Durda IV <uhclem@FreeBSD.org> | 1997-10-08 03:14:34 +0000 |
commit | bf7bcc34e1382978af92186f1fe8735f69e17ca8 (patch) | |
tree | 4facb04c4bd20d4625ce5a29a89a5feae62ac205 /crypto | |
parent | f05011e6861df239f9cadb1cd5f1da3492f7769a (diff) | |
download | src-bf7bcc34e1382978af92186f1fe8735f69e17ca8.tar.gz src-bf7bcc34e1382978af92186f1fe8735f69e17ca8.zip |
Notes
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/telnet/telnetd/telnetd.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/crypto/telnet/telnetd/telnetd.c b/crypto/telnet/telnetd/telnetd.c index 6e09ab46ca7f..805047d2a273 100644 --- a/crypto/telnet/telnetd/telnetd.c +++ b/crypto/telnet/telnetd/telnetd.c @@ -192,6 +192,22 @@ main(argc, argv) progname = *argv; + /* + * This initialization causes linemode to default to a configuration + * that works on all telnet clients, including the FreeBSD client. + * This is not quite the same as the telnet client issuing a "mode + * character" command, but has most of the same benefits, and is + * preferable since some clients (like usofts) don't have the + * mode character command anyway and linemode breaks things. + * The most notable symptom of fix is that csh "set filec" operations + * like <ESC> (filename completion) and ^D (choices) keys now work + * in telnet sessions and can be used more than once on the same line. + * CR/LF handling is also corrected in some termio modes. This + * change resolves problem reports bin/771 and bin/1037. + */ + + linemode=1; /*Default to mode that works on bulk of clients*/ + #ifdef CRAY /* * Get number of pty's before trying to process options, |