Re: Terminal type??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/19/2010 08:45:39 PM, Cameron Simpson wrote:
> On 19Apr2010 16:52, Geoffrey Leach <[email protected]> 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.
> | 
> | [email protected][1]->echo $TERM
> | xterm
> | [email protected][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?
> 

Rebooting fixed the problem. 

The data indeed comes from T/usr/share/terminfo/x/xterm, so I have to 
conclude that the file check was failing. I've seen this frequently, 
recently. After installing new rpms, things start failing, and a reboot 
solves the problem.  

Thanks for the suggestion.
-- 
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux