Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc - telnet



On Thu, 29 Jul 1999, Dave Sainty wrote:

> David Brownlee writes:
> 
> > Module Name:        basesrc
> > Committed By:       abs
> > Date:               Wed Jul 28 06:35:16 UTC 1999
> > 
> > Modified Files:
> >     basesrc/usr.bin/telnet: commands.c externs.h main.c telnet.1 telnet.c
> > 
> > Log Message:
> > Add -N option (numeric host address) - idea taken from FreeBSD.
> > Fix bug where -E8 would still pick up 0xFF as escape (again from FreeBSD)
> 
> This sounds strange.  Even when binary mode has been negotiated, 0xff
> still needs to be treated as an escape.  Binary mode doesn't disable
> telnet protocol encapsulation of the data, it just modifies the
> interpretation of the data.
> 
        It is -E that changes that here:
             -E      Stops any character from being recognized as an
                     escape character.

> There should be escape handling for 0xff in both directions regardless
> of whether binary mode is on or off...

        Just to confirm - this is 'escape back to telnet> prompt'
        character :)

                David/absolute

         -=-  "There will not be a send-off, a funeral or mass"  -=-






Home | Main Index | Thread Index | Old Index