public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Setting $TERM in Konsole (and others)
@ 2005-10-16  3:06 Kevin O'Gorman
  2005-10-16  3:39 ` Glenn Enright
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin O'Gorman @ 2005-10-16  3:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

I run Konsole for shell sessions, and things are going slightly wrong.
I've tracked it down to the fact that although I've set the Konsole
preferences to $TERM=linux, that variable is obdurately "xterm".

When I put an echo in .bashrc or .bash_profile, it's already xterm.
How can I find the culprit?

++ kevin

--
Kevin O'Gorman, PhD

[-- Attachment #2: Type: text/html, Size: 408 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Setting $TERM in Konsole (and others)
  2005-10-16  3:06 [gentoo-user] Setting $TERM in Konsole (and others) Kevin O'Gorman
@ 2005-10-16  3:39 ` Glenn Enright
  2005-10-16 13:57   ` Kevin O'Gorman
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Enright @ 2005-10-16  3:39 UTC (permalink / raw
  To: gentoo-user

On Sun, 16 Oct 2005 03:06, Kevin O'Gorman wrote:
> I run Konsole for shell sessions, and things are going slightly wrong.
> I've tracked it down to the fact that although I've set the Konsole
> preferences to $TERM=linux, that variable is obdurately "xterm".
>
> When I put an echo in .bashrc or .bash_profile, it's already xterm.
> How can I find the culprit?
>
> ++ kevin

You'll find if you log into a text console (ALT F1, F2 etc), $TERM should be 
linux. However konsole and others in 'X' are set to xterm so something is 
being set as X loads. I couldn't find xterm in any of the /etc/env.d files, 
so its not being picked up there anyhow.

-- 

We shall take only the greatest minds, the finest soldiers,
the most faithful servants. We shall multiply them a thousandfold
and release them to usher in a new era of glory.
 
         -- Col. Corazon Santiago,
            "The Council of War"
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Setting $TERM in Konsole (and others)
  2005-10-16  3:39 ` Glenn Enright
@ 2005-10-16 13:57   ` Kevin O'Gorman
  2005-10-16 16:54     ` Kevin O'Gorman
  2005-10-16 22:15     ` Glenn Enright
  0 siblings, 2 replies; 5+ messages in thread
From: Kevin O'Gorman @ 2005-10-16 13:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]

I couldn't find it either. What bothers me is that in a Konsole, there's
a Settings -> Configure Konsole -> Session -> $TERM
setting that looks like it should override anything X does. I would
expect that Konsole would be started, change the TERM environment
and start the indicated shell. This isn't happening.

I guess it's time to look in a bugs database for KDE.

++ kevin

On 10/15/05, Glenn Enright <elinar@ihug.co.nz> wrote:
>
> On Sun, 16 Oct 2005 03:06, Kevin O'Gorman wrote:
> > I run Konsole for shell sessions, and things are going slightly wrong.
> > I've tracked it down to the fact that although I've set the Konsole
> > preferences to $TERM=linux, that variable is obdurately "xterm".
> >
> > When I put an echo in .bashrc or .bash_profile, it's already xterm.
> > How can I find the culprit?
> >
> > ++ kevin
>
> You'll find if you log into a text console (ALT F1, F2 etc), $TERM should
> be
> linux. However konsole and others in 'X' are set to xterm so something is
> being set as X loads. I couldn't find xterm in any of the /etc/env.d
> files,
> so its not being picked up there anyhow.
>
> --
>
> We shall take only the greatest minds, the finest soldiers,
> the most faithful servants. We shall multiply them a thousandfold
> and release them to usher in a new era of glory.
>
> -- Col. Corazon Santiago,
> "The Council of War"
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Go back to the top: I almost always top-post
Kevin O'Gorman, PhD

[-- Attachment #2: Type: text/html, Size: 2079 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Setting $TERM in Konsole (and others)
  2005-10-16 13:57   ` Kevin O'Gorman
@ 2005-10-16 16:54     ` Kevin O'Gorman
  2005-10-16 22:15     ` Glenn Enright
  1 sibling, 0 replies; 5+ messages in thread
From: Kevin O'Gorman @ 2005-10-16 16:54 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1852 bytes --]

Okay, I did that. The bug is #114511, found at
http://bugs.kde.org/show_bug.cgi?id=114511

++ kevin

On 10/16/05, Kevin O'Gorman <kogorman@gmail.com> wrote:
>
> I couldn't find it either. What bothers me is that in a Konsole, there's
> a Settings -> Configure Konsole -> Session -> $TERM
> setting that looks like it should override anything X does. I would
> expect that Konsole would be started, change the TERM environment
> and start the indicated shell. This isn't happening.
>
> I guess it's time to look in a bugs database for KDE.
>
> ++ kevin
>
> On 10/15/05, Glenn Enright <elinar@ihug.co.nz> wrote:
> >
> > On Sun, 16 Oct 2005 03:06, Kevin O'Gorman wrote:
> > > I run Konsole for shell sessions, and things are going slightly wrong.
> > > I've tracked it down to the fact that although I've set the Konsole
> > > preferences to $TERM=linux, that variable is obdurately "xterm".
> > >
> > > When I put an echo in .bashrc or .bash_profile, it's already xterm.
> > > How can I find the culprit?
> > >
> > > ++ kevin
> >
> > You'll find if you log into a text console (ALT F1, F2 etc), $TERM
> > should be
> > linux. However konsole and others in 'X' are set to xterm so something
> > is
> > being set as X loads. I couldn't find xterm in any of the /etc/env.d
> > files,
> > so its not being picked up there anyhow.
> >
> > --
> >
> > We shall take only the greatest minds, the finest soldiers,
> > the most faithful servants. We shall multiply them a thousandfold
> > and release them to usher in a new era of glory.
> >
> > -- Col. Corazon Santiago,
> > "The Council of War"
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>
>
> --
> Go back to the top: I almost always top-post
> Kevin O'Gorman, PhD
>



--
Go back to the top: I almost always top-post
Kevin O'Gorman, PhD

[-- Attachment #2: Type: text/html, Size: 2927 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Setting $TERM in Konsole (and others)
  2005-10-16 13:57   ` Kevin O'Gorman
  2005-10-16 16:54     ` Kevin O'Gorman
@ 2005-10-16 22:15     ` Glenn Enright
  1 sibling, 0 replies; 5+ messages in thread
From: Glenn Enright @ 2005-10-16 22:15 UTC (permalink / raw
  To: gentoo-user

On Sun, 16 Oct 2005 13:57, Kevin O'Gorman wrote:
> I couldn't find it either. What bothers me is that in a Konsole, there's
> a Settings -> Configure Konsole -> Session -> $TERM
> setting that looks like it should override anything X does. I would
> expect that Konsole would be started, change the TERM environment
> and start the indicated shell. This isn't happening.
>
> I guess it's time to look in a bugs database for KDE.
>
> ++ kevin
>
> On 10/15/05, Glenn Enright <elinar@ihug.co.nz> wrote:
> > On Sun, 16 Oct 2005 03:06, Kevin O'Gorman wrote:
> > > I run Konsole for shell sessions, and things are going slightly wrong.
> > > I've tracked it down to the fact that although I've set the Konsole
> > > preferences to $TERM=linux, that variable is obdurately "xterm".
> > >
> > > When I put an echo in .bashrc or .bash_profile, it's already xterm.
> > > How can I find the culprit?
> > >
> > > ++ kevin
> >
> > You'll find if you log into a text console (ALT F1, F2 etc), $TERM should
> > be
> > linux. However konsole and others in 'X' are set to xterm so something is
> > being set as X loads. I couldn't find xterm in any of the /etc/env.d
> > files,
> > so its not being picked up there anyhow.
> >

Did a little more investigating. When I load a konsole I have a tab down the 
bottom for each session. To get another session I can click on the icon next 
to the tabs. If I hold the mouse buttion over this session, I get a list 
which includes a 'Linux session'. This should have the $TERM variable set 
correctly for you. 
-- 

We will "use our technology to enhance uncertainties abroad."

George W. Bush
March 6, 2000
The president was referring to foreign threats, including terrorism.  Quoted
in the New York Times.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-10-16 22:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-16  3:06 [gentoo-user] Setting $TERM in Konsole (and others) Kevin O'Gorman
2005-10-16  3:39 ` Glenn Enright
2005-10-16 13:57   ` Kevin O'Gorman
2005-10-16 16:54     ` Kevin O'Gorman
2005-10-16 22:15     ` Glenn Enright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox