FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 04-19-2010, 09:08 PM
Geoffrey Leach
 
Default Terminal type??

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

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 04-19-2010, 10:19 PM
Mikkel
 
Default Terminal type??

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.

Mikkel
--

Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 04-19-2010, 11:52 PM
Geoffrey Leach
 
Default Terminal type??

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@mtranch[1]->echo $TERM
xterm
geoff@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?
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 04-20-2010, 03:45 AM
Cameron Simpson
 
Default Terminal type??

On 19Apr2010 16:52, Geoffrey Leach <geoff@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@mtranch[1]->echo $TERM
| xterm
| geoff@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@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
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 04-20-2010, 01:49 PM
Mikkel
 
Default Terminal type??

On 04/19/2010 06:52 PM, Geoffrey Leach 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@mtranch[1]->echo $TERM
> xterm
> geoff@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?

I know it isn't much help, but it works fine here. So it is
something with the way your system is set up. You can try
re-installing ncurses-base.

Mikkel
--

Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 04-20-2010, 03:24 PM
Geoffrey Leach
 
Default Terminal type??

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

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
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 08:16 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org