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

David Lutterkort lutter at redhat.com
Fri Feb 6 23:22:09 UTC 2009


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

David





More information about the ovirt-devel mailing list