zsh-workers
 help / color / mirror / code / Atom feed
From: mikhail@klm.com (Mikhail Kuperblum)
To: Zoltan Hidvegi <hzoli@cs.elte.hu>
Cc: mikhail@klm.com, zsh-workers@math.gatech.edu
Subject: Re: Ongoing problem with PATH variable since v2.6-beta17
Date: Mon, 10 Jun 1996 16:10:50 -0400	[thread overview]
Message-ID: <9606101610.ZM9613@klm.com> (raw)
In-Reply-To: Zoltan Hidvegi <hzoli@cs.elte.hu> "Re: Ongoing problem with PATH variable since v2.6-beta17" (Jun 10,  9:18pm)

[Note: this is an encore, my previous message got cut off in the middle.
Sorry! BTW, to answer your question, I do not have /etc/zshenv]

Thanks for replying. Unfortunately, it's not that easy. The first
thing I did when I discovered this problem was getting all my init
files out of the way. It doesn't help!

[/] echo $PATH
/usr/progressive/bin:/etc:/usr/local/bin:/bin:/usr/bin:/tcb/bin:/usr/bin/X11:/us
r/lib/uucp/:/u/wp/shbin:/u/wp/wpbin:/u/dlc:/u/local/sound/bin:/usr/vsifax/bin:/u
sr/merge/dosroot/ubin
[/] zsh -f
klm# echo $PATH
/usr/progressive/bin /etc /usr/local/bin /bin /usr/bin /tcb/bin /usr/bin/X11 /us
r/lib/uucp/ /u/wp/shbin /u/wp/wpbin /u/dlc /u/local/sound/bin /usr/vsifax/bin /u
sr/merge/dosroot/ubin

But things get even more weird!

[/] PATH=
[/] echo $PATH
 .
[/] /usr/local/bin/zsh -f
klm# echo $PATH
/usr/progressive/bin /etc /usr/local/bin /bin /usr/bin /tcb/bin /usr/bin/X11 /us
r/lib/uucp/ /u/wp/shbin /u/wp/wpbin /u/dlc /u/local/sound/bin /usr/vsifax/bin /u
sr/merge/dosroot/ubin

Let me repeat that this behavior begun with v2.6-beta17. All previous
versions still work fine.

On Mon, Jun 10 ( 9:18pm), Zoltan Hidvegi wrote:

> Does this happen when you invoke zsh with the -f option (I'm quite sure it
> doesn'n).  In that case, try to locate the piece of code which causes this
> in your stratup files.  First locate the startup script that causes the
> problem.  This can be done by invoking zsh -f, than sourcing the various
> startup files with the source builtin (the name of the startup files and
> the order of sourcing is described in the zsh manual page).
> 
> If you located the offending script, edit it (eg. start emace in a separate
> window), and stick in a return statement somewhere near the middle of the
> file.  Then start zsh -f, and source it.  If the bug is still there try to
> move the return statement towards the beginning of the file untill the bug
> disappears, otherwise move return toward the end until the bug appears.
> Locate the line which causes the problem, and try to execute is alone.
> 
> Conclusion: try to invoke zsh with the -f option and reproduce the bug with
> the smallest possible number of the commands.  If any assumption is made
> about the environment (eg. that some files or directories exist or not
> exist) you should describe it.  Note that /etc/zshenv is always executed so
> it's best if the bug can be reproduced with /etc/zshenv removed.

-- 
mikhail



  parent reply	other threads:[~1996-06-10 20:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199606101918.VAA07207@bolyai.cs.elte.hu>
1996-06-10 20:00 ` Mikhail Kuperblum
1996-06-10 20:10 ` Mikhail Kuperblum [this message]
1996-06-09 17:10 Mikhail Kuperblum

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=9606101610.ZM9613@klm.com \
    --to=mikhail@klm.com \
    --cc=hzoli@cs.elte.hu \
    --cc=zsh-workers@math.gatech.edu \
    /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).