This is the mail archive of the
mailing list for the Cygwin project.
Re: [INFO] Adding "cygwin here" to Windows Explorer
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 27 Sep 2004 11:42:04 -0400
- Subject: Re: [INFO] Adding "cygwin here" to Windows Explorer
- References: <D9B1ABFA3404D611AC7B00508B63B5120128F1CB@nnhml1.cox.co.uk>
- Reply-to: cygwin at cygwin dot com
On Mon, Sep 27, 2004 at 10:50:56AM +0100, Hughes, Bill wrote:
>Reini Urban wrote:
>> Henry S. Thompson schrieb:
>>> 1) In the registry entry:
>>> C:\cygwin\bin\rxvt.exe -fn 'Lucida Console-11' -geometry
>> 80x48 -sl 300 -cr '#8b4513' -bg '#fffff0' -e /usr/bin/bash -c
>> "XXX=\"%1\" bash --login -i"
>>> 2) In my .bash_profile
>>> if [[ "x$XXX" != "x" ]]
>>> cd "$XXX"
>>> unset XXX
>>> This is a moderately embarassing/messy hack -- can anyone do better?
>> I use a similar scheme since the good old b20 days.
>> Just not with the XXX name and not with a subshell.
>> (I put the $PWD arg into a temp file in the cygwin.bat
>> starter, which I
>> pickup at .profile)
>> And not for the Explorer (which I don't use), but for a
>> TotalCmd button.
>> To open some shell like bash, rxvt, ksh, 4nt in the current dir
>> (optinally specified by some dir arg).
>> A keyboard shortcut is also useful.
>I don't want to risk cgfs ire but, what's wrong with
>@="D:\\cygwin\\bin\\run.exe rxvt -name rxvt0 -e /usr/bin/bash --login -c
>'%1' ; exec /bin/bash -rcfile ~/.bashrc\""
>(obviously with a rxvt0 section in .Xdefaults)
>Which doesn't require any changes to scripts?
>For what it's worth (not much, I know) I think this is probably better in a
>FAQ once a canonical answer has been agreed.
You're saying that it is better for a user to have to read:
@="D:\\cygwin\\bin\\run.exe rxvt -name rxvt0 -e /usr/bin/bash --login -c
'%1' ; exec /bin/bash -rcfile ~/.bashrc\""
and follow detailed instructions rather than just install a package.
It's hard to see why.
But, regardless, I don't see any reason to debate this. I would like a
package and would appreciate it if someone would provide one.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html