zsh-users
 help / color / mirror / code / Atom feed
From: "Benjamin R. Haskell" <zsh@benizi.com>
To: "Peter A. Castro" <doctor@fruitbat.org>
Cc: reckoner <reckoner@gmail.com>, zsh-users@zsh.org
Subject: Re: cygwin chere not working with zsh version 4.3.10 but worked for 4.3.9
Date: Tue, 7 Sep 2010 14:59:21 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.01.1009071441090.4535@hp> (raw)
In-Reply-To: <alpine.LNX.2.00.1009071044110.3510@gremlin.fruitbat.org>

On Tue, 7 Sep 2010, Peter A. Castro wrote:

> On Tue, 7 Sep 2010, reckoner wrote:
> 
> > Dear Ben:
> > 
> > It turns out that commenting out CHERE_INVOKING fixed problem.

(To give credit where it's due: Peter originally pointed out CHERE_INVOKING.)


> > Evidently, there was no CHERE_INVOKING environment variable.
> > 
> > Mysterious.
> 
> This implies a change to chere, rather than zsh, but I don't think 
> that's the case, since you mentioned it worked previously with zsh 
> 4.3.9.  The code in /etc/zprofile concerning CHERE_INVOKING has not 
> changed between versions.  And yet, Ben mentioned 4.3.10 working with 
> chere for him as is.  This will require some debugging, I suppose.

As another data point, I added:
echo CHERE_INVOKING=X${CHERE_INVOKING}X

to my /etc/zprofile, and it echoes:
CHERE_INVOKING=XtrueX

So the versions I'm using seem to pass it properly.


> Is there anything special about your cygwin installation?  Are using a 
> mix of older Cygwin packages with newer Cygwin packages?  Like, maybe 
> chere is 1.5 based?  Zsh 4.3.9 that's in the repository was built 
> under Cygwin 1.5, so there might be some relationship if chere is also 
> 1.5 based.

Beyond that, the next thing I'd suspect is something in your own startup 
files.  (Don't recall whether you mentioned them.)  Before this thread, 
I didn't know 'chere' existed, and had my own function to drop me into 
my home directory on my old Win XP Cygwin installation (It used to start 
me in /usr/bin, presumably the working directory for whatever Zsh 
shortcut I had setup.  Worked out-of-the-box on Win7, so I never 
installed my hack.)  What Windows version are you running?  Maybe it's a 
factor.

A stretch, and mostly out of curiosity, do you have anything in 
/usr/share/zsh/site-functions ?

-- 
Best,
Ben


  reply	other threads:[~2010-09-07 18:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 20:52 Reckoner
2010-09-02 19:50 ` Peter A. Castro
2010-09-02 21:14   ` Benjamin R. Haskell
2010-09-02 21:18     ` Benjamin R. Haskell
2010-09-02 21:19       ` reckoner
2010-09-07 13:29     ` reckoner
2010-09-07 18:04       ` Peter A. Castro
2010-09-07 18:59         ` Benjamin R. Haskell [this message]
2010-09-08 13:01           ` reckoner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.01.1009071441090.4535@hp \
    --to=zsh@benizi.com \
    --cc=doctor@fruitbat.org \
    --cc=reckoner@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).