From: Keir Fraser Subject: Re: [RFC PATCH] allow connecting to xenconsole from remote hosts Date: Wed, 06 Sep 2006 19:34:57 +0100 Message-ID: References: <20060906181222.GE9350@rhun.haifa.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060906181222.GE9350@rhun.haifa.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Muli Ben-Yehuda Cc: Jimi Xenidis , xen-devel , Orran Y Krieger List-Id: xen-devel@lists.xenproject.org On 6/9/06 19:12, "Muli Ben-Yehuda" wrote: >> Why is this a problem? In cases where an echo is really not wanted, like in >> a gdb control session, the remote end would not be echoing in the first >> place. > > Hmm, are you saying it's not the pty itself that echo's stuff back at > us, it's whatever is on the other side? (the console daemon or the > domain?). The echoing comes from the domU itself, unless it's running some kind of raw-mode client on the console. A normal getty setup will have echoing. > In any case, I have to admit it hasn't bitten us in practice when > using gdb; either gdb is smart enough to handle this on its own or I'm > missing something. However, supporting --noecho is still nicer from an > aesthetic point of view: compare a console session with and without > --noecho and using telnet on the remote side - without it you get > everything you write echo'd back at you. You mean telnet connected to xenconsole connected to domU? You should run the telnet in raw mode. Problem solved. -- Keir