Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Rui-Tao Dong CC: cygwin AT cygwin DOT com Subject: Re: Inetd & stdout partly solved (was inetd vs. cl) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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