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]

Re: Emacs key bindings not working


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. ÂThe key bindings work fine if you run emacs under
> X (which is the way I almost always use it) or under mintty. ÂThey probably
> work under rxvt also, but I haven't tried that. ÂYou may have to remove tty
> from your CYGWIN variable if you use these other terminals. Â(I'm not
> positive about that.)

No, mintty, rxvt, and xterm all already behave as though CYGWIN=tty
was set, and there's no way to stop them from doing that.  Setting
CYGWIN=tty 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]