Bug 14570 - annoying beep when starting vim in an xterm
annoying beep when starting vim in an xterm
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: vim (Show other bugs)
7.0
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-07-24 19:53 EDT by John Cagle
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-06 08:03:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Cagle 2000-07-24 19:53:31 EDT
vim (v5.7) 'beeps' every time you start it up in a gnome-terminal, xterm,
kterm or rxvt.  If I set TERM to "xf" (equivalent to xterm), the beep goes away.

Problem seems to be related to parsing of /etc/termcap.  For instance,
if you edit /etc/termcap and change the 'xterm' entry to 'xxterm',
then set TERM=xxterm in your shell, vim no longer beeps when starting.

Maybe vim can't handle too many termcap entries starting with 'xterm'?
Comment 1 Bernhard Rosenkraenzer 2000-07-25 10:00:22 EDT
I can't reproduce it in an xterm and an rxvt, but it does seem to happen in
gnome-terminal.
Are you sure this happens for you in xterm and rxvt?
Comment 2 John Cagle 2000-07-25 17:40:39 EDT
Yes.  It happens in xterm and rxvt, but only if the TERM
environment variable is set to "xterm", as it is by default.
It happens on *ALL* the machines I've installed beta 4 on.
Comment 3 John Cagle 2000-07-28 12:28:46 EDT
Still occurs with pinstripe.
Comment 4 Tim Waugh 2000-08-05 13:46:38 EDT
This has been happening since about Red Hat Linux 6.2.  I think it's a vim bug:
look for KS_CRV: \e[>c is the string that's making the beep.  vim-5.3 doesn't
have this behaviour, but at least 5.6-11 does.  Checking 5.5..
Comment 5 Tim Waugh 2000-08-06 08:03:39 EDT
This happens for vim-minimal only, I think.

Bero, please take a look at ~twaugh/fixes/vim-5.7-6.src.rpm, which fixes the
problem for me. (I've only tested vim-minimal.)
Comment 6 Bernhard Rosenkraenzer 2000-08-07 10:14:04 EDT
The patch seems to work well - I'm currently building it in the 7.0 tree.

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