Shawn Walker wrote:
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

if &term ==? "gnome" && has("eval")
  " Set useful keys that vim doesn't discover via termcap but are in the
  " builtin xterm termcap. See bug #122562. We use exec to avoid having to
  " include raw escapes in the file.
  exec "set <C-Left>=\eO5D"
  exec "set <C-Right>=\eO5C"
endif
" }}}

Sorry, was missing the last half above.

Cheers,
--
Shawn Walker
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to