Bug 128344 - vimrc contains incorrect control sequences for xterm
Summary: vimrc contains incorrect control sequences for xterm
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-07-21 22:50 UTC by Nalin Dahyabhai
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-07-22 09:11:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nalin Dahyabhai 2004-07-21 22:50:23 UTC
The /etc/vimrc (6.3.013-2) appears to have a bug.  This section:
     if &term=="xterm"
          set t_Co=8
          set t_Sb=^[4%dm
          set t_Sf=^[3%dm
     endif
is wrong -- t_Sb and t_Sf begin with a literal circumflex followed by
a left square bracket, when the xterm control sequence for selecting
the color should instead begin with a literal escape followed by a
left square bracket.  Replacing the two circumflexes with an escape
character seems to fix it on my system.

This could be the cause of bug #115499.

Comment 1 Karsten Hopp 2004-07-22 09:11:52 UTC
Not sure if cvs mangled the file or if I made a cut&paste error, 
 but it should be fixed now. 


Note You need to log in before you can comment on or make changes to this bug.