Red Hat Bugzilla – Bug 14570
annoying beep when starting vim in an xterm
Last modified: 2008-05-01 11:37:56 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'?
I can't reproduce it in an xterm and an rxvt, but it does seem to happen in
Are you sure this happens for you in xterm and rxvt?
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.
Still occurs with pinstripe.
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..
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.)
The patch seems to work well - I'm currently building it in the 7.0 tree.