Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: laptop tty beeps - and /bin/dash?



On Aug 23,  2:40pm, Francisco Borges wrote:
}
} Two observations:
} 
} 1. I *used* to get a beep, when hitting ^G with zsh with "setopt
}    no_beep" (but without using setterm). (Is that supposed to happen?)

No, that's not supposed to happen, unless you've rebound ^G to
self-insert or something.

} 2. if I start the shell with setopt no_beep, I sometimes can't get it to
}    beep again by changing the option (again, without ever touching
}    setterm).

That's also very odd.  As I said before, the only thing nobeep does is
control whether zsh outputs a ctrl-G character at certain times.  The
interpretation of that character is up to the terminal emulator and the
tty settings.

} Just now I remembered that I changed /bin/sh from /bin/bash to /bin/dash
} ("Debian Almquist Shell"). Could this influence how the beep works?

Unknown.  Check whatever the equivalent of /etc/profile is.

I haven't been able to get a system bell to ring on my newish PC since
the day I got it.  I don't know if the manufacturer failed to connect
something, or if gdm/Gnome is turning it off somehow ... and it hasn't
mattered enough to me to open the case to find out ...

Zsh behaves properly, though, as is obvious from the blinking if I turn
on the visible bell in the terminal emulator.



Messages sorted by: Reverse Date, Date, Thread, Author