From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26656 invoked from network); 15 Sep 1998 22:04:03 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 15 Sep 1998 22:04:03 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id RAA23284; Tue, 15 Sep 1998 17:57:23 -0400 (EDT) Resent-Date: Tue, 15 Sep 1998 17:53:38 -0400 (EDT) Message-ID: From: Amol Deshpande To: ZShell Users List , "'Bart Schaefer'" Subject: RE: zsh for win32 - installation of zshrc Date: Tue, 15 Sep 1998 14:56:19 -0700 X-Mailer: Internet Mail Service (5.5.2232.9) Resent-Message-ID: <"-q_NX3.0.Qf5.Y7k_r"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1807 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > ---------- > From: Bart Schaefer[SMTP:schaefer@brasslantern.com] > Sent: Tuesday, September 15, 1998 1:59 PM > To: ZShell Users List > Cc: amol@blarg.net > Subject: Re: zsh for win32 - installation of zshrc > > > "setopt correct" is worthless because it uses the full file name (e.g. > "foo.exe") when trying to correct the spelling of a command ("foo") and > therefore complains about nearly everything except builtins. (This is > probably fixable by playing with hash/unhash commands.) > it's actually fixable by just renaming all your foo.exes to foo :-) i thought it would be a waste of time for the shell to try all possible extensions (.exe, .com, .bat, .cmd) for each command, so i didn't bother to fix this. > "setopt winnt_ignore_case winnt_lame_path_fix" seems to be a pretty good > idea. I'm not sure exactly when "winnt_convert_backslash" is important. > you probaby need it in cases where you are deriving paths from other DOS style paths. For example, HOMDRIVE=F:, and HOMEPATH=\ so, if FOO=$HOMEDRIVE$HOMEPATH, then FOO is set to F:\. this will confuse the shell no end (all paths MUST be '/'-delimited) if you set winntconvertbackslash, the theory is that the shell converts '\' to '/' when matching paths. in tcsh i could just do set bar=$var:s#\\#/#:ah to convert '\' to '/' before assignment, but I was told there was no simple way in zsh to do the same. BTW, please don't cc amol@blarg.net. I am a member of this mailing list. thanks, -amol