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

