This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Bash Here - Start Cygwin from a folders context menu



>From the recent discussion, I thought it a little silly that all the
different incantations only worked for a particular shell/window combo.
After a read of some older mailing list stuff discussing different ways of
doing things I came up with a few modifications to the files Gerrit posted
[diffs attached]

It allows you to do any of:
./install bash
./install rxvt
./install [batch]

And goes off and sets up your registry (and start up files in the case of
batch) to do things in your preferred method.

It is relatively easy to add command line incantations for other shells so
that they can be provided for as well.

Also:
1) Tries to leverage any existing cygwin.bat to create cygwin_indir.bat, if
thats what you want.
2) Stops repeated additions to ~/.bashrc for repeated installs
3) handles missing ~/.bashrc
4) Uses bare bones rxvt startup line so the users .Xdefaults are used

Gerrit, would you be interested in adding these changes (or similar) to the
file you're already hosting? The FAQ can then deal with "but I want Cygwin
Prompt Here to start ?sh, not bash" [assuming appropriate incantations are
added].


Dave.

Old thread reference:
http://sources.redhat.com/ml/cygwin/2002-04/msg00647.html


> From: Gerrit P. Haase [mailto:freeweb@nyckelpiga.de]
> Subject: Re: Bash Here - Start Cygwin from a folders context menu
> 
> Fetch the original from Glen Coakley:
> http://www.users.qwest.net/~weissj/Cygwin/CygwinAddons.html
> 
> AND please fetch the diff here:
> http://koeln.convey.de/cywgin/CygwinPromptHere/
> 
> Or fetch the ready patched package at my site.
>
http://koeln.convey.de/cywgin/CygwinPromptHere/CygwinPromptHere-20020528.tar
.gz

Attachment: cphinf.diff
Description: Binary data

Attachment: install.diff
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]