[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: keystroke ctrl+s freezes terminal/console



"Joerg Johannes" <liste_joerg@gmx.de> writes:
> On Tuesday 15 July 2003 17:08, Gary Hennigan wrote:
>> > As Roger already asked: Is there a way to disable this Ctrl-S
>> > shortcut?
>>
>> Ctrl+S/Ctrl+Q is actually the XON/XOFF protocol. If you've been
>> around long enough you'll be familiar with that. It was used a lot
>> for slow terminals and for slow modems. You can disable it in most
>> terminal types using stty. For example:
>>
>>             stty -ixon
>>
>> will disable Ctrl+S. See "man stty" for more details on XON/XOFF.
>
> OK, thanks. This supend is now turned off. Now, Ctrl-S wnats to start an 
> incremental search like in emacs.

That's your shell, bash. By default it uses Emacs-style
keybindings. Look at the Bash man page under READLINE to alter this
behavior. 

Gary



Reply to: