Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I put stty -ixon -ixoff in my .bashrc so I can use Control+S to search the bash history forward (here there is a text about it). However, I sometimes used Control+S to really send the XOFF signal to the TTY, and would like to be able to still do it but using some other key combination. Is it possible to bind some other key combination in such a way it would send the XOFF signal?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

It's not on key combinations but on characters. It can be done with stty stop and stty start. Like:

stty stop '^T'

Above ^T can be either the two characters ^ and T or that ^T character (which you can enter by typing the lnext character (usually ^V) followed by Ctrl-T).

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.