Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What parameters would you have to pass, in order to disable the PuTTY bell via the command line?

share|improve this question
add comment

3 Answers

In PuTTY Configuration (start PuTTY without any options or sesions), you have a session called Default Settings. Just change the setting under Terminal -> Bell to Visual Bell (flash window) and then go back to the Session part of PuTTY Configuration and save this as the new Default Settings.

After doing this, all future sessions will have this disabled by default.

share|improve this answer
add comment

I don't think you can do exactly what you ask. I would disable the bell in PuTTY's settings menu and save as a session. Then you can set PuTTY's command line options to -load sessionname.

You can also create a custom termcap/terminfo entry which has bel undefined.

There's no command you can run at the host that would instruct PuTTY to ignore ^G (bell).

stty has -imaxbel, but that most likely does not do what you want.

share|improve this answer
    
If he logs onto a bash shell, for example, one other option is to type set bell-type visual (or none) in the shell to temporarily change the audible behavior. –  Mattias Ahnberg Feb 19 '12 at 23:26
add comment

Yes, you can do it - almost! PuTTY stores all it's settings in registry as reg keys. Go to settings, change BELL to whatever you like, find key in registry, export it and import onto anther computer. Job done.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.