WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] mingetty on console on demo disk

To: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] mingetty on console on demo disk
From: "Barry Silverman" <barry@xxxxxxxxx>
Date: Fri, 12 Mar 2004 00:23:51 -0500
Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 12 Mar 2004 05:25:18 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
Importance: Normal
In-reply-to: <E1B1YJl-0004pl-00@xxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
The problem seems to be that xend doesn't support enough of the telnet
protocol to force the connection into "character mode". At least on my
system, telnet is going into "obsolete line-at-time" mode that has these
nasty interactions like locally echoing the whole command line, trapping
control characters, row wrapping, ....

When I give the telnet escape, followed by the command "mode character", it
behaves much more rationally.

I believe you can work around the problem by having a .telnetrc file with
the "mode character" command in it, but the proper fix would be to a) have
xend give the protocol sequence to force the telnet client into character
mode
or b) use some simpler home brew client that doesn't try to use telnet's
fancy local processing.

Barry Silverman

-----Original Message-----
From: Ian Pratt [mailto:Ian.Pratt@xxxxxxxxxxxx]
Sent: Thursday, March 11, 2004 5:06 PM
To: Barry Silverman
Cc: Ian Pratt; xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] mingetty on console on demo disk



[back on list]

> The xend interface doesn't pass some of the more arcane terminal protocols
> (window resizing, interrupt characters, ...). Are these something hard to
> add?

It's not xend that's the problem, but something in the tty driver
in xenolinux. To be honest, we can't make head nor tail of the
Linux tty code, and have no idea why resizing etc doesn't work.
We're probably just not setting some parameter some
where. However, we appear to be 'bug compatible' with using a
serial console on RH9.

Perhaps someone on xen-devel knows about tty's and could take a
look ???

> Keir mentioned on the list that he was planning to rewrite
> Xend...

That won't effect things, as xend is just an 8bit clean pipe.


Ian



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel