[PATCH] Allow startxdmcp.bat to Accept REMOTE_HOST as an Argument

Castine, Neil Neil.Castine@acs-inc.com
Mon Mar 30 22:49:00 GMT 2009


Cygwin/X maintainers,

Attached is a simple patch for the startxdmcp.bat script that ships with
xinit. Said patch allows the REMOTE_HOST variable to be set with the
first argument from the command line. I have found this to be very handy
for creating a Windows desktop link (.lnk) to connect to each of my most
commonly used X servers.
 
In some LNK file:
Target = C:\cygwin\bin\startxdmcp.bat SomeHost
Start in = C:\cygwin\bin
 
Being able to create multiple LNK files is much better than creating
multiple copies of startxdmcp.bat with a different REMOTE_HOST set in
each.
 
This simple change has served me well over the last year or so. Please
consider merging it to the Cygwin/X distribution.
 
 
Neil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: startxdmcp_argument.patch
Type: application/octet-stream
Size: 631 bytes
Desc: startxdmcp_argument.patch
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20090330/1de60a11/attachment.obj>
-------------- next part --------------
--
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/


More information about the Cygwin-xfree mailing list