[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] strange bug with xe and bash
On 08/24/2011 09:16 AM, George Shuklin wrote: Good day. Found incredibly strange and amazing bug. If this command issued: echo $(xe host-list name-label=$(hostname) ) | cat bash displays: [1]+ Stopped I don't press Ctrl-Z, it happens by itself. This works in bash, don't work in csh. This happens irregularly (2-3 times going background, 1-2 times not). You can replace 'hostname' and 'cat' with any other commands - only xe in middle does matter. If 'hostname' replaced by text bug not appear. I could not say I really it bother me, but it really strange. What happens? Yes, I've noticed this too. This has to do with the way that xe is grabbing the terminal. You may have also noticed this same problem when you pipe xe output to less. When you pipe to less, you have to hit enter after every keypress, instead of less recognising keypreses as they occur. You can work around this by doing something like this: 'cat /dev/null | xe <command> | less'. Mike _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |