Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Strange behavior of autocd under IRIX 6.2
- X-seq: zsh-workers 2308
- From: Hideki ONO <ono@xxxxxxxxxxxxxxxxxxxxxxxxx>
- To: schaefer@xxxxxxx
- Subject: Re: Strange behavior of autocd under IRIX 6.2
- Date: 01 Nov 1996 13:59:11 +0900
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: "Bart Schaefer"'s message of Thu, 31 Oct 1996 08:44:18 -0800
- References: <961031084419.ZM5796@xxxxxxxxxxxxxxxxxxxxxxx>
- Sender: ono@xxxxxxxxxxxxxxxxxxxxxxx
> A friend who is not on the mailing lists reports that, under IRIX 6 only,
> autocd doesn't work for the directory ".." (parent directory) unless you
> use something like "./.." or "../". He says it works using just ".." in
> Linux 2.0 and in SunOS, same version of zsh; but not in IRIX 6, where it
> produces "command not found".
I have a same problem under IRIX6.2. It is because command ".." is
hashed in cmdnamtab.
When I execute opendir() with directory "/usr/bsd" in hashdir(),
1st readdir() returns "."
2nd readdir() returns "w"
3rd readdir() returns ".."
And, ".." is hashed in cmdnamtab.
--
ONO Hideki <ono@xxxxxxxxxxxxxxxxxxxxxxxxx>
Department of Electronics and Communication
Graduate School of Engineering
Kyoto University, Japan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author