delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/12/15:09:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3AAD24AE.47212175@ece.gatech.edu>
Date: Mon, 12 Mar 2001 14:34:06 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: Rui-Tao Dong <rdong AT newport DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Inetd & stdout partly solved (was inetd vs. cl)
References: <v5hf16isod DOT fsf AT P...> <v5k85u96w8 DOT fsf AT Phantom-Slow DOT newport DOT com>

Rui-Tao Dong wrote:
> 
> I think I know what the problem is, although I haven't figure out the
> right place to fix it yet.
> 
> I re-built XEmacs (w/ X support) and it produced a little utility
> called runemacs.  If I call runemacs to start XEmacs from a telnet
> session w/ inetd running as service, all stdout gets redirected to my
> emacs buffer.  If I start XEmacs directly, some stdout goes to a DOS
> window.   I checked the runemacs source and found the following
> 
[code snipped]
> 
> Apparently, the wShowWindow flags was set in a CYGWIN window, but not
> from inetd started as a service.

I wasn't aware that runemacs (aka run.exe) could be used for this
purpose.  Cool.  FWIW, "run" contains almost identical code (*) and is
available standalone from
http://www.neuro.gatech.edu/users/cwilson/cygutils/unversioned/run/

--Chuck

(*) I took the runemacs code from XEmacs(21.0ish) and added lots of
stuff.  Then, I *think*, my version was absorbed back into
XEmacs(21.1ish).  Then the whole runemacs thing was dropped in the 21.2
series because 21.2cygwinXEmacs builds as a GUI (no console).

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019