RE: Newbie questions: missing packages / script writing
on Tuesday, October 31, 2006 4:56 PM, [EMAIL PROTECTED] wrote: If you had read the list of available lists at http://cygwin.com/lists.html, you would have found the correct list. I did read that page (amongst my other research), but I guess I'm missing something obvious - what list is aimed at cygwin newbies? Adam -- Adam Richardson Carpe Diem This brings up something that I've thought about for a while. Many newbie questions are really not about cygwin, but are really about using a package (in this thread, how does one script in bash). Might it be appropriate and useful to have a list for non-cygwin-specific questions about using packages provided by setup? (Or two lists, for X and non-X.) I know that I feel a part of the cygwin community and might ask questions on a list like that but not on a list with no cygwin connection. (Anyway, first I'd have to find the appropriate list.) I propose this just for discussion. I am not requesting such a list because I am not actually sure that it is a good idea. I can see why one might want not to clutter cygwin.com with a list devoted to questions that are really not directly related to cygwin. And I can imagine that so few people (especially with experience) may subscribe as to make it useless. And I'd like to take this opportunity to thank people who give help on the various cygwin mailing lists for all that they do for us. - Barry - Disclaimer: Statements made herein (and, indeed, in any email that I send to a cygwin list) are not made on behalf of NIAID. -- 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: Newbie questions: missing packages / script writing
Buchbinder, Barry (NIH/NIAID) [E] wrote: on Tuesday, October 31, 2006 4:56 PM, [EMAIL PROTECTED] wrote: If you had read the list of available lists at http://cygwin.com/lists.html, you would have found the correct list. I did read that page (amongst my other research), but I guess I'm missing something obvious - what list is aimed at cygwin newbies? Adam -- Adam Richardson Carpe Diem This brings up something that I've thought about for a while. Many newbie questions are really not about cygwin, but are really about using a package (in this thread, how does one script in bash). Might it be appropriate and useful to have a list for non-cygwin-specific questions about using packages provided by setup? (Or two lists, for X and non-X.) I know that I feel a part of the cygwin community and might ask questions on a list like that but not on a list with no cygwin connection. (Anyway, first I'd have to find the appropriate list.) To me, newbie questions about particular non-Cygwin specific packages/tools are more appropriately addressed to the source of those packages/tools. Actually, I would say that questions of this type should first be researched for the specific package/tool and then if no joy is found, ask the source for help first unless the issue is Cygwin-specific. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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: Newbie questions: missing packages / script writing
on Tuesday, October 31, 2006 4:50 AM, [EMAIL PROTECTED] wrote: Hi All, I've got Cygwin set up on Windows XP but have run in to a problem. As I understand it things, rman is present in the default install of Cygwin and Setup says it's present, so shouldn't typing rman produce something other than command not found? Secondly, how do I create a script so I don't have to re-type the same commands over and over again into the bash console? Thanks a lot, Adam -- Adam Richardson Carpe Diem rman is supposed to be in /usr/X11R6/bin/rman. Probably you need to add that directory to your path. If it is not there, you've misinterpreted what setup is telling you (and maybe even what default includes). Secondly, this question is not specific to cygwin. Try Googling for bash and scripts. http://www.google.com/search?hl=enq=bash+scripts -- 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: Newbie questions: missing packages / script writing
In message [EMAIL PROTECTED], Buchbinder, Barry \(NIH/NIAID\) [E] wrote: on Tuesday, October 31, 2006 4:50 AM, [EMAIL PROTECTED] wrote: I've got Cygwin set up on Windows XP but have run in to a problem. As I understand it things, rman is present in the default install of Cygwin and Setup says it's present, so shouldn't typing rman produce something other than command not found? Secondly, how do I create a script so I don't have to re-type the same commands over and over again into the bash console? rman is supposed to be in /usr/X11R6/bin/rman. Probably you need to add that directory to your path. If it is not there, you've misinterpreted what setup is telling you (and maybe even what default includes). Well, the Package List Search on cygwin.com says that rman is included in (amongst others) xorg-x11-man-pages which Setup has a keep next to meaning they're installed presumably? However /usr/X11R6/bin contains only a file called run.exe. So where is rman? Secondly, this question is not specific to cygwin. Try Googling for bash and scripts. http://www.google.com/search?hl=enq=bash+scripts Thanks. I'll have a look. Adam -- Adam Richardson Carpe Diem -- 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: Newbie questions: missing packages / script writing
FYI, this question should have been sent to cygwin-xfree (at) cygwin.com, not here. All X11 topics belong there. [EMAIL PROTECTED] wrote: Well, the Package List Search on cygwin.com says that rman is included in (amongst others) xorg-x11-man-pages which Setup has a keep next to meaning they're installed presumably? However /usr/X11R6/bin contains only a file called run.exe. So where is rman? The man page (/usr/X11R6/man/man1/rman.1) is in the xorg-x11-man-pages package. The binary (/usr/X11R6/bin/rman.exe) is in the xorg-x11-bin package. Both filenames contain the string rman but one is documentation and one is the actual program. If you have an empty /usr/X11R6/bin/ directory then you don't have the binary package installed. Brian -- 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: Newbie questions: missing packages / script writing
In message [EMAIL PROTECTED], Brian Dessent wrote: FYI, this question should have been sent to cygwin-xfree (at) cygwin.com, not here. All X11 topics belong there. Sorry, I'm at the stage where I don't know enough to know where to direct my questions. (I couldn't see a beginner mailing list anywhere.) [EMAIL PROTECTED] wrote: Well, the Package List Search on cygwin.com says that rman is included in (amongst others) xorg-x11-man-pages which Setup has a keep next to meaning they're installed presumably? However /usr/X11R6/bin contains only a file called run.exe. So where is rman? The man page (/usr/X11R6/man/man1/rman.1) is in the xorg-x11-man-pages package. The binary (/usr/X11R6/bin/rman.exe) is in the xorg-x11-bin package. Both filenames contain the string rman but one is documentation and one is the actual program. If you have an empty /usr/X11R6/bin/ directory then you don't have the binary package installed. Great, that's worked a treat (and enabled me to sort out some other missing packages too). I think I've got enough working now to go away and experiment and hopefully next time I ask my questions will be more sensible! Before I go, I have one more gem though ;-) Barry referred before to writing bash scripts and I've found some useful info on that and can call my scripts from the bash console, but is there away to double click on a file in Windows and have it invoke the bash console and execute my script? Thanks a lot for the pointers so far, Adam -- Adam Richardson Carpe Diem -- 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: Newbie questions: missing packages / script writing
on Tuesday, October 31, 2006 1:33 PM, [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Brian Dessent wrote: FYI, this question should have been sent to cygwin-xfree (at) cygwin.com, not here. All X11 topics belong there. Sorry, I'm at the stage where I don't know enough to know where to direct my questions. (I couldn't see a beginner mailing list anywhere.) [EMAIL PROTECTED] wrote: Well, the Package List Search on cygwin.com says that rman is included in (amongst others) xorg-x11-man-pages which Setup has a keep next to meaning they're installed presumably? However /usr/X11R6/bin contains only a file called run.exe. So where is rman? The man page (/usr/X11R6/man/man1/rman.1) is in the xorg-x11-man-pages package. The binary (/usr/X11R6/bin/rman.exe) is in the xorg-x11-bin package. Both filenames contain the string rman but one is documentation and one is the actual program. If you have an empty /usr/X11R6/bin/ directory then you don't have the binary package installed. Great, that's worked a treat (and enabled me to sort out some other missing packages too). I think I've got enough working now to go away and experiment and hopefully next time I ask my questions will be more sensible! Before I go, I have one more gem though ;-) Barry referred before to writing bash scripts and I've found some useful info on that and can call my scripts from the bash console, but is there away to double click on a file in Windows and have it invoke the bash console and execute my script? Thanks a lot for the pointers so far, Adam -- Adam Richardson Carpe Diem Set up a windows shortcut that calls bash program with options: c:\cygwin\bin\bash.exe -c /usr/local/bin/script.sh If the script takes options you may need to include quotes. c:\cygwin\bin\bash.exe -c '/usr/local/bin/script.sh opt1 opt2' But I would suggest a newbie get very familiar with now things work when you type at the command line before you do something like this. I always worry that nasty things may happen when I'm not looking. I would like some experience with a particular script and certainly with scripting in general before I would trust something to be safe when I just clicked on an icon. (I sometimes click an icon accidentally and launches its program without my having intended to.) -- 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: Newbie questions: missing packages / script writing
In message [EMAIL PROTECTED], Buchbinder, Barry \(NIH/NIAID\) [E] wrote: on Tuesday, October 31, 2006 1:33 PM, [EMAIL PROTECTED] wrote: but is there away to double click on a file in Windows and have it invoke the bash console and execute my script? Set up a windows shortcut that calls bash program with options: c:\cygwin\bin\bash.exe -c /usr/local/bin/script.sh If the script takes options you may need to include quotes. c:\cygwin\bin\bash.exe -c '/usr/local/bin/script.sh opt1 opt2' Thanks. But I would suggest a newbie get very familiar with now things work when you type at the command line before you do something like this. Fair enough. Cheers, Adam -- Adam Richardson Carpe Diem -- 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: Newbie questions: missing packages / script writing
[EMAIL PROTECTED] wrote: Leaving 'name' set to your e-mail address is an invitation to be spammed, ala http://cygwin.com/acronyms/#PCYMTNQREAIYR, since those of us whose mailers are configured correctly don't always bother to obfuscate addresses that senders leave in 'name'. Brian Dessent wrote: FYI, this question should have been sent to cygwin-xfree (at) cygwin.com, not here. All X11 topics belong there. Sorry, I'm at the stage where I don't know enough to know where to direct my questions. (I couldn't see a beginner mailing list anywhere.) If you had read the list of available lists at http://cygwin.com/lists.html, you would have found the correct list. -- Matthew This line intentionally left blank. -- 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: Newbie questions: missing packages / script writing
In message [EMAIL PROTECTED], Matthew Woehlke wrote: [EMAIL PROTECTED] wrote: Leaving 'name' set to your e-mail address is an invitation to be spammed, ala http://cygwin.com/acronyms/#PCYMTNQREAIYR, since those of us whose mailers are configured correctly don't always bother to obfuscate addresses that senders leave in 'name'. Although I'm new at bash/cygwin/unix, I'm not new at mailing lists ;-) You can quote my email address to your heart's content. Brian Dessent wrote: FYI, this question should have been sent to cygwin-xfree (at) cygwin.com, not here. All X11 topics belong there. Sorry, I'm at the stage where I don't know enough to know where to direct my questions. (I couldn't see a beginner mailing list anywhere.) If you had read the list of available lists at http://cygwin.com/lists.html, you would have found the correct list. I did read that page (amongst my other research), but I guess I'm missing something obvious - what list is aimed at cygwin newbies? Adam -- Adam Richardson Carpe Diem -- 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: Newbie questions: missing packages / script writing
On 10/31/2006, cygwin wrote: Brian Dessent wrote: FYI, this question should have been sent to cygwin-xfree (at) cygwin.com, not here. All X11 topics belong there. Sorry, I'm at the stage where I don't know enough to know where to direct my questions. (I couldn't see a beginner mailing list anywhere.) If you had read the list of available lists at http://cygwin.com/lists.html, you would have found the correct list. I did read that page (amongst my other research), but I guess I'm missing something obvious - what list is aimed at cygwin newbies? The lists are not so much divided up by experience as by topic. Issues concerning X go to the cygwin-xfree list, as Brian mentioned. That's why you were pointed to the lists page. It clearly states what kind of questions are on-topic for each list. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/