From rms@gnu.ai.mit.edu  Sat Oct  5 00:21:08 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Sat" " 5" "October" "1996" "03:22:02" "-0400" "Richard Stallman" "rms@gnu.ai.mit.edu" nil "26" "[erich@MICROSOFT.com: NT: GUI programs started from shell-mode shell are invisible]" "^From:" nil nil "10" nil nil nil nil]
	nil)
Received: from ethanol.gnu.ai.mit.edu (ethanol.gnu.ai.mit.edu [128.52.46.64]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id AAA27127 for <voelker@cs.washington.edu>; Sat, 5 Oct 1996 00:21:07 -0700
Received: by ethanol.gnu.ai.mit.edu (8.6.12/8.6.12GNU) id DAA15891; Sat, 5 Oct 1996 03:22:02 -0400
Message-Id: <199610050722.DAA15891@ethanol.gnu.ai.mit.edu>
From: Richard Stallman <rms@gnu.ai.mit.edu>
To: andrewi@harlequin.co.uk, voelker@cs.washington.edu
Subject: [erich@MICROSOFT.com: NT: GUI programs started from shell-mode shell are invisible]
Date: Sat, 5 Oct 1996 03:22:02 -0400

Can you do the right thing with this?

------- Start of forwarded message -------
From: Eric Hanchrow <erich@MICROSOFT.com>
To: "'bug-gnu-emacs@prep.ai.mit.edu'" <bug-gnu-emacs@prep.ai.mit.edu>
Subject: NT: GUI programs started from shell-mode shell are invisible
Date: Fri, 4 Oct 1996 12:43:40 -0700
X-Mailer:  Microsoft Exchange Server Internet Mail Connector Version 4.0.994.29
Encoding: 15 TEXT

In GNU Emacs 19.33.1 (i386-*-nt4.0) of Wed Aug 14 1996 on ERICH4
configured using `configure NT'

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

This is on NT 4 (build 1381).

actions:
	M-x s h e l l RET
	f r e e c e l l RET
symptoms:
The shell prompt appears after I hit RET, as I expect, but no
"freecell" window ever appears.  The "freecell" process exists,
according to Task Manager.
------- End of forwarded message -------

From andrewi@harlequin.co.uk  Mon Oct  7 07:00:49 1996
X-VM-v5-Data: ([nil nil nil nil t nil nil nil nil]
	[nil "Mon" " 7" "October" "1996" "15:00:28" "+0100" "Andrew Innes" "andrewi@harlequin.co.uk" "<199610071400.PAA14778@propos.long.harlequin.co.uk>" "60" "Re: [erich@MICROSOFT.com: NT: GUI programs started from shell-mode shell are invisible]" "^From:" nil nil "10" nil nil nil nil]
	nil)
Received: from holly.cam.harlequin.co.uk (holly.cam.harlequin.co.uk [193.128.4.58]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id HAA18248 for <voelker@cs.washington.edu>; Mon, 7 Oct 1996 07:00:44 -0700
Received: from propos.long.harlequin.co.uk by holly.cam.harlequin.co.uk; Mon, 7 Oct 1996 15:00:31 +0100
Received: from elan.long.harlequin.co.uk (elan [193.128.93.78]) by propos.long.harlequin.co.uk (8.6.12/8.6.12) with SMTP id PAA14778; Mon, 7 Oct 1996 15:00:28 +0100
Message-Id: <199610071400.PAA14778@propos.long.harlequin.co.uk>
In-Reply-To: <199610050722.DAA15891@ethanol.gnu.ai.mit.edu> (message from 	Richard Stallman on Sat, 5 Oct 1996 03:22:02 -0400)
From: Andrew Innes <andrewi@harlequin.co.uk>
To: rms@gnu.ai.mit.edu
Cc: voelker@cs.washington.edu
Subject: Re: [erich@MICROSOFT.com: NT: GUI programs started from shell-mode shell are invisible]
Date: Mon, 7 Oct 1996 15:00:28 +0100

On Sat, 5 Oct 1996 03:22:02 -0400, Richard Stallman <rms@gnu.ai.mit.edu> said:
>Can you do the right thing with this?

I don't think we can in this case.  We need to force the console window
that the command shell inherits to be hidden to avoid clutter on the
screen.  It appears that this has the side effect of hiding GUI apps
that are run directly from the shell, unless the user remembers to type
"start freecell" instead of just "freecell" to run the GUI program
asynchronously.

Since subprocess support is intended primarily for command-line
programs, hopefully this isn't a major problem although it is certainly
unfortunate.  It doesn't happen on Windows 95 though.

Doing a little more experimentation, it appears to be specific to the
standard NT command shell as well.  If I use a cut-down shell program I
wrote for testing, the problem doesn't happen.

----

This is probably a good time to mention that I am intending to submit a
change (hopefully for the next release, if it's not too soon) to the
subprocess support code that will allow Emacs to run multiple DOS
programs on Windows and to interrupt them - the inability to do these
two things is a major limitation of Emacs subprocesses on Windows 95
right now.

BTW, is there a way I can update my 19.34 source tree to match the FSF
source?  I'm thinking of when Geoff submits patches to change "win32"
prefixes to "w32", which will probably be before I submit my changes -
it would mean my patches could be applied directly.

AndrewI

>------- Start of forwarded message -------
>From: Eric Hanchrow <erich@MICROSOFT.com>
>To: "'bug-gnu-emacs@prep.ai.mit.edu'" <bug-gnu-emacs@prep.ai.mit.edu>
>Subject: NT: GUI programs started from shell-mode shell are invisible
>Date: Fri, 4 Oct 1996 12:43:40 -0700
>X-Mailer:  Microsoft Exchange Server Internet Mail Connector Version 4.0.994.29
>Encoding: 15 TEXT
>
>In GNU Emacs 19.33.1 (i386-*-nt4.0) of Wed Aug 14 1996 on ERICH4
>configured using `configure NT'
>
>Please describe exactly what actions triggered the bug
>and the precise symptoms of the bug:
>
>This is on NT 4 (build 1381).
>
>actions:
>	M-x s h e l l RET
>	f r e e c e l l RET
>symptoms:
>The shell prompt appears after I hit RET, as I expect, but no
>"freecell" window ever appears.  The "freecell" process exists,
>according to Task Manager.
>------- End of forwarded message -------



