| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| From: | egb AT us DOT ibm DOT com |
| X-Lotus-FromDomain: | IBMUS |
| To: | "Roger L Gates" <rgates AT chandlerevans DOT com> |
| cc: | cygwin AT sources DOT redhat DOT com, Gunnar DOT N DOT Bostrom AT telia DOT se |
| Message-ID: | <8525693E.0047EB7A.00@d54mta04.raleigh.ibm.com> |
| Date: | Thu, 17 Aug 2000 09:05:30 -0400 |
| Subject: | Re: Multiple users of cygwin and "bash here" |
| Mime-Version: | 1.0 |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id JAA07249 |
I mentioned in a previous posting that simply adding a "Bash" key to the
HKEY_CLASSES_ROOT\Directory\shell and the HKEY_CLASSES_ROOT\Drive\shell
does what the 50 lines of *.inf do.
addkey HKEY_CLASSES_ROOT\Directory\shell\Bash
add string value to this key, I use "Bash Here"
addkey HKEY_CLASSES_ROOT\Directory\shell\Bash\command
add string value to this key "f:\cyg\bin\bash.exe -i"
addkey HKEY_CLASSES_ROOT\Drive\shell\Bash
add string value to this key, I use "Bash Here"
addkey HKEY_CLASSES_ROOT\Directory\shell\Bash\command
add string value to this key "f:\cyg\bin\bash.exe -i"
This could be automated to a .reg file but it would still require editing
to add the location of
your individual cygwin installation.
To get the proper environment setup you have to make sure bash reads
/etc/profile. Only problem is
there is a "cd $HOME" in /etc/profile. I simply copied most of the
/etc/profile stuff into my
$HOME/.bashrc. I am sure there is a better solution to this, though. My
cygwin is installed
in the f:\cyg directory. Yours might be different.
Ed Bradford
Your Windows 2000 Arborist
T/L 589-4410; Outside: 1-919-993-4410
egb AT us DOT ibm DOT com
"Roger L Gates" <rgates AT chandlerevans DOT com>@sources.redhat.com on 08/16/2000
08:25:46 PM
Sent by: cygwin-owner AT sources DOT redhat DOT com
To: cygwin AT sources DOT redhat DOT com
cc: Gunnar DOT N DOT Bostrom AT telia DOT se
Subject: Re: Multiple users of cygwin and "bash here"
Gunnar Boström <Gunnar DOT N DOT Bostrom AT telia DOT se>
wrote on Wed, 16 Aug 2000 05:00:23 -0400
> Another question is how I can make a "cygwin here" like "command prompt
> here". I would like to right click on a folder in Explorer and choose
> "cygwin here" which should start bash in this folder.
There is a bashhere.inf file from Peter West at
http://sources.redhat.com/ml/cygwin/1997-08/msg00061.html
It worked for me in Windows 95 after changing the path
to match my installation. It also worked using "cygwin.bat"
instead of "bash.exe".
Roger Gates <rgates AT chandlerevans DOT com>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |