[gentoo-user] aterm into kterm?

2009-09-28 Thread Willie Wong
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



Re: [gentoo-user] aterm into kterm?

2009-09-28 Thread Nils Larsson
 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.




Re: [gentoo-user] aterm into kterm?

2009-09-28 Thread Mick
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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] aterm into kterm?

2009-09-28 Thread Willie Wong
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



Re: [gentoo-user] aterm into kterm?

2009-09-28 Thread Willie Wong
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