| www.delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD |
| X-Spam-Check-By: | sourceware.org |
| MIME-Version: | 1.0 |
| Subject: | Re: How to inactivate CTRL-S hold in a Mintty bash session or ssh connection |
| Date: | Mon, 2 Aug 2010 22:05:01 +0200 |
| Message-ID: | <1299EF3181B10F479D85C328013285240331C4D0@THEZE.intra.cea.fr> |
| From: | "JOHNER Jean 066030" <Jean DOT JOHNER AT cea DOT fr> |
| To: | <cygwin AT cygwin DOT com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 08/02/2010 13:25, Eric Blake wrote: >> Hello, >>=20 >> 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. >>=20 >> Is there a way to inactivate this CTRL-S hold in Mintty. >=20 > 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. The only way out was to kill the window with the Task Manager. Best regards. Jean Johner -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |