From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Daniel Rigal <daniel.rigal@deep-thought.ericsson.se>,
zsh-users@math.gatech.edu
Subject: Re: Backticks In zshenv
Date: Tue, 20 Oct 1998 09:55:42 -0700 [thread overview]
Message-ID: <981020095542.ZM5494@candle.brasslantern.com> (raw)
In-Reply-To: <362C9FB4.B4C08045@guildford.ericsson.se>
On Oct 20, 3:35pm, Daniel Rigal wrote:
} Subject: Backticks In zshenv
}
} I am having a problem which is driving me up the wall!
} Basically, Z-Shell seems to randomly decline to run commands
} in backticks in the zshenv (both the central one or the
} user's own zshenv show this effect).
I've just seen the same problem, on a newly-installed RedHat 5.1 Linux
system with the zsh-3.0.5-2 RPM. The /etc/zshenv file contains
if [[ `id -u` -eq 0 ]]
then
...
fi
and zsh randomly fails to capture the output of `id -u`. It seems to
occur only when I rapidly exit and immediately log back in; if I wait
any longer than it takes to retype my login and password as fast as I
can, the problem disappears or becomes much more sporadic.
I ended up replacing `id -u` with $EUID and haven't seen any further
problems. I'd assumed it was something about the "id" program.
I suspect zsh is getting some kind of a signal -- perhaps SIGWINCH? --
which is interrupting the read on the command substitution.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
next prev parent reply other threads:[~1998-10-20 17:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-20 14:35 Daniel Rigal
1998-10-20 16:55 ` Bart Schaefer [this message]
1998-10-20 19:30 ` Phil Pennock
1998-10-20 19:54 ` PATCH: " Bart Schaefer
1998-10-20 20:36 ` Sweth Chandramouli
1998-10-21 7:33 ` Goran Larsson
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=981020095542.ZM5494@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=daniel.rigal@deep-thought.ericsson.se \
--cc=zsh-users@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).