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

RE: escape sequences/telnet

McCanta, Jay mccantaj@amgen.com
Wed, 27 Apr 2005 08:35:11 -0700 (PDT)


Argh...  That was the problem.  The system was using an older 7.x version.
Tested with the 8.1.11 and its working well. 

Jay McCanta
Senior Systems Administrator
Amgen, Inc.
1201 Amgen Ct. West
Seattle, WA  98119
206-265-8335

-----Original Message-----
From: users-bounces@conserver.com [mailto:users-bounces@conserver.com] On
Behalf Of Bryan Stansell
Sent: Wednesday, April 27, 2005 8:25 AM
To: 'users@conserver.com'
Subject: Re: escape sequences/telnet

what version are you running?  i made a conscious effort to remove any
"chopping" of the data so that if the client reads N characters from the
user (in a single read()), then it passes all the way from client code
out server code as a N character write() out the other end.

i just did a simple test with 8.1.11 on solaris and the debug log shows:

[Wed Apr 27 08:04:19 2005] conserver (9106): DEBUG: [cutil.c:1143]
FileRead(): read `^[OR' from fd 6
[Wed Apr 27 08:04:19 2005] conserver (9106): DEBUG: [group.c:3809] Kiddie():
wbuf=^[OR^@
[Wed Apr 27 08:04:19 2005] conserver (9106): DEBUG: [cutil.c:1191]
FileWrite(): sending `^[OR' to fd 5
[Wed Apr 27 08:04:22 2005] conserver (9106): DEBUG: [cutil.c:1143]
FileRead(): read `^[OR' from fd 6
[Wed Apr 27 08:04:22 2005] conserver (9106): DEBUG: [group.c:3809] Kiddie():
wbuf=^[OR^@
[Wed Apr 27 08:04:22 2005] conserver (9106): DEBUG: [cutil.c:1191]
FileWrite(): sending `^[OR' to fd 5

i was connected to a web server (hey, it's a tcp port) and you can see
it being read from the client port (fd 6) and sent to the "console" (fd
5).  i hit the key twice, hence the double output.

so, if you're using 8.1.11 and seeing issues, try running conserver with
-DDD and lets look at some of the output like above.  if you're not
using 8.1.11, upgrade.  i don't know when things got fixed, exactly, but
it looks like it is.

Bryan

On Tue, Apr 26, 2005 at 06:15:01PM -0700, McCanta, Jay wrote:
> I have some IBM x330's and the serial redirection of the BIOS is very
> sensitive.  The systems are connected to an Equinox terminal server.  In
> order for F1, arrow keys, etc to work, I have to use "|telnet" instead of
> being able to talk to the terminal server directly.  With ethereal, I
found
> that telnet sends the  <ESC>[B all three characters go in one packet.
When
> conserver does it, the <ESC> goes in a packet and then the [B goes in
> another packet.  Is this by design?  Is there a way around it?  If I were
to
> have to customize code, where might I look (console.c line ~1251)?  I am
> trying to avoid having over 150 telnet processes on a box that is pretty
> maxed out.
> 
>  
> 
> Jay McCanta
> 
> Amgen Washington
> 
> 206-265-8335
> 
>  
> 

> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users

_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users