[indiana-discuss] Unwanted control chars ghost lines when using vim

Shawn Walker swalker at opensolaris.org
Thu Mar 5 18:39:21 PST 2009


Harry Putnam wrote:
> 2009.06 2008
> 
> I've noticed this problem with both 101b and 208.  Those are my first
> opensolaris forays in several yrs.
> 
> When opening vim on a file, sooner or later I'll start getting ghost
> lines with things like `<Esc>[312m~ ' in them
> 
> Anyone know the cause of it?  Or what I can do to avoid it?

I have the following in my .vimrc and I've never had this issue:

set term=xtermc

" {{{ Terminal fixes
if &term ==? "xterm"
   set t_Sb=^[4%dm
   set t_Sf=^[3%dm
   set ttymouse=xterm2
endif

Hope this helps,
-- 
Shawn Walker



More information about the indiana-discuss mailing list