[Ovirt-devel] [PATCH node-image] Set "linux" as the terminal type.

Perry Myers pmyers at redhat.com
Sat Feb 7 01:59:14 UTC 2009


David Lutterkort wrote:
> On Fri, 2009-02-06 at 17:51 -0500, Perry Myers wrote:
>> Jeremy Katz wrote:
>>> On Friday, February 06 2009, Darryl L. Pierce said:
>>>> Creates /home/.bash_profile and exports the TERM environment variable.
>>> If root logs in from some other terminal type (say, an xterm) over ssh,
>>> this is going to break.
>> Hmm, what should we set term to then?  The problem I've been having is 
>> that when sshing from gnome-terminal to a Node I get problems because TERM 
>> is set to xterm and w/ that it doesn't like top, vi, etc...  Setting to 
>> linux seems to clear that up.
> 
> The problem is that we are too good at cleaning out /usr/share/terminfo
> 
> If you leave /usr/share/terminfo/x/xterm in the node image (or scp it
> over after the node started), everything works with TERM=xterm. And the
> file is only 3k ...

heh. I should have read your msg first :)  Ok, we'll change to selectively 
remove files from /usr/share/terminfo rather than just removing the entire 
directory...

Perry




More information about the ovirt-devel mailing list