Terminal type??
Cameron Simpson
cs at zip.com.au
Tue Apr 20 03:45:39 UTC 2010
On 19Apr2010 16:52, Geoffrey Leach <geoff at hughes.net> wrote:
| On 04/19/2010 03:19:49 PM, Mikkel wrote:
| > On 04/19/2010 04:08 PM, Geoffrey Leach wrote:
| > > /usr/bin/gnome-terminal has suddenly started rejecting
| > "TERM=xterm".
| >
| > > OK, so that's not true, but its been working since gnome-terminal
| > > showed up. Anyone know what the appropriate setting is?
| > >
| > > Thanks.
| > >
| > Dumb question - why are you trying to set TERM? On my system, it
| > already defaults to xterm.
| >
| > It would also help to know how you are setting TERM, and what error
| > you are getting.
|
| geoff at mtranch[1]->echo $TERM
| xterm
| geoff at mtranch[2]->clear
| 'xterm': unknown terminal type.
|
| On further thought, /usr/bin/clear is packaged with ncurses, and so one
| would think that it would depend, ultimately, on /usr/share/terminfo/x/
| xterm,which exists and is readable. Hmmmm .... time for a reboot?
These are looked up on the fly, so a reboot should not help.
Try:
strace -e trace=file clear 2>str.out
and then examine str.out. Where is "clear" looking for terminal data?
Cheers,
--
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/
I just kept it wide-open thinking it would correct itself.
Then I ran out of talent. - C. Fittipaldi
More information about the users
mailing list