Subject: Re: strange directory after 1.4 upgrade
To: None <netbsd-help@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: netbsd-help
Date: 06/01/1999 15:05:51
Geoff Wing wrote:

> Tab autocompletion vs shells:
> 
> #include <fcntl.h>
> main() {
>     int i = 0; char p[16];
>     p[i++] = 4; p[i++] = 13; p[i++] = 253; p[i++] = 255; p[i++] = 127;
>     p[i++] = 129; p[i++] = 130; p[i++] = 12; p[i++] = 8; p[i++] = 9;
>     p[i++] = 13; p[i++] = 10; p[i++] = 11; p[i++] = 32; p[i++] = 0;
>     open(p, O_WRONLY | O_CREAT, 0600);
> }
> 
> (a)sh    : no tab completion
> bash 2.03: using binding menu-complete, completes incorrectly
> ksh      : with a lot of effort, can work
> tcsh 6.08: can't complete without existing word, only lists?
> zsh 3.*  : using option automenu, works

Ick :-)  For tsch, typing:

	rm ./^V^D<TAB>

resulted in rm complaining about "no such file or directory", but

	rm ./^V^D*

worked.  Good example :-)

Simon.