On Mon, Mar 16, 2015 at 02:37:58PM -0700, Philip Guenther wrote:
> On Mon, 16 Mar 2015, Ryan Freeman wrote:
> > After updating to a March 8th snapshot (and i think a few snaps before)
> > the /usr/bin/telnet binary seems to be doing something different.
> > 
> > While i can connect to our access server here at $WORK, I can't get it
> > to properly respond to the usual
> > "Press RETURN to get started!" prompt.  Normally, of course, hitting
> > return continues on and brings up the IOS prompt.
> > 
> > I noticed a few other devices on console server that normally wake up
> > after connection + hitting return just don't wake up.
> > 
> > my only work-around at the moment is using kermit, but this doesn't work
> > very well with the tcl/expect-based tool i've been working on that uses
> > vanilla telnet :(
> > 
> > The previous release this machine ran was just 5.6-stable.
> > Having a look at the cvs log for telnet shows it went through quite a bit
> > of cleanup over the last 7 months (or rather, 7 months ago) so I'm not
> > sure where to look at first, any pointers?
> 
> The output of connecting then doing
>       ^]
>       display
> 
> with both a working and non-working binary would help.
> 
> If that was your only 5.6 machine, I believe the 5.6 source for telnet 
> (checkout the tag OPENBSD_5_6) will build once you add
>       #include <sys/param.h>
> to commands.c

Thanks Philip!

Non-working: (5.7 mar 8 snap)
Escape character is '^]'.

Password OK

telnet> display
will flush output when sending interrupt characters.
won't send interrupt characters in urgent mode.
won't send login name.
won't skip reading of ~/.telnetrc file.
won't map carriage return on output.
will recognize certain control characters.
won't turn on socket level debugging.
won't print hexadecimal representation of network traffic.
won't print user readable output for "netdata".
won't show option processing.
won't print hexadecimal representation of terminal traffic.

echo            [^E]
escape          [^]]
rlogin          [off]
tracefile       "(standard output)"
flushoutput     [^O]
interrupt       [^C]
quit            [^\]
eof             [^D]
erase           [^?]
kill            [^U]
lnext           [^V]
susp            [^Z]
reprint         [^R]
worderase       [^W]
start           [^Q]
stop            [^S]
forw1           [off]
forw2           [off]
ayt             [^T]
     DO   ECHO
     DO   SUPPRESS GO AHEAD
     WILL TERMINAL TYPE
     WILL NAWS


Working: (5.6-release stock)
Escape character is '^]'.

Password OK

kcvoiplab>
telnet> display
will flush output when sending interrupt characters.
won't send interrupt characters in urgent mode.
won't send login name.
won't skip reading of ~/.telnetrc file.
won't map carriage return on output.
will recognize certain control characters.
won't turn on socket level debugging.
won't print hexadecimal representation of network traffic.
won't print user readable output for "netdata".
won't show option processing.
won't print hexadecimal representation of terminal traffic.

echo            [^E]
escape          [^]]
rlogin          [off]
tracefile       "(standard output)"
flushoutput     [^O]
interrupt       [^C]
quit            [^\]
eof             [^D]
erase           [^?]
kill            [^U]
lnext           [^V]
susp            [^Z]
reprint         [^R]
worderase       [^W]
start           [^Q]
stop            [^S]
forw1           [off]
forw2           [off]
ayt             [off]
     DO   ECHO
     DO   SUPPRESS GO AHEAD
     WILL TERMINAL TYPE
     WILL NAWS




> 
> 
> Philip Guenther
> 

Reply via email to