Cygwin and Bash

Mark Schoenberg mark@emmestech.com
Wed Jul 5 17:08:00 GMT 2000


Dear Kimberly,

     Cygwin 1.1.2, as I understand it, is composed of a library (cygwin1.dll),
a .bat file (cygwin.bat), and some other stuff.  Double clicking (opening) the
Cygwin icon executes cygwin.bat (which is usually located in /bin).

     cygwin.bat is pretty simple.  It simply defines "MAKE_MODE", "PATH", and
then executes bash.

     My version of bash, which gives

GNU bash, version 2.04.0(1)-release (i586-pc-cygwin32)
Copyright 1999 Free Software Foundation, Inc.

in response to "bash --version", executes /.bashrc before popping up a
window.  It might also (or ?instead) execute $HOME/.bashrc if HOME is defined,
but I am not sure about this.

     I think my version of bash is different from that released by cygwin, but
not significantly so.

     You can, if you wish, start cygwin with your own specialized .bat file.
Simply have "bash" as the last line.  I, for example, don't set PATH in my .bat
file, but instead set it in my /.bashrc file.

     I hope this is helpful in getting you started.

           --Mark Schoenberg

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list