From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MsKBd-00031S-Fk for garchives@archives.gentoo.org; Mon, 28 Sep 2009 17:38:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5DBC2E0773; Mon, 28 Sep 2009 17:38:55 +0000 (UTC) Received: from Princeton.EDU (postoffice06.Princeton.EDU [128.112.133.8]) by pigeon.gentoo.org (Postfix) with ESMTP id 41CF1E0773 for ; Mon, 28 Sep 2009 17:38:55 +0000 (UTC) Received: from smtpserver1.Princeton.EDU (smtpserver1.Princeton.EDU [128.112.129.65]) by Princeton.EDU (8.13.8/8.13.8) with ESMTP id n8SHcsF1027148 for ; Mon, 28 Sep 2009 13:38:54 -0400 (EDT) Received: from sep.dynalias.net (fez.Princeton.EDU [128.112.129.190]) (authenticated bits=0) by smtpserver1.Princeton.EDU (8.12.9/8.12.9) with ESMTP id n8SHcs63000694 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Mon, 28 Sep 2009 13:38:54 -0400 (EDT) Received: by sep.dynalias.net (Postfix, from userid 1001) id D9B9E17559; Mon, 28 Sep 2009 13:39:59 -0400 (EDT) Date: Mon, 28 Sep 2009 13:39:59 -0400 From: Willie Wong To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] aterm into kterm? Message-ID: <20090928173959.GA22280@princeton.edu> Mail-Followup-To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 22a64270-85e9-4be4-b0cb-bb9a79e9dfa1 X-Archives-Hash: 0d9e215f36b7963ff1579574ef8c719f 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