* [gentoo-user] aterm into kterm?
@ 2009-09-28 17:39 Willie Wong
2009-09-28 20:39 ` Nils Larsson
2009-09-28 21:57 ` Mick
0 siblings, 2 replies; 5+ messages in thread
From: Willie Wong @ 2009-09-28 17:39 UTC (permalink / raw
To: gentoo-user
On my laptop the terminal emulator is currently aterm. (I know, I
know, I really should switch to rxvt-unicode already. But I am about
to get a new machine soon, so am too lazy to deal with it now.)
But when I ssh into other computers, and issue echo $TERM it shows
kterm. Now this has caused me a bit of headache due to curses and
dialog behaving funny, and I just found out today that if I export
TERM=xterm after logging in, all my woes went away.
Now, at work, the machines run some custom version of linux and I am
not sure what the terminals are. And I also often use the VT and not
use X on my laptop, so I am disinclined to set TERM in .bashrc.
Is there any good way so that when I ssh into a machine using aterm
I can set TERM=xterm, while leaving everything else alone since they
work okay?
W
--
Statistics are like a Bikini:
showing interesting details but hiding the important stuff.
Sortir en Pantoufles: up 1025 days, 16:27
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] aterm into kterm?
2009-09-28 17:39 [gentoo-user] aterm into kterm? Willie Wong
@ 2009-09-28 20:39 ` Nils Larsson
2009-09-28 22:25 ` Willie Wong
2009-09-28 21:57 ` Mick
1 sibling, 1 reply; 5+ messages in thread
From: Nils Larsson @ 2009-09-28 20:39 UTC (permalink / raw
To: gentoo-user
> Now, at work, the machines run some custom version of linux and I am
> not sure what the terminals are. And I also often use the VT and not
> use X on my laptop, so I am disinclined to set TERM in .bashrc.
Well, bash is bash, it doesn't matter if you work machines use X or
whatnot. Add:
export TERM=xterm
to ~/.bash_profile on your work machine account.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] aterm into kterm?
2009-09-28 17:39 [gentoo-user] aterm into kterm? Willie Wong
2009-09-28 20:39 ` Nils Larsson
@ 2009-09-28 21:57 ` Mick
2009-09-28 22:26 ` Willie Wong
1 sibling, 1 reply; 5+ messages in thread
From: Mick @ 2009-09-28 21:57 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 842 bytes --]
On Monday 28 September 2009, Willie Wong wrote:
> On my laptop the terminal emulator is currently aterm. (I know, I
> know, I really should switch to rxvt-unicode already. But I am about
> to get a new machine soon, so am too lazy to deal with it now.)
>
> But when I ssh into other computers, and issue echo $TERM it shows
> kterm. Now this has caused me a bit of headache due to curses and
> dialog behaving funny, and I just found out today that if I export
> TERM=xterm after logging in, all my woes went away.
I also have aterm and tried ssh with two different machines. Both return rxvt
which is what echo $TERM gives when in a local terminal.
(At some point I was thinking of using mrxvt, but fluxbox allows me to stack
multiple aterms into a single tabbed terminal so I haven't tried it yet).
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] aterm into kterm?
2009-09-28 20:39 ` Nils Larsson
@ 2009-09-28 22:25 ` Willie Wong
0 siblings, 0 replies; 5+ messages in thread
From: Willie Wong @ 2009-09-28 22:25 UTC (permalink / raw
To: gentoo-user
On Mon, Sep 28, 2009 at 10:39:44PM +0200, Penguin Lover Nils Larsson squawked:
> > Now, at work, the machines run some custom version of linux and I am
> > not sure what the terminals are. And I also often use the VT and not
> > use X on my laptop, so I am disinclined to set TERM in .bashrc.
>
>
> Well, bash is bash, it doesn't matter if you work machines use X or
> whatnot. Add:
> export TERM=xterm
> to ~/.bash_profile on your work machine account.
I'm not quite sure what you mean, but I think I didn't explain myself
clear.
There are three machines involved.
Server A
Desktop B
Laptop C
I ssh into Server A from Desktop B and Laptop C.
Desktop B is at work. I am not sure what terminal it uses. But it has
no problems with the terminal.
Laptop C is my personal machine, on which I run aterm usually. But
when I ssh into Server A, echo $TERM shows kterm. (I just tried rxvt
and xterm also on this machine, and $TERM is correctly listed for
both.)
Setting anything on Desktop B is unlikely to help.
I don't want to set anything on Server A because I worry that it might
break whatever is working currently from Desktop B.
I don't think I should set anything on Laptop C in .bash* because I
also use other terms occasionally and the VT.
If my worries are unfounded, can you tell me why?
W
--
"The fronting for the eighty-yard long marble-topped bar
had been made by stitching together nearly twenty thousand
Antarean Mosaic Lizard skins, despite the fact that the
twenty thousand lizards concerned had needed them to keep
their insides in."
- The Book decribing Milliways' politically incorrect
decor.
Sortir en Pantoufles: up 1025 days, 21:10
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] aterm into kterm?
2009-09-28 21:57 ` Mick
@ 2009-09-28 22:26 ` Willie Wong
0 siblings, 0 replies; 5+ messages in thread
From: Willie Wong @ 2009-09-28 22:26 UTC (permalink / raw
To: gentoo-user
On Mon, Sep 28, 2009 at 10:57:34PM +0100, Penguin Lover Mick squawked:
> I also have aterm and tried ssh with two different machines. Both return rxvt
> which is what echo $TERM gives when in a local terminal.
>
Okay, this is progress. I didn't think to check this before. But
apparently echo $TERM locally returns kterm on this laptop, when I am
running aterm.
Anybody know how to fix that? (Set it to either xterm or rxvt?)
(Without breaking other terms and the VT!)
Thanks,
W
--
"If I had a little robot walking around with me and I could feed him the
Lagrangian and he'd spit out the answer I would love this class."
~DeathMech, Some Student. P-town PHY 205
Sortir en Pantoufles: up 1025 days, 21:17
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-09-28 22:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-28 17:39 [gentoo-user] aterm into kterm? Willie Wong
2009-09-28 20:39 ` Nils Larsson
2009-09-28 22:25 ` Willie Wong
2009-09-28 21:57 ` Mick
2009-09-28 22:26 ` Willie Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox