delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/13/18:58:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_63,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <49E3BA94.8090400@cornell.edu>
References: <007d01c9bc7b$afae8820$0f0b9860$@com> <49E3BA94 DOT 8090400 AT cornell DOT edu>
Date: Mon, 13 Apr 2009 18:58:02 -0400
Message-ID: <17393e3e0904131558s16c1e9eexb1590f89d5ebe72d@mail.gmail.com>
Subject: Re: Emacs key bindings not working
From: Matt Wozniski <godlygeek AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Mon, Apr 13, 2009 at 6:20 PM, Ken Brown wrote:
> On 4/13/2009 5:06 PM, Brandon Olivares wrote:
>>
>> I'm noticing not all built-in key bindings are working. I'm trying to set
>> a
>> mark, and read that you use C-@ or C-SPC, but neither are working. C-@
>> does
>> nothing, and C-SPC inserts a space.
>>
>> It tells me C-M-\ should indent the region, but it doesn't do so.
>
> This is a terminal issue. =C2=A0The key bindings work fine if you run ema=
cs under
> X (which is the way I almost always use it) or under mintty. =C2=A0They p=
robably
> work under rxvt also, but I haven't tried that. =C2=A0You may have to rem=
ove tty
> from your CYGWIN variable if you use these other terminals. =C2=A0(I'm not
> positive about that.)

No, mintty, rxvt, and xterm all already behave as though CYGWIN=3Dtty
was set, and there's no way to stop them from doing that.  Setting
CYGWIN=3Dtty just makes cmd.exe, command.com, powershell, etc can be
made to use the cygwin tty layer as well.

See http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html

(no)tty - if set, Cygwin enables extra support (i.e., termios) for
UNIX-like ttys in the Windows console. It is not compatible with some
Windows programs. Defaults to not set, in which case the tty is opened
in text mode.

The salient point is that it only affects "the Windows console".

~Matt

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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