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

Re: Further special parameter changes



Zoltan wrote:
>The patch below further reduces the number of special parameters. It makes
>TTY, FCEDIT, HOST, MAIL, TIMEFMT, TMPPREFIX, WATCHFMT and signals non-special.
>If zsh is invoked as sh/ksh, it removes the ARGC, status, prompt, PROMPT2,
>PROMPT3, PROMPT4 and argv parameters.
[...]
>The patch depends on my previous patch which removed LOGNAME from the special
>parameter list (art. 268).  Or you can apply it to my release as well which
>already contains the LOGNAME patch.

Unfortunately it also depends on your array-uniquing patch.  Without it
there's a rejection of a critical hunk in params.h, because the line
for $path has the PM_UNIQUE flag in the patch.  It's easy to fix by
hand, by removing that flag from the two lines in the patch that have
it.

-zefram



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