[vox-tech] Re: Vim is leaving junk on my command line

Jay Strauss vox-tech@lists.lugod.org
Thu, 28 Mar 2002 15:38:53 -0600


Thanks, I found it in my putty settings

Jay
----- Original Message -----
From: <kabloom@ucdavis.edu>
To: <vox-tech@lists.lugod.org>
Sent: Thursday, March 28, 2002 3:02 PM
Subject: [vox-tech] Re: Vim is leaving junk on my command line


>
> I believe the TERM environment variable is set by whatever getty you are
> using to connect to your system. When you use an xterm, the xterm program
> sets TERM before it ever opens the shell. When you use ssh, sshd sets TERM
> before it ever opens the shell. (It also sets DISPLAY this way if you are
> using X packet forwarding)
>
> > --- ORIGINAL MESSAGE ---
> > From: "Jay Strauss" <jjstrauss@yahoo.com>
> > To: <vox-tech@lists.lugod.org>
> > Subject: Re: [vox-tech] Vim is leaving junk on my command line
> > Date: Thu, 28 Mar 2002 13:39:19 -0600
> >
> > Yep, that did it.  But now my question is:
> >
> > Where does the TERM variable get set in the first place?  I don't see it
> in:
> > /etc/profile
> > ~/.bash_profile
> > ~/.bashrc
> >
> > But its being set to xterm
> >
> > Thanks
> > Jay
> > ----- Original Message -----
> > From: "Stephen M. Helms" <Mytho_X@pacbell.net>
> > To: <vox-tech@lists.lugod.org>
> > Sent: Thursday, March 28, 2002 1:20 PM
> > Subject: Re: [vox-tech] Vim is leaving junk on my command line
> >
> >
> > > Jay Strauss wrote:
> > >
> > > >When you save a file in vi (vim), it normally gives you 2 lines of
> output
> > > >(above) the command line.  1st line has something to do with the
> position
> > of
> > > >your cursor (or maybe the number of chars changed), the next line
says
> > > ><filename>: written.
> > > >
> > > >The "en" of "written" gets printed on my command line
> > > >
> > > >ps i'm using putty as my ssh client
> > > >Jay
> > > >
> > > Have you tried to make sure you have the correct TERM setting for the
> > > system you are connecting too?
> > >
> > > For example when I am using my work linux laptop with Eterm and
connect
> > > to a Solaris box I need to set TERM=vt102 before using vi.
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com