cygpath Suggestion
It might be useful to have a cygpath option that outputs %COMSPEC% and exits directly and without needing to do `cygpath "$COMSPEC"` (I know -- PTC -- but I'm not a programer.) - Barry Buchbinder __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree -- 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/
Question about Managed Mode and UMSDOS
Just a question. (I googled http://www.google.com/search?q=site%3Acygwin.com%20umsdos and did not find an answer -- at least one that I could recognize.) Are the file structures used by managed mode consistant with those used by Linux's UMSDOS file system? For example, will a Cywin managed mode mount be accessable in unmunged form by a Linux using a UMSDOS driver and visa versa? Thanks, - Barry __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.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: Command-line options for setup.exe
On Sat, Feb 22, 2003 at 12:15:29PM -0500, Garg, Rajiv wrote: > Does setup.exe support command-line options? see http://sources.redhat.com/ml/cygwin/2002-11/msg01490.html - Barry Buchbinder __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: bash lockup
I see this all the time, too (in Win98se). WINOLDAP seems to be how Windows handles the cygwin console. It also uses it for win95cmd. And it is there even when nothing is locked up. Windows doesn't seem to use WINOLDAP for a COMAND.COM DOS box. Don't think of it as a problem or bug (or even a "feature"); think of it as a behavior. It's not that hard to live with. - Barry At 01:41 AM 2/1/2003, Sean McBride wrote: >I thank all of you who comented on my last post. > >I have another small problem. > >I installed the package with the installer and then later, added pine to my >installation. I don't think installing pine has anything to do with my >problem, but I only noticed this after adding that package. > >occasionally when executing commands from bash the command window locks up. >^c does nothing and I can't even close the window. Even Ctrl-Alt-Del End >task won't get rid of the misbehaving command window. Only if I shut down a >task called "oldwinapp" does the command window go away. Then I am able to >restart bash and rerun the same exact command I attempted before with no >problem. After a while, it locks up on another command.. There seems to be >no pattern to the command or time it does this at. > >Has anyone else experienced this problem? Maybe I am doing something wrong? No and this doesn't look like a Cygwin issue per se. "oldwinapp" seems to be the problem here, whatever that is. It certainly doesn't come with the Cygwin distribution. I suggest you investigate this. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin official logo ?
Don't even think about it. It's under Disney copyright, and the word "agressive" doesn't come close to describing how Disney protects their copyrights. - Barry -Original Message- From: Jehan [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 11:35 am To: [EMAIL PROTECTED] Subject: Re: cygwin official logo ? Corinna Vinschen wrote: > That's ok with me but my intend is to find a neat animal (there are > lots of them besides otters and koalas) What about a "stitch"? In the movie they say it looks like a koala and I'm sure O'Reilly didn't use it on their books. :) Jehan __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
re: Cygwin official logo ?
OK. Then how about a swan? A swan and a gnu? A swan and a gnu being viewed through a window? ("GNU + Cygnus + Windows = Cygwin") -Original Message- From: egor duda [mailto:[EMAIL PROTECTED]] Sent: Friday, November 29, 2002 9:59 am Subject: Re: Cygwin official logo ? Hi! Friday, 29 November, 2002 Barry Buchbinder [EMAIL PROTECTED] wrote: BB> How about a penguin looking through a window? It'd be clearly misleading. Cygwin is not Linux for Windows. We have enough confusion already with people thinking otherwise. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin official logo ?
How about a penguin looking through a window? The penguin is from http://www.isc.tamu.edu/~lewing/linux/ which says "Permission to use and/or modify this image is granted provided you acknowledge me [EMAIL PROTECTED] and The GIMP if someone asks." I made the window. Since the MS logo has curvy windows with trailing "pixels", I wouldn't think that there would be any trademark infringement because there is no chance that one could confuse the two. - Barry Buchbinder -Original Message- From: Corinna Vinschen [mailto:[EMAIL PROTECTED]] Sent: Friday, November 29, 2002 7:40 am To: [EMAIL PROTECTED] Subject: Re: Cygwin official logo ? On Thu, Nov 28, 2002 at 10:26:21AM +, Yann Crausaz wrote: > Hello, > > As an illustration for a paper I'm writing about Cygwin, I'm looking for > THE official Cygwin logo. I guess that this official logo isn't the "GNU > + Cygnus + Windows = Cygwin" standing on the homepage (www.cygwin.com), > and not even the black "C" above the "Install Cygwin Now" link... > > Where could I find it ? Actually there is no official logo besides what you've already seen. Months ago we discussed an animal logo like other OSS project have and one idea was an otter. A koala would be funny, too. The idea failed so far mainly due to the inability to find a good, copyright-free drawing of such an animal. Corinna __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com <>-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Setup Command Line Options
In his recent announcement of a new Setup beta, Robbert Collins mentioned new command line options. Are these (both new and old options) documented anywhere? If so, where? I've looked around and have not found it. If not, when might we expect some documentation? Thanks for all the good work. - Barry Buchbinder __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gawk not taking redirected input under command.com
According to cygcheck, I'm running gawk-3.1.1-3 -Original Message- From: Peter S Tillier [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 1:19 pm To: [EMAIL PROTECTED] Subject: Re: gawk not taking redirected input under command.com - Original Message - From: "Christopher Faylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 07, 2002 3:42 PM Subject: Re: gawk not taking redirected input under command.com > On Mon, Oct 07, 2002 at 07:14:26AM -0700, Barry Buchbinder wrote: > > C:\> gawk '{print "x" $0 "y"}' < autoexec.bat > >gave no "x" but "y" was at the *beginning* of the line! > > Calm down. > > >C:\> gawk '{print $0 "yz" }' < autoexec.bat > >showed that what was happening was that the "yz" was *overwriting* the > >beginning of the line. > > So, to summarize, this is a standard CRLF problem. If you look at the > output in od or less you can see what is going on. > > I don't know why this version of gawk is having CRLF problems. I'll > check to see if this is a cygwin problem or a gawk problem but I suspect > it is a gawk problem. > > cgf Chris, This bug was fixed in release gawk-3.1.1-3 Peter S Tillier[EMAIL PROTECTED] __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: gawk not taking redirected input under command.com
cygwin1-20021007.dll fixes it, but a new bug is revealed. To remind you, this is on command.com on win98se with all mounts binmode. As before, C:\> gawk '{ print "!" $0 "!" }' autoexec.bat works as expected placing a "!" at the beginning of each line and a "!" at the end. C:\> gawk '{ print "!" $0 "!" }' < autoexec.bat no longer gives the error message about "file `-' is a directory". The new bug was that only the leading "!" is inserted. In further testing C:\> gawk '{print "x" $0 "y"}' autoexec.bat worked as expected with an "x" at the beginning of each line and a "y" at the end. But C:\> gawk '{print "x" $0 "y"}' < autoexec.bat gave no "x" but "y" was at the *beginning* of the line! C:\> gawk '{print $0 "yz" }' < autoexec.bat showed that what was happening was that the "yz" was *overwriting* the beginning of the line. C:\> gawk '{print "123" $0 "yz" }' < autoexec.bat showed that the leading 123 was being inserted correctly before "xy" overwrote the "12". Any more data I could collect to help someone debug this? (I'm a user, not a programmer.) - Barry -Original Message- From: Christopher Faylor [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 05, 2002 1:37 pm To: [EMAIL PROTECTED] Subject: Re: gawk not taking redirected input under command.com On Wed, Oct 02, 2002 at 08:14:26AM -0700, Barry Buchbinder wrote: >It's definitly cygwin's gawk doing it. > > C:\> c:\cygwin\bin\gawk -f t < autoexec.bat > GAWK: t:3: fatal: file `-' is a directory I'm not sure how or why this was fixed, but it seems like this is fixed in the current cygwin snapshots and so will be fixed in the 1.3.13 release. We're still having some problems with the DLL, though, so I don't have an ETA for the official release. In the meantime, try a snapshot: http://cygwin.com/snapshots/ . cgf __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Problems with find -exec somecommand | tosomeother command
Assuming none of the files have any spaces in their names, the following would be faster (and works). wc -l `find . -name \*.frm -print` - Barry -Original Message- From: Sheryl McKeown [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 2:39 pm To: [EMAIL PROTECTED] Subject: Problems with find -exec somecommand | tosomeother command Hello, I'm attempting to find the number of lines in each file of a source directory. Using bash, I'm using the following command: find . -name "*.frm" -exec cat -n {} | tail -n1 \; but it returns the error cfind: missing argument to `-exec' tail: ;: No such file or directory I've tried various quoting schemes but I can't seem to get it to work. I am running XP Prof SP1. Any help is appreciated. -Sheryl __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: gawk not taking redirected input under command.com
I get the same problems under under win95cmd.exe. It fails with redirection but not reading input from a file: C:\> c:\cygwin\bin\gawk -f t < autoexec.bat gawk: t:3: fatal: file `-' is a directory Running under strace and back under command.com I get the following: C:\> type t | c:\cygwin\bin\strace -o strace.out c:\cygwin\bin\gawk -f t gawk: t:3: fatal: file `-' is a directory I've attached strace's output. Might the fact that the line number quoted is *after* the end of the file tell us something? (t has 2 lines but the error is in line 3. When the script is on the command line, the error is in line 2.) Thanks again, - Barry Buchbinder -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 12:51 pm To: [EMAIL PROTECTED] Subject: Re: gawk not taking redirected input under command.com Don, The gawk examples work under cmd.exe in Win2k. It is possible, however, that command.com doesn't do the right thing with pipes. Does strace run under Win98? If so, the output of "c:\cygwin\bin\strace c:\cygwin\bin\gawk '...' < autoexec.bat" might be instructive... Igor On Wed, 2 Oct 2002, Don Sharp wrote: > Is it possible that cmd.exe (and command.com) redirections and pipes are > not acceptable whereas bash.exe uses Cygwin implemented redirections? > > Cheers > > Don Sharp > > Barry Buchbinder wrote: > > > > It's definitly cygwin's gawk doing it. > > > > C:\> c:\cygwin\bin\gawk -f t < autoexec.bat > > GAWK: t:3: fatal: file `-' is a directory > > > > The following gives the expect output: > > > > C:\> c:\cygwin\bin\gawk -f t autoexec.bat > > > > There is no other gawk in the path. > > > > In bash: > > > > /c> type -a gawk > > gawk is /bin/gawk > > /c> /bin/which gawk > > /bin/gawk > > > > In command.com, using both cygwin which and an MS-DOS > > which: > > > > C:\> c:\cygwin\bin\which.exe gawk > > /usr/bin/gawk > > > > C:\> c:\bin\which.exe gawk > > C:/CYGWIN/BIN/gawk.exe > > > > In command.com, doing "dir /s /b" on all of the C: > > drive: > > > > C:\> dir /s /b gawk.exe > > C:\cygwin\bin\gawk.exe > > > > Similar searches for gawk.bat and gawk.com find > > nothing. > > > > - Barry > > > > -Original Message- > > From: Christopher Faylor > > [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, October 02, 2002 10:14 am > > To: [EMAIL PROTECTED] > > Subject: Re: gawk not taking redirected input under > > command.com > > > > On Wed, Oct 02, 2002 at 05:47:52AM -0700, Barry > > Buchbinder wrote: > > >I have a problem with gawk. > > > > > >Under bash, it works as expected. > > > > > >Under command.com (win98se) it does the following > > when > > >taking input from a pipe or by redirection. > > > > > > C:\> cat autoexec.bat | gawk '{ print "!" $0 "!" }' > > > GAWK: cmd. line:2: fatal: file `-' is a directory > > > > > > C:\> gawk '{ print "!" $0 "!" }' < autoexec.bat > > > GAWK: cmd. line:2: fatal: file `-' is a directory > > > > Sounds like you have another, non-cygwin version of > > gawk on your system. > > > > cgf -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com ** Program name: C:\CYGWIN\BIN\GAWK.EXE (108158981) App version: 1003.12, api: 0.54 DLL version: 1003.12, api: 0.54 DLL build:2002-07-06 02:16 OS version: Windows 98-4.10 Date/Time:2002-10-02 17:38:27 ** 638 13161 [main] GAWK 108158981 check_case_init: File case checking set to ADJUST 255 13416 [main] GAWK 108158981 parse_options: check_case (called func) 436 13852 [main] GAWK 108158981 set_file_api_mode: File APIs set to OEM 224 14076 [main] GAWK 108158981 parse_options: codepage (called func) 433 14509 [main] GAWK 108158981 parse_options: envcache 0 429 14
RE: gawk not taking redirected input under command.com
It's definitly cygwin's gawk doing it. C:\> c:\cygwin\bin\gawk -f t < autoexec.bat GAWK: t:3: fatal: file `-' is a directory The following gives the expect output: C:\> c:\cygwin\bin\gawk -f t autoexec.bat There is no other gawk in the path. In bash: /c> type -a gawk gawk is /bin/gawk /c> /bin/which gawk /bin/gawk In command.com, using both cygwin which and an MS-DOS which: C:\> c:\cygwin\bin\which.exe gawk /usr/bin/gawk C:\> c:\bin\which.exe gawk C:/CYGWIN/BIN/gawk.exe In command.com, doing "dir /s /b" on all of the C: drive: C:\> dir /s /b gawk.exe C:\cygwin\bin\gawk.exe Similar searches for gawk.bat and gawk.com find nothing. - Barry -Original Message- From: Christopher Faylor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 10:14 am To: [EMAIL PROTECTED] Subject: Re: gawk not taking redirected input under command.com On Wed, Oct 02, 2002 at 05:47:52AM -0700, Barry Buchbinder wrote: >I have a problem with gawk. > >Under bash, it works as expected. > >Under command.com (win98se) it does the following when >taking input from a pipe or by redirection. > > C:\> cat autoexec.bat | gawk '{ print "!" $0 "!" }' > GAWK: cmd. line:2: fatal: file `-' is a directory > > C:\> gawk '{ print "!" $0 "!" }' < autoexec.bat > GAWK: cmd. line:2: fatal: file `-' is a directory Sounds like you have another, non-cygwin version of gawk on your system. cgf __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
gawk not taking redirected input under command.com
I have a problem with gawk. Under bash, it works as expected. Under command.com (win98se) it does the following when taking input from a pipe or by redirection. C:\> cat autoexec.bat | gawk '{ print "!" $0 "!" }' GAWK: cmd. line:2: fatal: file `-' is a directory C:\> gawk '{ print "!" $0 "!" }' < autoexec.bat GAWK: cmd. line:2: fatal: file `-' is a directory I similarly misbehaves when putting the awk script into a file and taking input from a pipe. C:\> cat t { print "!" $0 "!" } C:\> cat autoexec.bat | gawk -f t GAWK: t:3: fatal: file `-' is a directory C:\> gawk -f t < autoexec.bat GAWK: t:3: fatal: file `-' is a directory However taking input directly from a file works as expected. (I'll spare you the output.) C:\> gawk '{ print "!" $0 "!" }' autoexec.bat C:\> gawk -f t autoexec.bat Filtering through dos2unix or unix2dos before gawk doesn't help. Filtering through cat after awk doesn't help. --posix and --traditional don't help. Any suggestions? Thanks, - Barry Below is the output of "cygcheck -s -v -r -h" == Cygwin Win95/NT Configuration Diagnostics Current System Time: Tue Oct 01 13:32:49 2002 Windows 98 SE Ver 4.10 Build Path: C:\cygwin\bin C:\cygwin\usr\local\bin . c:\bin c:\usr c:\WINDOWS c:\WINDOWS\COMMAND c:\ p:\UTILS t:\ORAWIN95\BIN c:\PROGRA~1\NETWOR~1\MCAFEE~1 c:\SNA95\system c:\DMI\BIN SysDir: C:\WINDOWS\SYSTEM WinDir: C:\WINDOWS Here's some environment variables that may affect cygwin: CYGWIN = `check_case:adjust codepage:oem envcache export glob:ignorecase strip_title title tty winsymlinks' HOME = `C:\cygwin\home\bbuchbinder' MAKE_MODE = `unix' PWD = `/c' USER = `BBuchbinder' Here's the rest of your environment variables: BIN = `c:\cygwin\bin' BLASTER = `A220 I5 D1 T4' CLASSPATH = `"C:\Program Files\JavaSoft\JRE\1.3.1\lib\ext\QTJava.zip"' CMDLINE = `c:\cygwin\bin\bash -i' COMSPEC = `C:\WINDOWS\COMMAND.COM' CVSROOT = `:pserver:[EMAIL PROTECTED]:/cvs/src' EDITOR = `vim' HISTCONTROL = `ignoredups' HOMEDRIVE = `C:' HOMEPATH = `\cygwin\home\bbuchbinder' HOSTNAME = `buchbin-1107' HOSTTYPE = `i686' LESS = `-M' LS_COLORS = `no=00:fi=00:di=01;44:ln=01;36:*.lnk=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:ex=01:*~=05;31:*.tmp=05;31:*.ttt=05;31:*.mtxt=05;31:*.ndx=05;31:*.cmd=01;32:*.exe=01:*.com=01:*.btm=01;32:*.bat=01;32:*.c=01;36:*.h=01;36:*.pl=01;36:*.pm=01;36:*.cgi=01;36:*.java=01;36:*.htm=01;36:*.html=01;36:*.tar=01;31:*.tgz=01;31:*.gz=01;31:*.tgz=01;31:*.bz2=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.ppm=01;35:*.xpm=01;35:*.tif=01;35:' MACHTYPE = `i686-pc-cygwin' OSTYPE = `cygwin' PAGER = `/bin/less.exe' PROMPT = `$e[0;36m$p$e[0;1m$g $e[0m$e[K' PS1 = `\[\e[1;35m\]1 \[\[\e[0;7m\]\!\[\e[0m\] \[\e[0;36m\]$PWD\[\e[0;1m\]> \[\e[0m\e]0;\s Prompt: sh: 1; hist: \!; dir: $PWD\a\]' PS2 = `\[\e[0;1m\]> \[\e[0m\]' PS3 = `\[\e[0;36m\]select[\e[0;1m\]: \[\e[0m\]' PS4 = `\[\e[0;1m\]+ \[\e[0m\]' QTJAVA = `"C:\Program Files\JavaSoft\JRE\1.3.1\lib\ext\QTJava.zip"' SHELL = `/bin/bash.exe' SHLVL = `1' SNDSCAPE = `C:\WINDOWS' TEMP = `c:\temp' TERM = `cygwin' TMP = `c:\tmp' TZ = `EST5EDT' VIM = `/usr/share/vim/vim61' WINBOOTDIR = `C:\WINDOWS' WINDIR = `C:\WINDOWS' _ = `/bin/cygcheck' Scanning registry for keys with `Cygnus' in them... HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\&Programs\Cygnus Solutions (default) = (unsupported type) HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Tools\System\SHELLS\CygWin\Cygnus Solutions (default) = (unsupported type) HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin (default) = 0x0100 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options (default) = `check_case:adjust codepage:oem envcache export glob:ignorecase nostrip_title title tty winsymlinks export' HKEY_LOCAL_MACHINE\Software\Cygnus Solutions HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts' flags = 0x000a HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x000a HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Program
RE: gcc doesn't work but seemed to install fine...
I didn't know that about download.com either. I was interested in seeing if they supplied source so I looked and that was what I found. - Barry --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote: > Oh, didn't know that about download.com. What threw > me off was the > subject -- one can read it as "gcc installed fine", > so I assumed she > actually explicitly installed gcc... My bad. > Igor > > On Tue, 24 Sep 2002, Barry Buchbinder wrote: > > > download.com just points to setup.exe on the > cygwin > > home page so what she got was up to date but > > incomplete. Betty didn't see the instructions for > how > > to install so didn't install gcc and man, as > neither > > gcc nor man are part of the base install. Betty > > should see the the installation instructions on > the > > cygwin home page http://sources.redhat.com/cygwin/ > and > > then re-run steup. And get in the habit of using > the > > cygwin home page and not download.com when dealing > > with cygwin. > > > > - Barry > > > > On Mon, 23 Sep 2002, Betty Cheung wrote: > > > > > Hi, all, > > > > > >I installed cygwin 1.3.1 whole package on my > PC with windows XP from > > > download.com as instructed and started cygwin > from my desktop. But when I > > > compile a c program: gcc try.c -o try.exe, I got > "bash: gcc: command not > > > found", then I typed 'man gcc' I got "bash: man: > command not found". > > > Could anybody tell me how to use gcc with > cygwin? any demo for that? > > > > > > Many Thanks! > > > > > > Betty > > > > Betty, > > > > It looks like your Cygwin was not set up properly > (missing or incorrect > > $PATH, etc). This could have something to do with > the fact that you > > didn't get it from an official Cygwin mirror... > Also, 1.3.1 is OLD, OLD, > > OLD! > > > > Here's what you can do: > > Rename your current cygwin directory (to > "cygwin.old", for example). > > Go to http://cygwin.com/ , click on "Install > Cygwin now", and download > > setup.exe. Follow the instructions to upgrade > your Cygwin to 1.3.12-4 > > (which is the latest for now; 1.3.13 may be > released soon). You may > > choose any mirror. Also install gcc-2.95.3-5 (or > you may try your luck > > with 3.2-1), and any other packages you think you > need (e.g., man, less, > > etc). Move any files you created from your old > cygwin tree to the new > > one. Then try your compilation again. > > Igor > > P.S. You may also remove your old cygwin tree at > that > > point -- you won't need it anymore. > > -- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ [EMAIL PROTECTED] > ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski > '---''(_/--' `-'\_) fL a.k.a > JaguaR-R-R-r-r-r-.-.-. Meow! > > "Water molecules expand as they grow warmer" (C) > Popular Science, Oct'02, p.51 > __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: gcc doesn't work but seemed to install fine...
download.com just points to setup.exe on the cygwin home page so what she got was up to date but incomplete. Betty didn't see the instructions for how to install so didn't install gcc and man, as neither gcc nor man are part of the base install. Betty should see the the installation instructions on the cygwin home page http://sources.redhat.com/cygwin/ and then re-run steup. And get in the habit of using the cygwin home page and not download.com when dealing with cygwin. - Barry On Mon, 23 Sep 2002, Betty Cheung wrote: > Hi, all, > >I installed cygwin 1.3.1 whole package on my PC with windows XP from > download.com as instructed and started cygwin from my desktop. But when I > compile a c program: gcc try.c -o try.exe, I got "bash: gcc: command not > found", then I typed 'man gcc' I got "bash: man: command not found". > Could anybody tell me how to use gcc with cygwin? any demo for that? > > Many Thanks! > > Betty Betty, It looks like your Cygwin was not set up properly (missing or incorrect $PATH, etc). This could have something to do with the fact that you didn't get it from an official Cygwin mirror... Also, 1.3.1 is OLD, OLD, OLD! Here's what you can do: Rename your current cygwin directory (to "cygwin.old", for example). Go to http://cygwin.com/ , click on "Install Cygwin now", and download setup.exe. Follow the instructions to upgrade your Cygwin to 1.3.12-4 (which is the latest for now; 1.3.13 may be released soon). You may choose any mirror. Also install gcc-2.95.3-5 (or you may try your luck with 3.2-1), and any other packages you think you need (e.g., man, less, etc). Move any files you created from your old cygwin tree to the new one. Then try your compilation again. Igor P.S. You may also remove your old cygwin tree at that point -- you won't need it anymore. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/