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-api

Re: [Xen-API] strange bug with xe and bash

To: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Subject: Re: [Xen-API] strange bug with xe and bash
From: Mike McClurg <mike.mcclurg@xxxxxxxxxx>
Date: Sat, 3 Sep 2011 18:21:48 +0100
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 03 Sep 2011 10:21:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3EB78D0C-9076-4EF9-BE2A-A436E6F6D56A@xxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <1314173793.4656.8.camel@mabase> <4E62221B.8040004@xxxxxxxxxx> <3EB78D0C-9076-4EF9-BE2A-A436E6F6D56A@xxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110807 Icedove/5.0
On 09/03/2011 06:20 PM, Dave Scott wrote:
Hi,

Looking back through the code history it seems that xe is saving and restoring 
console state as a workaround for a bug where a subprocess was inheriting the 
terminal, failing and leaving it in a bad state. We've tidied up our subprocess 
handling since then and I can no longer reproduce the original problem (the 
original report was from 2007)

Therefore I've removed this workaround from xe - see xen-api pull request 334. Assuming 
the change builds and passes basic tests, i'll merge to master. With this change "xe 
vm-list | less" works as I would expect.
Awesome!
Perhaps in the future we should make "xe" behave like "git" -- I like the way 
it detects that it's running on a terminal and runs the output through your configured pager.

Yes, I second this ;)

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

<Prev in Thread] Current Thread [Next in Thread>