From mikeg@u.washington.edu Mon Apr 15 16:33:31 2002 Received: from mailscan5.cac.washington.edu (mailscan5.cac.washington.edu [140.142.32.14]) by lists.u.washington.edu (8.12.1+UW01.12/8.12.1+UW02.01) with SMTP id g3FNXSDN191092 for ; Mon, 15 Apr 2002 16:33:28 -0700 Received: FROM mxu3.u.washington.edu BY mailscan5.cac.washington.edu ; Mon Apr 15 16:33:27 2002 -0700 Received: from bp06.u.washington.edu (bp06.u.washington.edu [140.142.15.44]) by mxu3.u.washington.edu (8.12.1+UW01.12/8.12.1+UW02.01) with ESMTP id g3FNXRre011608 for ; Mon, 15 Apr 2002 16:33:27 -0700 Received: from dante13.u.washington.edu (dante13.u.washington.edu [140.142.15.23]) by bp06.u.washington.edu (8.12.1+UW01.12/8.12.1+UW02.01) with ESMTP id g3FNXRjN196686 for ; Mon, 15 Apr 2002 16:33:27 -0700 Date: Mon, 15 Apr 2002 16:33:27 -0700 (PDT) From: Michal Guerquin To: UW Linux Group Subject: Re: color codes displaying incorrectly in vim In-Reply-To: <20020415065224.1f31fa75.hosting@j2solutions.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 2002-04-15 at 06:52, Jesse Keating wrote: >On Mon, 15 Apr 2002 11:49:45 -0700 >"Ryan Hennig" issued forth: > >> 'm using vim while ssh'd into a remote host, trying to edit a file with >> syntax highlighting turned on. >> >> However, instead of nifty color coding, I get all these control >> characters printed on the screen, like: ^[34m~ >> >> Do you guys have any ideas about where I should look to figure out >> what's going on? I don't think this is a vim-specific problem, but I'm >> not sure what's going wrong here. > >echo $TERM > >Your term variable may be b0rked, and vim doesn't have a valid termcap entry >for it maybe? For me, with a FreeBSD system, I get good results with: TERM=xterm-color Also important, though not relevant if you see "^[34m~", is the ssh client you're using needs to be decent.. try PuTTy (google it). It works wonders. ~ Michal -- Random: Pascal Users: To show respect for the 313th anniversary (tomorrow) of the death of Blaise Pascal, your programs will be run at half speed. .