[vox-tech] Vim is leaving junk on my command line
Henry House
vox-tech@lists.lugod.org
Thu, 28 Mar 2002 14:32:33 -0800
--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Mar 28, 2002 at 01:39:19PM -0600, Jay Strauss wrote:
> Yep, that did it. But now my question is:
>=20
> Where does the TERM variable get set in the first place? I don't see it =
in:
> /etc/profile
> ~/.bash_profile
> ~/.bashrc
>=20
> But its being set to xterm
It is generally exported by ssh or telnet, and the value inherited by the
shell that ssh or telnet starts on the remote end. If you want to do some
=2Ebash_profile trickery to re-set TERM, you can check whether the tty is S=
SH
by consulting SSH_CLIENT.
One of the GUI ssh clients (NiftyTelnetSSH for Mac, an otherwise excellent
program) has some defects in its terminal emulation, which causes symptom
similar to what you described.
--=20
Henry House
The attached file is a digital signature. See <http://romana.hajhouse.org/p=
gp>
for information. My OpenPGP key: <http://romana.hajhouse.org/hajhouse.asc>.
--Nq2Wo0NMKNjxTN9z
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8o5oBKK1cAVjXujwRAi7EAJ9UaXoVbBNHi5S/II8dgOyRLhyLlQCeIB9F
4YccvuEGF/anFAkvFbT1VC8=
=P1rG
-----END PGP SIGNATURE-----
--Nq2Wo0NMKNjxTN9z--