This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 08/02/2010 02:05 PM, JOHNER Jean 066030 wrote: > On 08/02/2010 13:25, Eric Blake wrote: >>> Hello, >>> >>> Typing CTRL-S in a Mintty bash session has the effect of holding it >>> until CTRL-Q is typed. >>> It happens that CRTL-S is also the Windows standard for saving a file >>> (NotePad, WordPad, Office ...) so that it is mapped to :w in my > .vimrc. >>> >>> Is there a way to inactivate this CTRL-S hold in Mintty. >> >> Yes - use stty. For example, my ~/.bash_profile contains: >> >> if tty --quiet ; then >> stty start undef >> fi > > Thank you Eric for this quick answer. > Are you sure of your syntax. I added the above 3 lines to my > ~/.bash_profile. > CTRL-S still results in inactivation of input in a Mintty bash session > with the bonus that CTRL-Q no longer cures the situation. I probably swapped 'start' and 'stop' then (my stty line actually remaps both keys - I find them useful, just not at their default location). 'man stty' for proper details. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |