Warren Young wrote:
John Cooper wrote:
The problem is that I often don't want to have to terminate the GUI
app just to
get my shell prompt back.
Well now, that's an entirely different deal.
Somehow, cmd.exe detects that a program is GUI-only, and it gives you
your prompt back when the program ha
> -Original Message-
> From: cygwin-owner On Behalf Of Peter A. Castro
> Sent: 18 June 2004 19:38
> > >> [win32sdk]
> > >>>ID: Q90493
> > >
> > > I have a suspicion that this (and similar) code samples
> should probably
> > > not be posted to this list; can everyone please snip
> thei
On Fri, 18 Jun 2004, Jani tiainen wrote:
> Dave Korn wrote:
>
> >>-Original Message-
> >>From: cygwin-owner On Behalf Of Peter A. Castro
> >>Sent: 17 June 2004 21:13
> >>To: John Cooper
> >>Cc: cygwin
> >>Subject: RE: Ctrl-Z fai
---
From: John Cooper
Sent: Friday, June 18, 2004 5:30 AM
To: [EMAIL PROTECTED]
Subject: Re: Ctrl-Z fails to suspend Windows programs
[snip]
The problem is that I often don't want to have to terminate the GUI app just
to
get my shell prompt back.
[snip]
--
Unsubscribe info: http://
John Cooper wrote:
The problem is that I often don't want to have to terminate the GUI app just to
get my shell prompt back.
Well now, that's an entirely different deal.
Somehow, cmd.exe detects that a program is GUI-only, and it gives you
your prompt back when the program has launched. I suspect
Dave Korn wrote:
-Original Message-
From: cygwin-owner On Behalf Of Peter A. Castro
Sent: 17 June 2004 21:13
To: John Cooper
Cc: cygwin
Subject: RE: Ctrl-Z fails to suspend Windows programs
Anyway, can you point me to where you got this code example?
[win32sdk]
ID: Q90493
I
> -Original Message-
> From: cygwin-owner On Behalf Of Peter A. Castro
> Sent: 17 June 2004 21:13
> To: John Cooper
> Cc: cygwin
> Subject: RE: Ctrl-Z fails to suspend Windows programs
> Anyway, can you point me to where you got this code example?
> [
Thorsten Kampe <[EMAIL PROTECTED]> writes:
> Why should Cygwin zsh have such a feature and make a difference
> between a GUI and a non GUI application?
Two reasons:
1) Most native Windows apps don't read from or write to the invoking shell window
- it doesn't add much value to run them in th
nt is_9x_gui(char *prog) {
> >
> >char *progpath;
> >DWORD dwret;
> >char *pathbuf;
> >char *pext;
> >
> > pathbuf=xmalloc(MAX_PATH);
> >
> >progpath=xmalloc(MAX_PATH<<1);
> >
> >if (GetEnvironmentV
* Peter A. Castro (2004-06-17 22:13 +0100)
> On Tue, 15 Jun 2004, John Cooper wrote:
>> > The point is that it's not about cygwin-vs-windoze apps. It's about
>> > apps-that-use-console-stdin-and-stdout vs. apps-that-display-a-gui; those
>> > that show a gui could usefully be detached, but those
dwret = SearchPath(pathbuf,prog,".EXE",MAX_PATH<<1,progpath,&pext);
>
> if ( (dwret == 0) || (dwret > (MAX_PATH<<1) ) )
> goto failed;
>
> dprintf("progpath is %s\n",progpath);
> dwret = is_gui(progpath);
Dave Korn wrote:
-Original Message-
From: cygwin-owner On Behalf Of John Cooper
Sent: 15 June 2004 15:05
To: cygwin
Subject: RE: Ctrl-Z fails to suspend Windows programs
The old native (non-cygwin) port of zsh would somehow detect
if it was about to
exec a Windows app, and run it as a
> -Original Message-
> From: cygwin-owner On Behalf Of Jani tiainen
> Sent: 16 June 2004 06:13
> To: cygwin
> Subject: Re: Ctrl-Z fails to suspend Windows programs
>
> Christopher Faylor wrote:
> > There is no way to reliably suspend a Windows programs.
&
On Wed, Jun 16, 2004 at 08:13:09AM +0300, Jani tiainen wrote:
>Christopher Faylor wrote:
>>On Tue, Jun 15, 2004 at 03:37:05PM +0300, Jani tiainen wrote:
>>
>>>Christopher Faylor wrote:
>>>
On Tue, Jun 15, 2004 at 09:58:16AM +0100, John Cooper wrote:
>Is it a known limitation that "nati
Christopher Faylor wrote:
On Tue, Jun 15, 2004 at 03:37:05PM +0300, Jani tiainen wrote:
Christopher Faylor wrote:
On Tue, Jun 15, 2004 at 09:58:16AM +0100, John Cooper wrote:
Is it a known limitation that "native" Windows programs cannot be
suspended?
Yes. Window programs do not understand cygwin
> -Original Message-
> From: cygwin-owner On Behalf Of John Cooper
> Sent: 15 June 2004 16:12
> > I don't think there's a reliable enough mechanism by which
> a shell could
> > detect one case from the other.
>
> Below is the code it used to determine if a program is a GUI
> program o
0;
}
--- John
-Original Message-
From: Dave Korn [mailto:[EMAIL PROTECTED]
Sent: 15 June 2004 15:40
To: 'John Cooper'; [EMAIL PROTECTED]
Subject: RE: Ctrl-Z fails to suspend Windows programs
> -Original Message-
> From: cygwin-owner On Behalf Of Joh
> -Original Message-
> From: cygwin-owner On Behalf Of John Cooper
> Sent: 15 June 2004 15:05
> To: cygwin
> Subject: RE: Ctrl-Z fails to suspend Windows programs
>
> The old native (non-cygwin) port of zsh would somehow detect
> if it was about to
> exec a W
: Ctrl-Z fails to suspend Windows programs
On Tue, Jun 15, 2004 at 03:37:05PM +0300, Jani tiainen wrote:
>Christopher Faylor wrote:
>>On Tue, Jun 15, 2004 at 09:58:16AM +0100, John Cooper wrote:
>>>Is it a known limitation that "native" Windows programs cannot be
>
On Tue, Jun 15, 2004 at 03:37:05PM +0300, Jani tiainen wrote:
>Christopher Faylor wrote:
>>On Tue, Jun 15, 2004 at 09:58:16AM +0100, John Cooper wrote:
>>>Is it a known limitation that "native" Windows programs cannot be
>>>suspended?
>>
>>Yes. Window programs do not understand cygwin signals.
>
>
Christopher Faylor wrote:
On Tue, Jun 15, 2004 at 09:58:16AM +0100, John Cooper wrote:
Is it a known limitation that "native" Windows programs cannot be suspended?
Yes. Window programs do not understand cygwin signals.
Thats true for cygwin part. Native programs still can be
suspended/resumed bu
On Tue, Jun 15, 2004 at 09:58:16AM +0100, John Cooper wrote:
>Is it a known limitation that "native" Windows programs cannot be suspended?
Yes. Window programs do not understand cygwin signals.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwi
22 matches
Mail list logo