This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: startxdmcp_argument.patch
Description: startxdmcp_argument.patch

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]