Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug in completion/expansion of files with LANG=C
- X-seq: zsh-workers 22130
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: bug in completion/expansion of files with LANG=C
- Date: Fri, 6 Jan 2006 16:17:56 -0800
- In-reply-to: <20060106215829.GG10111@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20060106215829.GG10111@xxxxxxxxxxxxx>
On Fri, Jan 06, 2006 at 01:58:29PM -0800, Wayne Davison wrote:
> For instance, using Ctrl-A to get to the start of the line moved to
> the right position on the screen, but pressing Ctrl-F to go forward
> output the wrong character in each position (one character too far to
> the right).
This turned out to be a bug in "screen" that occurs when screen got
started with LANG=C, and zsh got changed to use LANG=en_US.UTF-8. Zsh
was actually outputting an escape sequence to move right one position,
but screen was optimizing it into a more efficient output sequence (the
outputting of a single literal character), and screen thought it was in
a different spot than it really was. Fortunately, starting screen with
the same LANG value that you want to use inside works properly, so it's
not a really big screen bug, but it might trip up someone else who tries
to use zsh with a changed LANG value inside of screen in the future.
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author