Skip to contentSkip to conversation

pygrub launched from xend and $TERM

DISCUSSION John Levon 3 participants 5 messages Jan 31, 2007 – Feb 1, 2007

lore
Share & tools
lore

John Levon

author
#0 lore raw

Now that xend launches pygrub, it no longer picks up the user's $TERM setting. This is fatal on Solaris where TERM isn't set, but it also seems wrong on Linux.

regards
john

#1 lore raw
Quoted 3 lines · John Levon

Now that xend launches pygrub, it no longer picks up the user's $TERM setting. This is fatal on Solaris where TERM isn't set, but it also seems wrong on Linux.

Any suggestions? We can't know what terminal type xenconsole is going to be running at before it attaches. :( We could set some sensible (and, if you like, architecture-dependent) default value.

Cheers,

Tim.

#2 lore raw

How about VT100 on Solaris and 'linux' or VT100 on Linux?

Peace.
Andrew

Quoted 17 lines · Tim Deegan
Quoted 3 lines · John Levon

Now that xend launches pygrub, it no longer picks up the user's $TERM setting. This is fatal on Solaris where TERM isn't set, but it also seems wrong on Linux.

Any suggestions? We can't know what terminal type xenconsole is going to be running at before it attaches. :( We could set some sensible (and, if you like, architecture-dependent) default value.

Cheers,

Tim.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#3 lore raw
In reply to Tim Deegan
Quoted 8 lines · Tim Deegan
Quoted 3 lines · John Levon

Now that xend launches pygrub, it no longer picks up the user's $TERM setting. This is fatal on Solaris where TERM isn't set, but it also seems wrong on Linux.

Any suggestions? We can't know what terminal type xenconsole is going to be running at before it attaches. :( We could set some sensible (and, if you like, architecture-dependent) default value.

All I can suggest is a default plus maybe a config option for the domain...

john

#4 lore raw
Quoted 11 lines · John Levon
Quoted 8 lines
Quoted 3 lines · John Levon

Now that xend launches pygrub, it no longer picks up the user's $TERM setting. This is fatal on Solaris where TERM isn't set, but it also seems wrong on Linux.

Any suggestions? We can't know what terminal type xenconsole is going to be running at before it attaches. :( We could set some sensible (and, if you like, architecture-dependent) default value.

All I can suggest is a default plus maybe a config option for the domain...

OK, we'll run with TERM=vt100, which should play nicely with most things.

Cheers,

Tim.