| View previous topic :: View next topic |
| Author |
Message |
oba
Joined: 21 Feb 2006 Posts: 2
|
Posted: Tue Feb 21, 2006 7:52 am Post subject: Disable bell |
|
|
| Is there any way to disable the bell in wintin++? |
|
| Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3274
|
Posted: Tue Feb 21, 2006 11:02 am Post subject: |
|
|
You can edit the short cut and add +vb to the target field which will change the default bell to a visual bell that flashes the window.
| Code: | "C:\Program Files\WinTin++\terminal.exe" -sl 1000 [b]+vb[/b] -name WinTin++ -title WinTin++ -iconName WinTin++ -bg 0 -fg 15 -cr 2 -fn "courier-15" -fb "courier-15" +sb -tn xterm -e bin/tt++
|
Another option is a substitution to filter out any bell characters received from the mud using a color trigger:
#sub {~%0\a%1} {%0%1} |
|
| Back to top |
|
 |
oba
Joined: 21 Feb 2006 Posts: 2
|
Posted: Wed Feb 22, 2006 3:34 am Post subject: |
|
|
I was thinking more of when you press backspace the bell goes ding, and that's kind of annoying when you play from work
And no I cant just turn off the sound since im listening to winamp radio. |
|
| Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3274
|
Posted: Wed Feb 22, 2006 9:09 am Post subject: |
|
|
| In that case use +vb in the short cut to enable the visual bell. |
|
| Back to top |
|
 |
Kelmvor
Joined: 18 Apr 2006 Posts: 12
|
Posted: Wed Apr 19, 2006 6:04 am Post subject: |
|
|
| I can see where that would be annoying. I know when using vim that beep/ding/bell hurts my ears, and is just generally a huge annoyance. Maybe add in a config option for erronous bell, and just add a small one-line ifcheck to see if the config is on or off? |
|
| Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3274
|
Posted: Wed Apr 19, 2006 2:17 pm Post subject: |
|
|
| The backspace bell is generated by readline, so it may be possible to disable it in the .inputrc file. There's not a whole lot I can do about it till I add custom readline support. |
|
| Back to top |
|
 |
moebius
Joined: 27 Jan 2005 Posts: 96
|
Posted: Mon Apr 24, 2006 11:57 am Post subject: |
|
|
It appear readline does have an option for this
"set bell-style none" - no bell
"set bell-style visual" - visual bell (flashes the screen instead of beeping)
"set bell-style audible" - audible bell _________________ StrangeMUD - strangemud.net:9332 |
|
| Back to top |
|
 |
|