Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

completion problems.



I found two problems in completion with zsh-3.1.5-pws-16.

(1) zsh does not complete second candidate.

Z(2):akr@is27e1u11% ls
ChangeLog      INSTALL        StartupFiles   config.h       install-sh
ChangeLog.3.0  META-FAQ       Util           config.h.in    mkinstalldirs
Completion     Makefile       acconfig.h     config.log     patchlist.txt
Config         Makefile.in    aclocal.m4     config.status  stamp-h
Doc            Misc           aczsh.m4       config.sub     stamp-h.in
Etc            README         config.cache   configure
Functions      Src            config.guess   configure.in
Z(2):akr@is27e1u11% ./Src/zsh -f
is27e1u11% echo $ZSH_VERSION 
3.1.5-pws-16
is27e1u11% ls 

Push TAB on after "ls ", then files in current directory is listed.

is27e1u11% ls 
ChangeLog       INSTALL         StartupFiles/   config.h        install-sh*
ChangeLog.3.0   META-FAQ        Util/           config.h.in     mkinstalldirs*
Completion/     Makefile        acconfig.h      config.log      patchlist.txt 
Config/         Makefile.in     aclocal.m4      config.status*  stamp-h 
Doc/            Misc/           aczsh.m4        config.sub*     stamp-h.in 
Etc/            README          config.cache    configure*      
Functions/      Src/            config.guess*   configure.in    

Push TAB again, then "ChangeLog" is completed.

is27e1u11% ls ChangeLog
ChangeLog       INSTALL         StartupFiles/   config.h        install-sh*
ChangeLog.3.0   META-FAQ        Util/           config.h.in     mkinstalldirs*
Completion/     Makefile        acconfig.h      config.log      patchlist.txt 
Config/         Makefile.in     aclocal.m4      config.status*  stamp-h 
Doc/            Misc/           aczsh.m4        config.sub*     stamp-h.in 
Etc/            README          config.cache    configure*      
Functions/      Src/            config.guess*   configure.in    

Push TAB again and agen, nothing are changed.

I expect that "ChangeLog.3.0" will be completed and pws-15 behaves so.

(2) zsh sometimes clear character in command line on BSD/OS 3.0.

Z(2):akr@rascal% ls
ChangeLog       INSTALL         StartupFiles    config.h        install-sh
ChangeLog.3.0   META-FAQ        Util            config.h.in     mkinstalldirs
Completion      Makefile        acconfig.h      config.log      patchlist.txt
Config          Makefile.in     aclocal.m4      config.status   stamp-h
Doc             Misc            aczsh.m4        config.sub      stamp-h.in
Etc             README          config.cache    configure
Functions       Src             config.guess    configure.in
Z(2):akr@rascal% ./Src/zsh -f
rascal% echo $ZSH_VERSION
3.1.5-pws-16
rascal% ls 

Push TAB after "ls ".

rascal% ls 
ChangeLog       INSTALL         StartupFiles/   config.h        install-sh*
ChangeLog.3.0   META-FAQ        Util/           config.h.in     mkinstalldirs*
Completion/     Makefile        acconfig.h      config.log      patchlist.txt 
Config/         Makefile.in     aclocal.m4      config.status*  stamp-h 
Doc/            Misc/           aczsh.m4        config.sub*     stamp-h.in 
Etc/            README          config.cache    configure*      
Functions/      Src/            config.guess*   configure.in    

Push "c".

rascal% ls c
ChangeLog       INSTALL         StartupFiles/   config.h        install-sh*
ChangeLog.3.0   META-FAQ        Util/           config.h.in     mkinstalldirs*
Completion/     Makefile        acconfig.h      config.log      patchlist.txt 
Config/         Makefile.in     aclocal.m4      config.status*  stamp-h 
Doc/            Misc/           aczsh.m4        config.sub*     stamp-h.in 
Etc/            README          config.cache    configure*      
Functions/      Src/            config.guess*   configure.in    

Push TAB, then file list and "c" is cleared and "onfig" is completed.

rascal% ls  onfig

Push Ctrl-L, then screen is cleared and following line is appeared on
top of screen.

rascal% ls config

typescript is follows.

begin 644 typescript
M4V-R:7!T('-T87)T960@;VX@5'5E($%P<B`R-R`R,SHR,#HR,R`Q.3DY"@T;
M6VT;6VT;6VT;6THD(!M;2RX(+B]3<F,O>G-H("UF#0T*#1M;;1M;;1M;;1M;
M2G)A<V-A;"4@&UM+;`AL<R`-#0I#:&%N9V5,;V<@("`@("`@1&]C+R`@("`@
M("`@("`@($U%5$$M1D%1("`@("`@("!214%$344@("`@("`@("`@86-C;VYF
M:6<N:"`@("`@(&-O;F9I9RYG=65S<RH@("!C;VYF:6<N<W1A='5S*B`@:6YS
M=&%L;"US:"H@("`@('-T86UP+6@N:6X@#0I#:&%N9V5,;V<N,RXP("`@171C
M+R`@("`@("`@("`@($UA:V5F:6QE("`@("`@("!3<F,O("`@("`@("`@("`@
M86-L;V-A;"YM-"`@("`@(&-O;F9I9RYH("`@("`@("!C;VYF:6<N<W5B*B`@
M("`@;6MI;G-T86QL9&ER<RH@('1Y<&5S8W)I<'0@#0I#;VUP;&5T:6]N+R`@
M("`@1G5N8W1I;VYS+R`@("`@($UA:V5F:6QE+FEN("`@("!3=&%R='5P1FEL
M97,O("`@86-Z<V@N;30@("`@("`@(&-O;F9I9RYH+FEN("`@("!C;VYF:6=U
M<F4J("`@("`@<&%T8VAL:7-T+G1X="`@(`T*0V]N9FEG+R`@("`@("`@($E.
M4U1!3$P@("`@("`@("!-:7-C+R`@("`@("`@("`@571I;"\@("`@("`@("`@
M(&-O;F9I9RYC86-H92`@("!C;VYF:6<N;&]G("`@("`@8V]N9FEG=7)E+FEN
M("`@('-T86UP+6@@("`@("`@("`;6S1!&UMM&UMM&UMM#7)A<V-A;"4@;',@
M!V,-#0H;6TH;6T%R87-C86PE(&QS("!O;F9I9PT-"AM;2@T;6VT;6VT;6VT;
M6TIR87-C86PE(!M;2PT-"@T;6VT;6VT;6VT;6THD(!M;2PT-"@I38W)I<'0@
A9&]N92!O;B!4=64@07!R(#(W(#(S.C(P.C,Y(#$Y.3D*
`
end

On BSD/OS 3.0, pws-14 has no problem but pws-15 and pws-16 has this
problem.

On Solaris 7, There is no problem even in pws-15 or pws-16.
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author