From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-request@euclid.skiles.gatech.edu Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id QAA12719 for ; Fri, 1 Nov 1996 16:11:27 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id AAA06021; Fri, 1 Nov 1996 00:05:58 -0500 (EST) Resent-Date: Fri, 1 Nov 1996 00:05:58 -0500 (EST) Sender: ono@saba.kuee.kyoto-u.ac.jp To: schaefer@nbn.com Cc: zsh-workers@math.gatech.edu Subject: Re: Strange behavior of autocd under IRIX 6.2 References: <961031084419.ZM5796@candle.brasslantern.com> Mime-Version: 1.0 (generated by tm-edit 7.93) Content-Type: text/plain; charset=US-ASCII From: Hideki ONO Date: 01 Nov 1996 13:59:11 +0900 In-Reply-To: "Bart Schaefer"'s message of Thu, 31 Oct 1996 08:44:18 -0800 Message-ID: X-Mailer: Red Gnus v0.53/Emacs 19.34 Resent-Message-ID: <"88WU5.0.yT1.rKOUo"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2308 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > 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 Department of Electronics and Communication Graduate School of Engineering Kyoto University, Japan