Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 1995 09:00:29 PDT
From:      Bill Fenner <fenner@parc.xerox.com>
To:        uhclem%nemesis@fw.ast.com (Frank Durda IV)
Cc:        freebsd-bugs@freefall.freebsd.org
Subject:   Re: bin/771: telnet - FDIV035 
Message-ID:  <95Oct10.090037pdt.177475@crevenia.parc.xerox.com>
In-Reply-To: Your message of "Mon, 09 Oct 95 18:30:01 PDT." <199510100130.SAA00868@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199510100130.SAA00868@freefall.freebsd.org> Garrett wrote:
> The problems you report are very likely due to broken option
> negotiation on the part of the server TELNET, particularly for mode
> (3) which a lot of implementations have wrong or obsolete versions of
> if they implement it at all.

Using a -stable sup'd on saturday, I can telnet to myself and duplicate
Frank's problem #2 (related to control-D).  It doesn't happen when connecting
from -stable to a SunOS 4.1.3 box.

  Bill

(To self:

Trying 13.0.208.199...
Connected to fenestro.parc.xerox.com.
Escape character is '^]'.
SENT DO ENCRYPT
SENT WILL ENCRYPT
SENT DO SUPPRESS GO AHEAD
SENT WILL TERMINAL TYPE
SENT WILL NAWS
SENT WILL TSPEED
SENT WILL LFLOW
SENT WILL LINEMODE
SENT WILL NEW-ENVIRON
SENT DO STATUS
SENT WILL XDISPLOC
RCVD DO AUTHENTICATION
SENT WONT AUTHENTICATION
RCVD WILL ENCRYPT
SENT IAC SB ENCRYPT SUPPORT 
RCVD DO ENCRYPT
RCVD IAC SB ENCRYPT SUPPORT 
RCVD WILL SUPPRESS GO AHEAD
RCVD DO TERMINAL TYPE
RCVD DO NAWS
SENT IAC SB NAWS 0 80 (80) 0 24 (24)
RCVD DO TSPEED
RCVD DO LFLOW
RCVD DO LINEMODE
SENT IAC SB LINEMODE SLC SYNCH DEFAULT 0; IP VARIABLE|FLUSHIN|FLUSHOUT 3; AO VARIABLE 15; AYT NOSUPPORT 255; ABORT VARIABLE|FLUSHIN|FLUSHOUT 28; EOF VARIABLE 4; SUSP VARIABLE|FLUSHIN 26; EC VARIABLE 8; EL VARIABLE 21; EW VARIABLE 23; RP VARIABLE 18; LNEXT VARIABLE 22; XON VARIABLE 17; XOFF VARIABLE 19; FORW1 NOSUPPORT 255; FORW2 NOSUPPORT 255;
SENT DO SUPPRESS GO AHEAD
RCVD IAC SB LINEMODE MODE EDIT|TRAPSIG
SENT IAC SB LINEMODE MODE EDIT|TRAPSIG|ACK
RCVD DO NEW-ENVIRON
RCVD WILL STATUS
RCVD DO XDISPLOC
RCVD DO OLD-ENVIRON
SENT WONT OLD-ENVIRON
RCVD IAC SB TERMINAL-SPEED SEND
SENT IAC SB TERMINAL-SPEED IS 9600,9600
RCVD IAC SB X-DISPLAY-LOCATION SEND
SENT IAC SB X-DISPLAY-LOCATION IS "fenestro.parc.xerox.com:0.0"
RCVD IAC SB NEW-ENVIRON SEND 
SENT IAC SB NEW-ENVIRON IS VAR "DISPLAY" VALUE "fenestro.parc.xerox.com:0.0"
RCVD IAC SB TERMINAL-TYPE SEND
SENT IAC SB TERMINAL-TYPE IS "XTERM"
RCVD DO ECHO
SENT WONT ECHO
RCVD WILL ECHO
SENT DO ECHO
RCVD IAC SB TOGGLE-FLOW-CONTROL RESTART-ANY
RCVD DO BINARY
SENT WILL BINARY
RCVD WONT ECHO
SENT DONT ECHO
RCVD IAC SB LINEMODE SLC SYNCH NOSUPPORT 0; EC VARIABLE|ACK 8;
SENT IAC SB LINEMODE SLC SYNCH NOSUPPORT|ACK 0;

   FreeBSD (fenestro.parc.xerox.com) (ttyp6)

login: fenner
RCVD IAC SB ENCRYPT REQUEST-START
RCVD WILL ECHO
SENT DO ECHO
Password:
RCVD IAC SB ENCRYPT REQUEST-END
RCVD WONT ECHO
SENT DONT ECHO
Last login: Tue Oct 10 08:44:58 from fenestro
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.   All rights reserved.

FreeBSD 2.1-STABLE (FENESTRO) #3: Sun Oct  8 16:07:26 PDT 1995

You have mail.
RCVD IAC SB LINEMODE SLC EC VARIABLE 127;
SENT IAC SB LINEMODE SLC EC VARIABLE|ACK 127;
Matter cannot be created or destroyed, nor can it be returned without a
RCVD IAC SB LINEMODE SLC FORW1 VARIABLE 27;
SENT IAC SB LINEMODE SLC FORW1 VARIABLE|ACK 27;
receipt.
% ls /bin/^D

I hit ^D, it echoed and didn't try to do filename completion; it also
nuked someone's idea of what was in the line buffer, since if I hit ^R a
couple of times, I see:

% ls /bin/^R
^R

but if I hit enter, the "ls /bin/" works.

If I hit ^D after the ^R's, it gets even more interesting:

ls /bin/^R
^R
SENT IAC EOF

[*          dd*         hostname*   pax*        rmail*      test*
cat*        df*         kill*       ps*         rmdir*      
chmod*      domainname* ln*         pwd*        sh*         
cp*         echo*       ls*         rcp*        sleep*      
csh*        ed*         mkdir*      red*        stty*       
date*       expr*       mv*         rm*         sync*       
%

i.e. it actually does the filename expansion (but doesn't reprint the
command).

Neat.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95Oct10.090037pdt.177475>