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

Re: FAQ, German Umlauts (patch)



Peter Stephenson wrote:
>+ item(tt(PRINT_EIGHT_BIT) (tt(-1)))(
>+ Print eight bit characters literally in completion lists, etc.
>+ This option is not necessary if your system correctly returns the
>+ printability of eight bit characters (see manref(ctype)(3)).

If it's only needed if the system has a bug, then a run-time option is the
wrong way to do it.  Make it a configure-time option (--enable-pass8),
and conditionally compile in such a special version of isprint(), using
it instead of the system's version.

>      VERBOSE,
>      XTRACE,
>      USEZLE,
>!     OPT_SIZE,
>!     PRINTEIGHTBIT
>  };

Also this is wrong.  OPT_SIZE must be the last entry in the list, and
the options in the list are in alphabetical order.

-zefram



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