Operating System - HP-UX
1832988 Members
2744 Online
110048 Solutions
New Discussion

Re: Disable the Beep from Vi in Korn Shell

 
SOLVED
Go to solution
Hunki
Super Advisor

Disable the Beep from Vi in Korn Shell

I am working on my laptop using exceed to connect to the console. Need to avoid this constant beep coming from my laptop while I am working in vi. I have the sound turned off for my laptop but still its coming and I am working in the korn shell.

Thanks

Hunki
10 REPLIES 10
Peter Godron
Honored Contributor

Re: Disable the Beep from Vi in Korn Shell

Hunki,
are you sure your laptop sound is switched off. Is there a little crossed out speaker icon in your icon box (assumming you are running windows).The laptop setting should override everthing else.
Rodney Hills
Honored Contributor

Re: Disable the Beep from Vi in Korn Shell

Did you try-

:set noerrorbells

Rod Hills
There be dragons...
Hunki
Super Advisor

Re: Disable the Beep from Vi in Korn Shell

Peter : Yes
Rodney : Did not work

Hunki :(
Peter Godron
Honored Contributor

Re: Disable the Beep from Vi in Korn Shell

Hunki,
looking at the hummingbird site:
To prevent Exceed 7.0 from using the sound card, please put this in win.ini:
[Exceed]
UseAudioDevice=0

Restart the Exceed Xserver.


Note: this will not allow any sound through Exceed (not even the system
beep).
OldSchool
Honored Contributor

Re: Disable the Beep from Vi in Korn Shell

I would have thought "noeb" as well.

What does ":set" return?

Jannik
Honored Contributor
Rodney Hills
Honored Contributor

Re: Disable the Beep from Vi in Korn Shell

When does the beep occur?

- Exiting insert mode
- Typing past column 72
- Totally sporadic and random

Rod Hills

There be dragons...
Rodney Hills
Honored Contributor

Re: Disable the Beep from Vi in Korn Shell

Some vi's have an option called "visualbell". You could try setting that and see if it silences.

HTH

-- Rod Hills
There be dragons...
Adrian Horne
Occasional Advisor
Solution

Re: Disable the Beep from Vi in Korn Shell

Hi
I have had to use

xset -b

with Exceed in the past to stop the beep causing problems.
Hunki
Super Advisor

Re: Disable the Beep from Vi in Korn Shell

Adrian,

Ur the Man !!!

it worked like a charm

Thanks,

Hunki