delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/10/06:10:15

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
From: "Kris Thielemans" <kris DOT thielemans AT csc DOT mrc DOT ac DOT uk>
To: "Gnuwin" <cygwin AT cygwin DOT com>
Subject: RE: emacs on cygwin
Date: Thu, 10 Oct 2002 11:04:47 +0100
Message-ID: <NEBBKLAEEMDJBCGCCAOGKEADCIAA.kris.thielemans@ic.ac.uk>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal
In-Reply-To: <5751-Thu10Oct2002103909+0100-starksb@ebi.ac.uk>

>
> However, I don't use the Cygwin port of Emacs (yet?), so I also do not
> know the status of using "emacs -nw" from a remote shell.
>
> Has anyone tried this?  Does it work?
>
Hi

I have NT4.0, latest cygwin, Exceed for X-windows emulation and Exceed
telnetd.
I let cygwin-setup install 'emacs with X toolkit'.

Summary: in my configuration, emacs -nw does not work using telnet.

I tried the following:
- use exceed to open on xterm on a Linux machine
- from there telnet to my NT machine
- I execute \cygwin\cygwin.bat to get my cygwin environment
  this sort of works, but the terminal display rather screwed up
- I try to improve on this using
	export TERM=xterm
- I do
	export DISPLAY=myNT:0
	emacs
  and yes! there comes an X window version of emacs up, just like it happens
  when I did the 2 above lines on my NT machine locally. (ok, no surprise
maybe)
- I now do
	emacs -nw
and things go very wrong. emacs does start. You see things happening on the
screen,
but it's all jumbled up (it's even worse without the TERM statement). I
can't really do a thing. When I try to quit with ctrl-X ctrl-C I hear a beep
when I press the ctrl-C and that's it. I can't get out. Have to quit telnet
by hand.



Maybe playing around with the CYGWIN_TTY environment variable would help
(but I didn't find any doc on that one).
Of course, using another telnetd might also improve matters. (Is cygwin's
telnetd good and easy to install these days?)

Kris


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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