delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/02/09:33:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 2 May 2003 09:33:14 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Garry Heaton <garry AT heaton6 DOT freeserve DOT co DOT uk>
cc: cygwin AT cygwin DOT com
Subject: Re: Remote access keymap problem in Emacs
In-Reply-To: <3EB25691.4090201@heaton6.freeserve.co.uk>
Message-ID: <Pine.GSO.4.44.0305020931180.25128-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Fri, 2 May 2003, Garry Heaton wrote:

> Igor Pechtchanski wrote:
> > On Fri, 2 May 2003, Garry Heaton wrote:
> >
> >>I'm using Cygwin on XP Pro to access a console-based Red Hat server via
> >>ssh. Everything is fine except for Emacs which will not recognise the
> >>Ctrl+<space> combination for setting the Mark. Any ideas? I'm a bit
> >>green on the issue of which end of the client/server supplies which bit
> >>of the networked interface. I tried loading different keymaps on the
> >>server but the result was the same. Red Hat's ENV shows TERM=cygwin so
> >>that's not a problem. I also accessed this server from a Mandrake
> >>machine and didn't have the problem so it appears to be a Cygwin issue.
> >>
> >>Garry Heaton
> >
> > Garry,
> >
> > The problem is likely not Cygwin per se, but Windows (or, rather, the
> > Windows console).  Apparently, the console doesn't recognize the
> > Ctrl-Space combination, and treats it as a regular Space.  So, no special
> > key sequence is sent for the applications to pick up.  At least, that's
> > what I see (with CYGWIN=notty).  Try it with CYGWIN=tty, it might just
> > work for you.  This is not related to ssh, btw.
> >
> > The only other solution, really, is trying a terminal application that
> > doesn't use the Windows console, e.g. rxvt (or, if you have X installed,
> > xterm).  In both of these Ctrl-Space should work just fine (works for me
> > in an xterm).
> >       Igor
>
> Thanks Igor. I already changed my XP env to tty which resolved an earlier
> problem you helped me out with regarding the rendering of a remote Emacs
> session. That worked but I still have this Ctrl+<space> problem. <backspace>
> also doesn't work. Is this problem peculiar to Emacs?
>
> Garry

The backspace is probably a terminal problem; I'd guess an incomplete or
incorrect definition of TERM=cygwin on your remote machine...

FYI, I just tried remote Emacs in an ssh session in an xterm, and it
worked like a charm (although I'm a vi user, so I may not have put Emacs
through enough testing)...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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