Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh 3.0.1 bug? read -c
- X-seq: zsh-users 476
- From: vlefevre@xxxxxxxxxxx (Vincent Lefevre)
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: zsh 3.0.1 bug? read -c
- Date: Wed, 30 Oct 1996 00:27:48 +0100
The first argument after "read -c" seems to be skipped, e.g.
$ repl () {
read -c a0 a1 a2 a3
echo
echo "a0:" $a0
echo "a1:" $a1
echo "a2:" $a2
echo "a3:" $a3
reply=()
}
$ compctl -K repl testrepl
$ testrepl x y z [TAB] (note: AUTO_MENU and LIST_AMBIGUOUS are set)
a0:
a1: testrepl
a2: x
a3: y
a0:
a1: testrepl
a2: x
a3: y
instead of
a0: testrepl
a1: x
a2: y
a3: z
...
--
Vincent Lefevre, vlefevre@xxxxxxxxxxx | Acorn RiscPC600, 20+1MB RAM, Eagle M2
http://www.ens-lyon.fr/~vlefevre | Apple CD-300, SyQuest 270MB
PhD in Computer Science, 1st year | Atari Falcon030, 4MB RAM
------------------------------------------------------------------------------
Messages sorted by:
Reverse Date,
Date,
Thread,
Author