delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/26/16:04:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_42,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Tue, 26 May 2009 23:03:34 +0300
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: emacs -nw keypad
In-reply-to: <4A1BD971.70808@cornell.edu>
To: cygwin AT cygwin DOT com
Message-id: <83bppfskbt.fsf@gnu.org>
References: <4A168F2B DOT 4020805 AT cornell DOT edu> <2377ADF68DFE455199B53E97E5747E43 AT HEPNTLTIM3> <4A1B17FD DOT 902 AT dronecode DOT org DOT uk> <4A1BD971 DOT 70808 AT cornell DOT edu>
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

> Date: Tue, 26 May 2009 07:58:41 -0400
> From: Ken Brown <kbrown at cornell dot edu>
> 
> On 5/25/2009 6:13 PM, Jon TURNEY wrote:
> > I would have said that this could be same problem as in [1], an X server 
> > bug, but then I would expect the problem to be seen both in "emacs -nw 
> > in an xterm under X" and "emaacs under X"...
> 
> I'm not yet convinced that there's a bug.  The tpu-*.el files use the 
> emacs variable 'window-system' to decide whether X windows is running. 
> If I start emacs under X, that variable has the value x.  If I run emacs 
> -nw in an xterm, the variable has the value nil.  If I run emacs under 
> rxvt (without specifying -nw), I get the message
> 
> 	Display :0 unavailable, simulating -nw
> 
> and again window-system has the value nil.  This strikes me as the 
> correct behavior, consistent with the documentation of '-nw'.

Yes.

> I guess what's puzzling is why Tim doesn't have a problem with earlier 
> versions of emacs.  Has something changed in how emacs interprets -nw? 
> Or has tpu-edt changed?  Maybe Eli can clarify this.

Sorry, but I have no clue yet.  rxvt.el, the Emacs Lisp package that
supports rxvt, has undergone significant changes since Emacs 21.x, and
the Emacs 23 core includes significant changes in how text-mode
terminals are handled.  Perhaps one or more of these changes have
adverse effect on Cygwin.  Or it could be something in Tim's setup
or customizations.

It would really help me to see the result of typing "C-h l" after
pressing the keypad keys, on Tim's machine, as I requested earlier
in this thread.

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