--0-228927354-1098297891=:32135 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline
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: [EMAIL PROTECTED] 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 --0-228927354-1098297891=:32135 Content-Type: text/plain; name="csh.login.patch" Content-Description: csh.login.patch Content-Disposition: inline; filename="csh.login.patch" --- 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 --0-228927354-1098297891=:32135 Content-Type: text/plain; name="zprofile.patch" Content-Description: zprofile.patch Content-Disposition: inline; filename="zprofile.patch" --- 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='([EMAIL PROTECTED])[%h] %~ %% ' -cd "$HOME" +if [ -z "$CHERE_INVOKING" ]; then + # Make sure we start in home + cd "$HOME" +else + unset CHERE_INVOKING +fi --0-228927354-1098297891=:32135 Content-Type: text/plain; name="profile.patch" Content-Description: profile.patch Content-Disposition: inline; filename="profile.patch" --- 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! --0-228927354-1098297891=:32135-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/