Re: g77 (new), Windows XP Professional, CALL System(Command, Status), directory.

2004-03-22 Thread Lars Steinke

-
On Sat, 20 Mar 2004, Lars Steinke wrote:

 Hello,

   call system('cmd.exe /c cls')

 works! Thank you Dave!

 Now I have a new problem with 'call system':
 I wolud like to start a batch-file named '1.bat'.
 1.bat and my program are in the same directory (C:\test).

   call system('1.bat')
   pause
   end

 Error-message:

 1.bat: not found

 If i add the directory to the PATH:

 PATH=%PATH%;C:\test

 it works, but normally the current directory should be scanned, also if
 it is not in the PATH...?

 If I try to start my program from the cygwin-shell (current directory is
 the directory where the program is saved) i get the following
 error-message:

 bash: a.exe: command not found

 This is no 'call system'-problem, but mayby there is a correllation.

 Thank you very much, Lars.

Lars,

In Cygwin, like in most Unixes, and unlike Windows, . (the current
directory) has to explicitly be in the PATH for programs to be found there
(see http://cygwin.com/faq/faq_4.html#SEC36).  As the FAQ says, you can
prepend ./ to the name of the program in the current directory.
Alternatively, you can add . to the PATH, either in your environment, or
via a putenv call if FORTRAN supports it.

Ok, but I have the same situation in Windows and in windows normally the . should be 
scanned, also if it is not in the PATH.
If my program tries to invoke 1.bat (Win-shell) it fails (1.bat: not found), although 
it is in the same directory (and it is not a builtin command).
If I try to compile:

  CALL System('.\1.bat')

?.bat: not found


  CALL System('cmd.exe /c 1.bat') works, but 1.bat is not a builtin command...?


P.S. FYI, system(cmd /c cls) won't work on Win9x.

Is there a command which fits both?


Thanks, Lars.




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



g77 (new), Windows XP Professional, CALL System(Command, Status), directory.

2004-03-20 Thread Lars Steinke
Hello,

  call system('cmd.exe /c cls')

works! Thank you Dave!

Now I have a new problem with 'call system':
I wolud like to start a batch-file named '1.bat'.
1.bat and my program are in the same directory (C:\test).

  call system('1.bat')
  pause
  end

Error-message:

1.bat: not found

If i add the directory to the PATH:

PATH=%PATH%;C:\test

it works, but normally the current directory should be scanned, also if it is not in 
the PATH...?


If I try to start my program from the cygwin-shell (current directory is the directory 
where the program is saved) i get the following error-message:

bash: a.exe: command not found

This is no 'call system'-problem, but mayby there is a correllation.


Thank you very much, Lars.


Attachment: check.txt (cygcheck)



Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Mar 19 16:21:43 2004
Windows XP Professional Ver 5.1 Build 2600 Service Pack 1
Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Programme\Symantec\Norton Ghost 2003\
c:\texmf\miktex\bin
C:\cygwin\bin
SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS
HOME = `C:\cygwin\home\Steinke'
MAKE_MODE = `unix'
PWD = `/home/Steinke'
USER = `Steinke'
ALLUSERSPROFILE = `C:\Dokumente und Einstellungen\All Users'
APPDATA = `C:\Dokumente und Einstellungen\Steinke\Anwendungsdaten'
COMMONPROGRAMFILES = `C:\Programme\Gemeinsame Dateien'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `C:'
HOMEPATH = `\Dokumente und Einstellungen\Steinke'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/X11R6/man:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PKG_CONFIG_PATH = `:/usr/X11R6/lib/pkgconfig'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 6 Stepping 2, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0602'
PROGRAMFILES = `C:\Programme'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOKUME~1\Steinke\LOKALE~1\Temp'
TERM = `cygwin'
TEXMF = `{/usr/share/lilypond/2.0.1,/usr/share/texmf}'
TMP = `c:\DOKUME~1\Steinke\LOKALE~1\Temp'
USERDOMAIN = `STEINKE-1Q96FW1'
USERNAME = `Steinke'
USERPROFILE = `C:\Dokumente und Einstellungen\Steinke'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
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\/
  (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\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a:  fd   N/AN/A
c:  hd  NTFS   13319Mb  64% CP CS UN PA FC Winxp_normal
C:\cygwin  / system  binmode
C:\cygwin/bin  /usr/bin  system  binmode
C:\cygwin/lib  /usr/lib  system  binmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
  /cygdrive system  binmode,cygdrive
Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Cygwin DLL version info:
DLL version: 1.5.7
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 109
Cygdrive flags: cygdrive flags

Cygwin Package Information
Package

Re: g77, Windows XP Professional, CALL System(Command, Status)

2004-03-19 Thread Lars Steinke
Hi,

first of all: thanks a lot for your answers!

I have revised my PATH and now it is possible to do the following:

  write(*,*)'1'
  pause
  call system('clear')
  write(*,*)'2'
  pause
  end

It works (Win-XP-shell)!

..but

if I use:

  call system('cls')

I get the following (new) message:

cls: not found

If I write the cls-command manually in the Win-XP-shell, it works.
If my program tries to invoke the cls command in the Win-XP-shell it does not work?


Thanks, Lars



--
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: g77, Windows XP Professional, CALL System(Command, Status)

2004-03-19 Thread Lars Steinke

..sorry!

Attachment: cygcheck  check.txt


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Mar 19 16:21:43 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Programme\Symantec\Norton Ghost 2003\
c:\texmf\miktex\bin
C:\cygwin\bin

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `C:\cygwin\home\Steinke'
MAKE_MODE = `unix'
PWD = `/home/Steinke'
USER = `Steinke'

ALLUSERSPROFILE = `C:\Dokumente und Einstellungen\All Users'
APPDATA = `C:\Dokumente und Einstellungen\Steinke\Anwendungsdaten'
COMMONPROGRAMFILES = `C:\Programme\Gemeinsame Dateien'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `C:'
HOMEPATH = `\Dokumente und Einstellungen\Steinke'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'

MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/X11R6/man:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PKG_CONFIG_PATH = `:/usr/X11R6/lib/pkgconfig'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 6 Stepping 2, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0602'
PROGRAMFILES = `C:\Programme'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOKUME~1\Steinke\LOKALE~1\Temp'
TERM = `cygwin'
TEXMF = `{/usr/share/lilypond/2.0.1,/usr/share/texmf}'
TMP = `c:\DOKUME~1\Steinke\LOKALE~1\Temp'
USERDOMAIN = `STEINKE-1Q96FW1'
USERNAME = `Steinke'
USERPROFILE = `C:\Dokumente und Einstellungen\Steinke'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
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\/
  (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\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS   13319Mb  64% CP CS UN PA FC Winxp_normal

C:\cygwin  / system  binmode
C:\cygwin/bin  /usr/bin  system  binmode
C:\cygwin/lib  /usr/lib  system  binmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
  /cygdrive system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe

Cygwin DLL version info:
DLL version: 1.5.7
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 109

Cygdrive flags: cygdrive flags


Cygwin Package Information

Package Version
_update-info-dir00227-1
a2ps4.13-1
agetty  2.1-1
antiword0.34-2
apache  1.3.29-2
ash 20040127-1
aspell  0.50.3-1
aspell-de   0.50.2-1
aspell-doc  0.50.3-1
aspell-en   0.51.0-1
aspell-pl   0.50.2-1
astyle  1.15.3-3
autoconf2.59-1
autoconf-devel  2.59-1
autoconf-stable 2.13-5
automake1.7.9-1
automake-devel  1.7.9-1
automake-stable 1.4p6-2
base-files  2.6-1
base-passwd 1.1-1
bash2.05b-16
bc  1.06-1
binutils   

g77, Windows XP Professional, CALL System(Command, Status)

2004-03-18 Thread Lars Steinke
Hello,

I have a problem with:

  CALL System(Command, Status)

I am using g77 (cygwin, Windows XP Professional).
The routine call system does not work - nothing happens, no error-message, the program 
continues and the call system command seems to be ignored.

Can you help me?

BTW: What is system(3)?
http://gcc.gnu.org/onlinedocs/g77/System-Intrinsic--subroutine-.html#System%20Intrinsic%20(subroutine):
...
Description:

Passes the command Command to a shell

(see system(3)).

If argument Status is present, it contains the value returned by system(3), presumably 
0 if the shell command succeeded. Note that which shell is used to invoke the command 
is system-dependent and environment-
dependent.

..


Thanks, Lars



--
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: GCC G77 Sleep Intrinsic

2003-12-12 Thread Lars Steinke
On Thursday 11 December 2003 02:14, Lars Steinke wrote:
 Hello,

 I am using G77 (cygwin, GCC G77 on Windows 98 SE) and
 I have a problem with the following function:

 Sleep Intrinsic
 CALL Sleep(Seconds)

 Seconds: INTEGER(KIND=1); scalar; INTENT(IN).

 Intrinsic groups: unix.

 Description:

 Causes the process to pause for Seconds seconds. See sleep(2).

 http://gcc.gnu.org/onlinedocs/gcc-3.3.2/g77/Sleep- 
Intrinsic.html#Sleep%20Intrinsic

 If I write:

 CALL Sleep(1)

 in my program and if I compile my program with:

 g77 -o test test.f

 the 'sleep' is so fast that you can not see it.

Works fine here on XP. Check the FAQ's to see if C sleep() or the Sleep API
may not be supported on 98.

I did check the FAQ, but without success...
I am not very adept at cygwin and g77... Can you help me?
Thank you very much!

Lars



--
Tim Prince
--
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/
--
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: GCC G77 Sleep Intrinsic

2003-12-12 Thread Lars Steinke
At 15:03 12.12.03 +, you wrote:
Sorry to re-post on top of my previous one, but I've had another thought 
(on a Friday as well !).
Given that the problem has shown on Win 98 SE, but seems okay on Win XP  
2K:   Maybe the clock 'tick' used in the Win 9x API is different to that 
used in the Win NT API ?  I don't have access to a Win 9x machine at the 
moment, but maybe someone would like to try something like a 'CALL 
Sleep(2000)' in G77 under Win9x and see if it waits for around 2 seconds ?
I did and it waits for around 2 seconds. I also tried (1) and then it 
waits for around 10 seconds.
Seems to be milli-second intervals...
What will happen if i run this program (compiled on 98) on 2K? Will it 
waits for 2 seconds or for 2000 ! seconds?

Lars


   This question seems to have stirred some distant memory in the darkest 
recesses of my brain, about Win 9x clock ticks being at milli-second 
intervals, but those recesses are far too dark to be able to remember 
clearly.
Kevin.

| -Original Message-
| From: [EMAIL PROTECTED]
| [mailto:[EMAIL PROTECTED] Behalf
| Of [EMAIL PROTECTED]
| Sent: 12 December 2003 12:45
| To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
| Subject: RE: GCC G77 Sleep Intrinsic
|
| I can confirm that Sleep(n) intrinsic function appears to
| work as expected under Windoze 2000 (SP2).
| Could test under Win95 OSR2 and Win-Me this weekend if any use.
| Kevin.
|
| | -Original Message-
| | From: [EMAIL PROTECTED]
| | [mailto:[EMAIL PROTECTED] Behalf
| | Of Lars Steinke
| | Sent: 12 December 2003 12:25
| | To: [EMAIL PROTECTED]
| | Subject: Re: GCC G77 Sleep Intrinsic
| |
| | On Thursday 11 December 2003 02:14, Lars Steinke wrote:
| |   Hello,
| |  
| |   I am using G77 (cygwin, GCC G77 on Windows 98 SE) and
| |   I have a problem with the following function:
| |  
| |   Sleep Intrinsic
| |   CALL Sleep(Seconds)
| |  
| |   Seconds: INTEGER(KIND=1); scalar; INTENT(IN).
| |  
| |   Intrinsic groups: unix.
| |  
| |   Description:
| |  
| |   Causes the process to pause for Seconds seconds. See sleep(2).
| |  
| |   http://gcc.gnu.org/onlinedocs/gcc-3.3.2/g77/Sleep-
| | Intrinsic.html#Sleep%20Intrinsic
| |  
| |   If I write:
| |  
| |   CALL Sleep(1)
| |  
| |   in my program and if I compile my program with:
| |  
| |   g77 -o test test.f
| |  
| |   the 'sleep' is so fast that you can not see it.
| |  
| | Works fine here on XP. Check the FAQ's to see if C sleep() or
| | the Sleep API
| | may not be supported on 98.
| |
| | I did check the FAQ, but without success...
| | I am not very adept at cygwin and g77... Can you help me?
| |
| | Thank you very much!
| |
| | Lars
| |
| | --
| | Tim Prince
| |
| | --
| | 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/
| |
| |
| | --
| | 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/
| |
| |
|
| --
| 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/
|
|
--
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/


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


GCC G77 Sleep Intrinsic

2003-12-11 Thread Lars Steinke
Hello,

I am using G77 (cygwin, GCC G77 on Windows 98 SE) and
I have a problem with the following function:
Sleep Intrinsic
 CALL Sleep(Seconds)
Seconds: INTEGER(KIND=1); scalar; INTENT(IN).

Intrinsic groups: unix.

Description:

Causes the process to pause for Seconds seconds. See sleep(2).

http://gcc.gnu.org/onlinedocs/gcc-3.3.2/g77/Sleep-
Intrinsic.html#Sleep%20Intrinsic
If I write:

  CALL Sleep(1)

in my program and if I compile my program with:

g77 -o test test.f

the 'sleep' is so fast that you can not see it.

It is not a quarter as a second.

If i write

  CALL Sleep(1000)

it is approximatly a second.

?

Lars

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