Re: startxwin.exe without lingering DOS window

2010-02-03 Thread Jon TURNEY

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/



Re: startxwin.exe without lingering DOS window

2010-01-14 Thread Derek Greer



 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/



Re: startxwin.exe without lingering DOS window

2010-01-14 Thread Jim Reisert AD1C
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, jjreis...@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/



Re: startxwin.exe without lingering DOS window

2010-01-14 Thread Derek Greer

 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/



startxwin.exe without lingering DOS window

2010-01-06 Thread Raul Acevedo

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/



Re: startxwin.exe without lingering DOS window

2010-01-06 Thread Holger Krull

Am 07.01.2010, 00:14 Uhr, schrieb Raul Acevedo r...@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/