Subject: Re: strange directory after 1.4 upgrade
To: None <netbsd-help@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: netbsd-help
Date: 06/01/1999 04:05:22
On Mon May 31 1999 at 21:06:46 +0900, Guy Santiglia wrote:
> After upgrading from 1.3.3 to 1.4,  I noticed a strange file:
> B?S? ??m?t?qIB\B-]4L#d ?b
> in my root directory.  It appears to be a directory:  # ls -l /
> drwxr-xr-x   2 root  wheel      512 May 23 10:07 B?S? ??m?t?qIB\B-]4L#d ?
> I can't seem to remove it.  "rm -rf " doesn't work.  The characters that
> I pasted into this email are not the same as the ones shown for the strange file
> in the root directory.  
>   How can I remove a file like this?  And where do you think it came from?

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
-- 
Geoff Wing   <gcw@pobox.com>            Mobile : (Australia) 0413 431 874
Work URL: http://www.primenet.com.au/   Ego URL: http://pobox.com/~gcw/