Re: Setup - command line only
I have seen the options that allow to expedite the update process with a command line, and the GUI is still displayed. I don't think this works if you're trying to use these options from a SSH remote access, i.e. you'd still need access to Windows to run the setup so the GUI can be displayed. (I'm not sure on this point exactly. Seems like I tried it.) I will look a the link for the source, to see how difficult it may be to assist. Kevin In reply to Larry Hall (Cygwin), sent at 2009-02-22 10:05 PM : Ralph Hempel wrote: Larry Hall (Cygwin) wrote: No, it's only the 289th time, which probably accounts for why you couldn't find it with Google. ;-) These kinds of features are missing from 'setup.exe' because there hasn't been a volunteer contributor for them. If you're interested in contributing something, see the link below: OK, the update of setup is not supported, but setup DOES in fact allow fully command line based operation. I know because I moaned about it, collected and tested patches, and even contributed a minor fix to the option parsing. That's true but I believe the OP was lamenting that there wasn't a version that didn't still have the GUI even when run from the command line. If I'm wrong, then I'm sure you've made the OP's day. :-) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setup - command line only
Ok, I take it back. setup.exe -q will work on an SSH remote connection. It remains to be seen if it actually updates packages, but a GUI setup display did not appear on the the local Windows display with a remotely invoked setup.exe -q. Thus, I question if setup.exe -q on a remote SSH session will actually update anything. Cygnus for Windows is da bom in my book. You guys have been great in your comments. Usually postings like this for me results in virtual blank stares. Kevin In reply to Kevin and Nancy, sent at 2009-02-23 7:44 AM : I have seen the options that allow to expedite the update process with a command line, and the GUI is still displayed. I don't think this works if you're trying to use these options from a SSH remote access, i.e. you'd still need access to Windows to run the setup so the GUI can be displayed. (I'm not sure on this point exactly. Seems like I tried it.) I will look a the link for the source, to see how difficult it may be to assist. Kevin In reply to Larry Hall (Cygwin), sent at 2009-02-22 10:05 PM : Ralph Hempel wrote: Larry Hall (Cygwin) wrote: No, it's only the 289th time, which probably accounts for why you couldn't find it with Google. ;-) These kinds of features are missing from 'setup.exe' because there hasn't been a volunteer contributor for them. If you're interested in contributing something, see the link below: OK, the update of setup is not supported, but setup DOES in fact allow fully command line based operation. I know because I moaned about it, collected and tested patches, and even contributed a minor fix to the option parsing. That's true but I believe the OP was lamenting that there wasn't a version that didn't still have the GUI even when run from the command line. If I'm wrong, then I'm sure you've made the OP's day. :-) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Setup - command line only
Kevin and Nancy wrote on Monday, February 23, 2009 11:13 AM: Ok, I take it back. setup.exe -q will work on an SSH remote connection. It remains to be seen if it actually updates packages, but a GUI setup display did not appear on the the local Windows display with a remotely invoked setup.exe -q. Thus, I question if setup.exe -q on a remote SSH session will actually update anything. Cygnus for Windows is da bom in my book. You guys have been great in your comments. Usually postings like this for me results in virtual blank stares. We have a system that uses rlogin to update remote machines with 'setup -q' and it works just fine. Since setup is a Windows app, it displays on the remote machine. Of course, when using -q, there isn't much to see but a flickering window as setup non-interactively goes through the install/upgrade process. Setup even returns an error condition if anything went wrong. A couple of gotchas, though: *) Since setup remembers the last download location and mirror, etc., it is a good idea to use the command line flags to set these options every time, so you know exactly what it will be doing. *) Running setup non-interactively will bypass warnings (IIRC) about files-in-use, so if you've got Cygwin processes running, you will need to reboot after upgrading. You'll have to check the setup log files to see if there were any files-in-use. Obviously, though, the ideal situation is to stop all Cygwin processes before running setup :) HTH In reply to Kevin and Nancy, sent at 2009-02-23 7:44 AM : I have seen the options that allow to expedite the update process with a command line, and the GUI is still displayed. I don't think this works if you're trying to use these options from a SSH remote access, i.e. you'd still need access to Windows to run the setup so the GUI can be displayed. (I'm not sure on this point exactly. Seems like I tried it.) I will look a the link for the source, to see how difficult it may be to assist. Kevin In reply to Larry Hall (Cygwin), sent at 2009-02-22 10:05 PM : Ralph Hempel wrote: Larry Hall (Cygwin) wrote: No, it's only the 289th time, which probably accounts for why you couldn't find it with Google. ;-) These kinds of features are missing from 'setup.exe' because there hasn't been a volunteer contributor for them. If you're interested in contributing something, see the link below: OK, the update of setup is not supported, but setup DOES in fact allow fully command line based operation. I know because I moaned about it, collected and tested patches, and even contributed a minor fix to the option parsing. That's true but I believe the OP was lamenting that there wasn't a version that didn't still have the GUI even when run from the command line. If I'm wrong, then I'm sure you've made the OP's day. :-) -- Bryan Thrall FlightSafety International bryan.thr...@flightsafety.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setup - command line only
Kevin and Nancy wrote: Ok, I take it back. setup.exe -q will work on an SSH remote connection. It remains to be seen if it actually updates packages, but a GUI setup display did not appear on the the local Windows display with a remotely invoked setup.exe -q. Thus, I question if setup.exe -q on a remote SSH session will actually update anything. Cygnus for Windows is da bom in my book. You guys have been great in your comments. Usually postings like this for me results in virtual blank stares. There are more settings you can use to get finer grain control of the operation of setup... Here's the bach file I use to drive setup so that it can update and install specific packages. It's a txt file, just rename it to bat and it will run. Ralph @ECHO OFF REM -- REM batch file to automate setup of Cygwin from the command line SETLOCAL FOR /F %%D in (%CD%) DO SET DRIVE=%%~dD SET DFLTSITE=http://mirror.csclub.uwaterloo.ca/cygwin/ SET DFLTLOCALDIR=%CD%/download SET DFLTROOTDIR=%DRIVE%/cygwinTest SET SITE=-s %DFLTSITE% SET LOCALDIR=-l %DFLTLOCALDIR% SET ROOTDIR=-R %DFLTROOTDIR% REM -- REM Here's where I keep track of which packages I've loaded for REM different types of work REM C development: gcc4-core make readline SET PACKAGES=-P gcc4-core,make,readline REM General : diffutils ctags SET PACKAGES=%PACKAGES%,diffutils,ctags REM Packaging : cygport SET PACKAGES=%PACKAGES%,cygport setup -q -n -D -L %SITE% %LOCALDIR% %PACKAGES% ECHO Cygwin installation is updated REM -- ENDLOCAL EXIT /B 0 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setup - command line only
On 02/23/2009, Kevin and Nancy wrote: Ok, I take it back. setup.exe -q will work on an SSH remote connection. This should work fine on any Windows version that allows a service to interact with the Windows desktop. As I recall, that's XP or W2K (or perhaps NT4 if that even really works). -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Setup - command line only
I was hoping someone would consider a version of setup.exe that only ran on the command line, i.e. a non-graphical setup program. This would be especially helpful for remotely updating packages of the Cygwin suite. I think it's ironic that the Cygwin suite which specializes on command line utilities only has a graphical user interface for setup/updates. A separate question might be, why can't setup update itself? Even, click here to download the new setup would be a setup forward. Just some ideas. Hopefully, this isn't the 300th time someone has asked, but I did do a Google before sending this. Kevin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setup - command line only
Kevin and Nancy wrote: I was hoping someone would consider a version of setup.exe that only ran on the command line, i.e. a non-graphical setup program. This would be especially helpful for remotely updating packages of the Cygwin suite. I think it's ironic that the Cygwin suite which specializes on command line utilities only has a graphical user interface for setup/updates. A separate question might be, why can't setup update itself? Even, click here to download the new setup would be a setup forward. Just some ideas. Hopefully, this isn't the 300th time someone has asked, but I did do a Google before sending this. No, it's only the 289th time, which probably accounts for why you couldn't find it with Google. ;-) These kinds of features are missing from 'setup.exe' because there hasn't been a volunteer contributor for them. If you're interested in contributing something, see the link below: http://sources.redhat.com/cygwin-apps/setup.html -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setup - command line only
Kevin and Nancy wrote: A separate question might be, why can't setup update itself? Even, click here to download the new setup would be a setup forward. That is easy to set up yourself. Below is my /bin/cygwin_setup: #! /bin/sh dir=/ url=http://www.cygwin.com/setup.exe; cygwin_setup=${dir}$(basename ${url}) cd ${dir} wget -N ${url} chmod 755 -c ${cygwin_setup} cygstart ${cygwin_setup} --no-shortcuts $...@} -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setup - command line only
Larry Hall (Cygwin) wrote: No, it's only the 289th time, which probably accounts for why you couldn't find it with Google. ;-) These kinds of features are missing from 'setup.exe' because there hasn't been a volunteer contributor for them. If you're interested in contributing something, see the link below: OK, the update of setup is not supported, but setup DOES in fact allow fully command line based operation. I know because I moaned about it, collected and tested patches, and even contributed a minor fix to the option parsing. Ralph -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setup - command line only
Ralph Hempel wrote: Larry Hall (Cygwin) wrote: No, it's only the 289th time, which probably accounts for why you couldn't find it with Google. ;-) These kinds of features are missing from 'setup.exe' because there hasn't been a volunteer contributor for them. If you're interested in contributing something, see the link below: OK, the update of setup is not supported, but setup DOES in fact allow fully command line based operation. I know because I moaned about it, collected and tested patches, and even contributed a minor fix to the option parsing. That's true but I believe the OP was lamenting that there wasn't a version that didn't still have the GUI even when run from the command line. If I'm wrong, then I'm sure you've made the OP's day. :-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setup - command line only
Larry Hall (Cygwin) wrote: Ralph Hempel wrote: Larry Hall (Cygwin) wrote: No, it's only the 289th time, which probably accounts for why you couldn't find it with Google. ;-) These kinds of features are missing from 'setup.exe' because there hasn't been a volunteer contributor for them. If you're interested in contributing something, see the link below: OK, the update of setup is not supported, but setup DOES in fact allow fully command line based operation. I know because I moaned about it, collected and tested patches, and even contributed a minor fix to the option parsing. That's true but I believe the OP was lamenting that there wasn't a version that didn't still have the GUI even when run from the command line. If I'm wrong, then I'm sure you've made the OP's day. :-) That's what I like about this list - there's always another way to interpret a question. For me, the fact that I can now drive setup using a command line is good enough. The fact that the GUI is still visible and being driven by the magic command line incantation is a non-issue for me :-) Ralph -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/