This is the mail archive of the cygwin-announce@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]

TEST VERSION: chere-0.4-1


This is a test version - feedback is required on whether this works on non-W2K
boxes.

Changes
-------
By default, the login shell is now invoked by a shell script. This allows the
tcsh/ash issues to be solved and also happens to resolve issues with network
paths. However, it requires the co-operation of your login script to avoid your
home directory when the environment variable CHERE_INVOKING is set. The attached
diffs against the existing default scripts should allow you to check if things
work.

If the new invocation method doesn't work for you, you hould be able to get the
previous behaviour with the -1 option.

Attempts to use run.exe if it is on the path.

General
-------

chere is a Cygwin package to manage the infamous Shell Here functionality.
This adds items to the Explorer Drive and Directory context menus. The named
shell is started in the selected drive/directory when the menu item is chosen.

If, like me, you're paranoid about your Registry, chere can display what it
would do rather than actually do it. It can also report what shells have been
added to the context menus, and the associated keys.

chere can remove any context menu items it has created.

Please consult the inbuilt help for details on usage (chere -h).

Known issues
------------

New invocation only tested on W2K. It relies on windows to set the working
directory before starting the shell. I'm not sure if other versions of windows
will do this.

You must have Admin priveleges to install the context menus.

The windows control panel uninstall will not work if you uninstall chere. If
you are about to remove cygwin, uninstall the context menus first.


Enjoy,

--
Dave

Please report any bugs to the Cygwin mailing list, following the procedure in
http://cygwin.com/problems.html. In addition you should attach the (verbatim)
output of `chere -r`.

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***


If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
--- csh.login.orig	2004-10-20 19:42:02.000000000 +0100
+++ csh.login	2004-10-20 19:44:38.000000000 +0100
@@ -24,4 +24,8 @@
 
 umask 022
 
-cd
+if ( ! ${?CHERE_INVOKING} ) then
+ cd
+else
+ unset CHERE_INVOKING
+endif
--- zprofile.orig	2004-10-20 19:40:22.000000000 +0100
+++ zprofile	2004-10-20 19:39:40.000000000 +0100
@@ -32,5 +32,10 @@
 export MAKE_MODE=unix
 export PS1='(%n@%m)[%h] %~ %% '
 
-cd "$HOME"
+if [ -z "$CHERE_INVOKING" ]; then
+ # Make sure we start in home
+ cd "$HOME"
+else
+ unset CHERE_INVOKING
+fi
 
--- profile.orig	2004-08-21 15:52:38.000000000 +0100
+++ profile	2004-10-20 19:35:28.000000000 +0100
@@ -150,8 +150,12 @@
 esac
 export PRINTER
 
-# Make sure we start in home
-cd "$HOME"
+if [ -z "$CHERE_INVOKING" ]; then
+ # Make sure we start in home
+ cd "$HOME"
+else
+ unset CHERE_INVOKING
+fi
 
 # Check to see if mkpasswd/mkgroup needs to be run try and cut down the emails
 #   about this on the lists!

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