Bug 74450 - An extra underscores in vi with "set number"
Summary: An extra underscores in vi with "set number"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: vte
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-09-24 16:42 UTC by hjl
Modified: 2007-04-18 16:46 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-06-23 21:27:25 UTC
Embargoed:


Attachments (Terms of Use)

Description hjl 2002-09-24 16:42:49 UTC
When I use vi in gnome-terminal with "set number",
I get

______1

I believe it is a bug carried over from xterm, which
has been fixed in xterm since xterm works fine now.

Comment 1 Nalin Dahyabhai 2002-09-25 20:42:39 UTC
I'm not seeing it here with the current version.  Can you reproduce this with
the Raw Hide version of the vte package?

Comment 2 hjl 2002-10-01 20:38:02 UTC
Try

# /bin/vi

Comment 3 Nalin Dahyabhai 2002-10-15 01:43:39 UTC
The application is sending the control sequence to begin underlining, five or
six spaces, and then the number.  Unless terminals are supposed to avoid
underlining whitespace, this doesn't look like a bug.

XTerm on my system is using foreground color to indicate underlined text, so the
effect is just not visible.  I wasn't able to get XTerm to perform underlining
(even starting with the -ulc flag and running "tput smul"), but hanterm and
kterm both attempted to, and displayed the same behavior when I repeated the
test with vi.

I'm inclined to close this as notabug.

Comment 4 hjl 2002-10-15 04:05:03 UTC
It doesn't happen on the Linux console.
As I said, it was fixed in xterm a while
ago. All the problems on other terms you
see may be the similar bug fixed in xterm.
Even if you don't think it is a bug in vte,
do you think it is a bug in /bin/vi?


Comment 5 Nalin Dahyabhai 2002-10-18 00:40:55 UTC
Does the console implement underlining using color (which would be hidden when
drawing whitespace) or actual underlining?  If it's using color, then there's no
way to tell that it's not doing the same thing except by examining the sources.

I would consider this a bug in 'vi' if the underlining is not supposed to be
there.  groff handles this properly (for an example, see the underlined text in
the groff(1) man page in the "groff Macro Directory" section).

Comment 6 hjl 2002-10-18 17:29:58 UTC
I don't know where the bug is. I do know it
is a bug. I can change it to vim if you want.

Comment 7 Ray Strode [halfline] 2004-06-23 21:27:25 UTC
Regardless of which module the bug belonged to, it now seems to work,
fortunately.


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