Disabling BEL on tab auto-complete
I like to have my PC respond to BEL characters in the terminal, eg to report servers that I'm SSH'd into shutting down when I'm not looking at them. But doing this and retaining the tab auto-complete BEL sound means my PC is constantly making bell sounds. Putting set bell-style none in /etc/inputrc fixes this, except I need to put it into each server I ever SSH into, which is neither practical or desirable (as it affects other users of those servers). Any suggestions? I suspect that I'm going to be stuck as I need my local PC to recognise that the BEL it received came from another server's auto-complete, as opposed to something on another server that I care about. But maybe someone here has an intelligent suggestion that I'm too dumb to have thought of? Mark -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG
On Fri, Sep 05, 2014 at 11:28:43AM +0100, Mark Rogers wrote:
I like to have my PC respond to BEL characters in the terminal, eg to report servers that I'm SSH'd into shutting down when I'm not looking at them. But doing this and retaining the tab auto-complete BEL sound means my PC is constantly making bell sounds.
Putting set bell-style none in /etc/inputrc fixes this, except I need to put it into each server I ever SSH into, which is neither practical or desirable (as it affects other users of those servers).
Any suggestions? I suspect that I'm going to be stuck as I need my local PC to recognise that the BEL it received came from another server's auto-complete, as opposed to something on another server that I care about. But maybe someone here has an intelligent suggestion that I'm too dumb to have thought of?
Put it in ~/.inputrc? You still have to do it once per server but then it only affects your user. J. -- Web [ If at first you don't succeed, create an "NT" version. ] site: http:// [ ] Made by www.earth.li/~noodles/ [ ] HuggieTag 0.0.24
On 5 September 2014 18:19, Jonathan McDowell <noodles@earth.li> wrote:
Put it in ~/.inputrc? You still have to do it once per server but then it only affects your user.
Good point, thanks. I was hoping there might be a way to set an environment variable via SSH that would be used at the server end on connection but I haven't found anything useful. -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG
participants (2)
-
Jonathan McDowell -
Mark Rogers