public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* startxwin.exe without lingering DOS window
@ 2010-01-06 23:14 Raul Acevedo
  2010-01-06 23:32 ` Holger Krull
  2010-02-03 20:24 ` Jon TURNEY
  0 siblings, 2 replies; 6+ messages in thread
From: Raul Acevedo @ 2010-01-06 23:14 UTC (permalink / raw)
  To: cygwin-xfree


How do you run startxwin.exe so that it doesn't leave a lingering MS-DOS
window after it starts the programs in ~/.startwinrc?

Are there plans to update http://x.cygwin.com/docs/ug/using.html so people
like me don't waste a few hours finding out that startxwin.bat has been
replaced by startxwin.exe and that it is documented in its man page?

Thanks,

Raul Acevedo
http://www.cantara.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: startxwin.exe without lingering DOS window
  2010-01-06 23:14 startxwin.exe without lingering DOS window Raul Acevedo
@ 2010-01-06 23:32 ` Holger Krull
  2010-01-14 15:34   ` Derek Greer
  2010-02-03 20:24 ` Jon TURNEY
  1 sibling, 1 reply; 6+ messages in thread
From: Holger Krull @ 2010-01-06 23:32 UTC (permalink / raw)
  To: cygwin-xfree

Am 07.01.2010, 00:14 Uhr, schrieb Raul Acevedo <raul@cantara.com>:

>
> How do you run startxwin.exe so that it doesn't leave a lingering MS-DOS
> window after it starts the programs in ~/.startwinrc?

C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: startxwin.exe without lingering DOS window
  2010-01-06 23:32 ` Holger Krull
@ 2010-01-14 15:34   ` Derek Greer
  2010-01-14 16:49     ` Jim Reisert AD1C
  0 siblings, 1 reply; 6+ messages in thread
From: Derek Greer @ 2010-01-14 15:34 UTC (permalink / raw)
  To: cygwin-xfree




>> How do you run startxwin.exe so that it doesn't leave a lingering MS-DOS
>> window after it starts the programs in ~/.startwinrc?

> C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe


This can't be correct, as this is what exactly what the X Server start menu
link executes and it spawns the the vanilla XTerm window.  I always
customized by startxwin.bat to not launch this window.  How is this done
with the new startxwin.exe?
-- 
View this message in context: http://old.nabble.com/startxwin.exe-without-lingering-DOS-window-tp27052469p27163006.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: startxwin.exe without lingering DOS window
  2010-01-14 15:34   ` Derek Greer
@ 2010-01-14 16:49     ` Jim Reisert AD1C
  2010-01-14 18:02       ` Derek Greer
  0 siblings, 1 reply; 6+ messages in thread
From: Jim Reisert AD1C @ 2010-01-14 16:49 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: dbgreer

On Thu, Jan 14, 2010 at 8:34 AM, Derek Greer wrote:

>> C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe
>
> This can't be correct, as this is what exactly what the X Server start menu
> link executes and it spawns the the vanilla XTerm window.  I always
> customized by startxwin.bat to not launch this window.  How is this done
> with the new startxwin.exe?

Actually, it IS correct.

If you don't want the server to start an xterm by itself, create an
empty ~/.startxwinrc file

- Jim

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: startxwin.exe without lingering DOS window
  2010-01-14 16:49     ` Jim Reisert AD1C
@ 2010-01-14 18:02       ` Derek Greer
  0 siblings, 0 replies; 6+ messages in thread
From: Derek Greer @ 2010-01-14 18:02 UTC (permalink / raw)
  To: cygwin-xfree


> If you don't want the server to start an xterm by itself, create an
> empty ~/.startxwinrc file 

Ah, ok.  For some reason I mistakenly read the original question as "how do
you get startxwin.exe to not show the default XTerm" where the user was
actually talking about a spawning DOS window.  Thanks.
-- 
View this message in context: http://old.nabble.com/startxwin.exe-without-lingering-DOS-window-tp27052469p27165520.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: startxwin.exe without lingering DOS window
  2010-01-06 23:14 startxwin.exe without lingering DOS window Raul Acevedo
  2010-01-06 23:32 ` Holger Krull
@ 2010-02-03 20:24 ` Jon TURNEY
  1 sibling, 0 replies; 6+ messages in thread
From: Jon TURNEY @ 2010-02-03 20:24 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: raul

On 06/01/2010 23:14, Raul Acevedo wrote:
> How do you run startxwin.exe so that it doesn't leave a lingering MS-DOS
> window after it starts the programs in ~/.startwinrc?

As pointed out by others, this is achieved by using 'run' (which is designed 
for exactly that purpose) to invoke startxwin.

The 'XWin Server' start menu entry created by the installation of the xinit 
package should contain a command line to do that: 'C:\cygwin\bin\run.exe 
/usr/bin/bash.exe -l -c /usr/bin/startxwin.exe' (this also gives XWin and all 
your clients a login shell environment)

If that isn't working to hide the DOS window, that would probably be a bug in run.

> Are there plans to update http://x.cygwin.com/docs/ug/using.html so people
> like me don't waste a few hours finding out that startxwin.bat has been
> replaced by startxwin.exe and that it is documented in its man page?

Yes, the plan is to update that documentation either:
i/ When someone sends me a patch, or
ii/ When I have some time and the inclination to do so

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-02-03 20:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-06 23:14 startxwin.exe without lingering DOS window Raul Acevedo
2010-01-06 23:32 ` Holger Krull
2010-01-14 15:34   ` Derek Greer
2010-01-14 16:49     ` Jim Reisert AD1C
2010-01-14 18:02       ` Derek Greer
2010-02-03 20:24 ` Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).