delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/02/09:25:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C56C702.6040507@redhat.com>
Date: Mon, 02 Aug 2010 07:24:18 -0600
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How to inactivate CTRL-S hold in a Mintty bash session or ssh connection
References: <1299EF3181B10F479D85C328013285240331C4CF AT THEZE DOT intra DOT cea DOT fr>
In-Reply-To: <1299EF3181B10F479D85C328013285240331C4CF@THEZE.intra.cea.fr>
X-IsSubscribed: yes
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

--------------enigB04B79CD563A0B62BE1BFE78
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 08/02/2010 07:17 AM, JOHNER Jean 066030 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.

Yes - use stty.  For example, my ~/.bash_profile contains:

if tty --quiet ; then
  stty start undef
fi

--=20
Eric Blake   eblake AT redhat DOT com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enigB04B79CD563A0B62BE1BFE78
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJMVscCAAoJEKeha0olJ0NqAZgH+wUWVW8pPeZhiJvYcQ8USKKd
AmsxPHj1H6aD9r1SzU3ygEGiltIV/EzLIbdLkOwnXA7EUIA+/QNcA43bajuDqBBY
1YlbzoLntATVB8TCR8g0jPpJIW1G1j36V34sgBqZ56SI5hrb4eyFdXAzdQse+jK/
HplNDwHwtAM/hsbCSIs2SB1UoTG5iPOCmPa52xMYlozpnnxdEsukJtCMQLeL1f/8
f5N5Gc6H+9PIYMUvK8t1ciCGmZjllKd0Y77BuNzN7duDudzMv1PehTQ0I2iGXI52
f1B+T5APaKGsjDZC9wGsnZzLJpznRpBh1ip4oh5ieL+hNsMHyvwD47DilQC2p4k=
=c9cH
-----END PGP SIGNATURE-----

--------------enigB04B79CD563A0B62BE1BFE78--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019