Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Are completion and prompt expansion 8-bit clean?
- X-seq: zsh-workers 3294
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- Subject: Re: Are completion and prompt expansion 8-bit clean?
- Date: Mon, 23 Jun 1997 15:27:16 -0700
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <21077.199706232115@xxxxxxxxxxxxxxxxxxxxxxx>
- References: <21077.199706232115@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: schaefer@xxxxxxx
On Jun 23, 10:15pm, Zefram wrote:
> Subject: Re: Are completion and prompt expansion 8-bit clean?
>
> In one sense, yes: they can handle 8-bit data. In fact, they can handle
> arbitrary binary data. In another sense, no: they do not treat all 8-bit
> data as printable, even when the display will interpret them as Latin-1
> or whatever. Unfortunately, Unix does not provide a way to find out
> what characters are printable on a particular display device, so we have
> to choose in the source which characters zsh will treat as printable.
Sounds like a job for a module ... supply several localized tty-output
modules, and select one to load based on $TERM or a capability of $TERM
or some other environment setting ($TERM combined with $LANG, perhaps).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author