delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/07/18:52:19

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
Message-ID: <3F834370.7050001@acm.org>
Date: Tue, 07 Oct 2003 15:51:28 -0700
From: David Rothenberger <daveroth AT acm DOT org>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.4-1: Problem with XEmacs, fonts, and subprocesses.
References: <CFF3E15126A0EF4F96D9FABED7A40266715A49 AT mail DOT i DOT turbinegames DOT com><3F7F1883 DOT 4070809 AT urth DOT org> <f5bisn2snoo DOT fsf AT erasmus DOT inf DOT ed DOT ac DOT uk><Pine DOT GSO DOT 4 DOT 56 DOT 0310061051470 DOT 15176 AT slinky DOT cs DOT nyu DOT edu><f5b7k3iqup0 DOT fsf AT erasmus DOT inf DOT ed DOT ac DOT uk><Pine DOT GSO DOT 4 DOT 56 DOT 0310061114310 DOT 15176 AT slinky DOT cs DOT nyu DOT edu> <f5bllrxpdi4 DOT fsf AT erasmus DOT inf DOT ed DOT ac DOT uk> <blv55o$j1d$1 AT sea DOT gmane DOT org>
In-Reply-To: <blv55o$j1d$1@sea.gmane.org>

Yadin Y. Goldschmidt wrote:

> It is true that making a xemacs.bat file which contains
> c:\cygwin\usr\X11R6\bin\run.exe /bin/bash -c
> "/usr/local/bin/i686-pc-cygwin/xemacs" makes XEmacs run correctly
> under cygwin 1.5.5. (Actually one needs to add a line 'set
> cygwin=tty ' before that line if one does not already have it in
> the windows' environment). Alternatively one can run it from rxvt.
> By running correctly I mean nvoking secondary processes like
> opening a shell or compiling a program.  However the bigger
> question is why XEmacs ran correctly before from its icon on the
> desk and it does not run correctly now? It must be something that
> has changed going from cygwin 1.3.22 to 1.5 that prevents runnung
> this application from the dos command line when it was compiled
> with cygwin.  In 1.3.22 it ran flawlessly.  It seems that this
> change affects also some other applications. 

Right, it was a change in the 1.5.x series related to tty management 
code.  I think the changes made to help services run without pop-up 
windows broke XEmacs

 > I wonder also if once XEmacs is compiled with 1.5.5 it will also
 > run from the dos prompt or icon or not.

I compile my own XEmacs and it does not make a difference.  It also 
doesn't matter if XEmacs is compiled with X support or not.

I have not experienced the problem with fonts, but I do have a problem 
with copy/paste; it stops interacting with the Windows clipboard once a 
subshell is started, unless XEmacs is started from rxvt.  One 
interesting bit of information is that if XEmacs is configured to use 
pipes instead of ttys for subprocesses (setq process-connection-type 
nil), copy/paste works fine.

I've taken several stabs at debugging this problem, but the tty 
management in the Cygwin kernel is over my head.

> "Henry S. Thompson" <ht AT cogsci DOT ed DOT ac DOT uk> wrote in message
> news:f5bllrxpdi4 DOT fsf AT erasmus DOT inf DOT ed DOT ac DOT uk...
> 
>>Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> writes:
>>
>>
>>>On Mon, 6 Oct 2003, Henry S. Thompson wrote:
>>>
>>>
>>>>Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> writes:
>>>>
>>>><snip/>
>>>>
>>>>>>If you're _really_ obsessive (like me :-( about launching from an
>>>>>>icon, compile the following and point the icon at it.
>>>>>>
>>>>>>Hope this helps,
>>>>>>ht
>>>>>>[code snipped]
>>>>>>   if (CreateProcess (NULL, "c:\\cygwin\\bin\\bash -c
> 
> \"/usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start\"", &sec_attrs,
> NULL, TRUE, 0,
> 
>>>>>>                      NULL, NULL, &start, &child))
>>>>>
>>>>>Ouch!  Why not simply point the shortcut at
> 
> 'c:\cygwin\bin\bash --login -c
> 
>>>>>"/usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start"'?
>>>>>      Igor
>>>>
>>>>Because that produces an unsightly command window as well as the
>>>>desired xemacs window.  That's what all the WinMain etc. stuff is
>>>>there to defeat.
>>>>
>>>>ht
>>>
>>>Umm, yeah, ok, make that 'c:\cygwin\usr\X11R6\bin\run.exe /bin/bash
>>>--login -c "/usr/local/bin/i686-pc-cygwin/xemacs -f gnuserv-start"',
> 
> then.
> 
>>>:-D
>>>Igor
>>
>>Ah, but I don't run X, just vanilla cygwin.
>>
>>See you and raise you again :-)
>>
>>ht
>>-- 
>>  Henry S. Thompson, HCRC Language Technology Group, University of
> 
> Edinburgh
> 
>>                      Half-time member of W3C Team
>>     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
>>    Fax: (44) 131 650-4587, e-mail: ht AT cogsci DOT ed DOT ac DOT uk
>>     URL: http://www.ltg.ed.ac.uk/~ht/
>> [mail really from me _always_ has this .sig -- mail without it is forged
> 
> spam]
> 
> 
> 
> 
> 
> --
> 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/


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