* Multibyte issue in 4.3.15
@ 2012-01-30 20:41 Richard Hartmann
2012-01-30 20:47 ` Mikael Magnusson
0 siblings, 1 reply; 6+ messages in thread
From: Richard Hartmann @ 2012-01-30 20:41 UTC (permalink / raw)
To: zsh workers
Hi all,
I did not see this particular issue get bounced to the ML, so here it is:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589300
Basically, a multibyte char eats the prompt if you recall it from
history repeatedly.
--
Richard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Multibyte issue in 4.3.15
2012-01-30 20:41 Multibyte issue in 4.3.15 Richard Hartmann
@ 2012-01-30 20:47 ` Mikael Magnusson
2012-01-30 21:39 ` Richard Hartmann
0 siblings, 1 reply; 6+ messages in thread
From: Mikael Magnusson @ 2012-01-30 20:47 UTC (permalink / raw)
To: Richard Hartmann; +Cc: zsh workers
On 30 January 2012 21:41, Richard Hartmann <richih.mailinglist@gmail.com> wrote:
> Hi all,
>
>
> I did not see this particular issue get bounced to the ML, so here it is:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589300
>
> Basically, a multibyte char eats the prompt if you recall it from
> history repeatedly.
I don't see why typing ' -w' should insert '-w '? (Typing the same
sequence in vim produces the same as in zsh, ie, pressing w jumps to
the start of the next word, not the end of the current one).
I also can't reproduce the prompt issue, that's probably a broken
setup. Ask him to reproduce from zsh -f.
--
Mikael Magnusson
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Multibyte issue in 4.3.15
2012-01-30 20:47 ` Mikael Magnusson
@ 2012-01-30 21:39 ` Richard Hartmann
2012-01-31 2:01 ` Benjamin R. Haskell
2012-01-31 2:37 ` Vincent Lefevre
0 siblings, 2 replies; 6+ messages in thread
From: Richard Hartmann @ 2012-01-30 21:39 UTC (permalink / raw)
To: Mikael Magnusson; +Cc: zsh workers
On Mon, Jan 30, 2012 at 21:47, Mikael Magnusson <mikachu@gmail.com> wrote:
> I don't see why typing ' -w' should insert '-w '? (Typing the same
> sequence in vim produces the same as in zsh, ie, pressing w jumps to
> the start of the next word, not the end of the current one).
To be honest, I ignored whatever he meant by '-w'.
> I also can't reproduce the prompt issue, that's probably a broken
> setup. Ask him to reproduce from zsh -f.
I can.
% zsh -f
% setopt GLOB EXTENDED_GLOB MAGIC_EQUAL_SUBST RC_EXPAND_PARAM \
HIST_EXPIRE_DUPS_FIRST HIST_IGNORE_DUPS HIST_VERIFY CORRECT HASH_CMDS \
PRINT_EXIT_VALUE RC_QUOTES AUTO_CONTINUE MULTIOS VI INC_APPEND_HISTORY \
APPENDHISTORY
% unsetopt beep
% unset MAIL
% unicode -w䷥
<errors I forgot>
% <arrow_up><arrow_down><arrow_up><arrow_down><arrow_up><arrow_down>
The last one eats the prompt. Done within terminator 0.95
--
Richard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Multibyte issue in 4.3.15
2012-01-30 21:39 ` Richard Hartmann
@ 2012-01-31 2:01 ` Benjamin R. Haskell
2012-01-31 2:37 ` Vincent Lefevre
1 sibling, 0 replies; 6+ messages in thread
From: Benjamin R. Haskell @ 2012-01-31 2:01 UTC (permalink / raw)
To: Richard Hartmann; +Cc: Mikael Magnusson, zsh workers
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1298 bytes --]
On Mon, 30 Jan 2012, Richard Hartmann wrote:
> On Mon, Jan 30, 2012 at 21:47, Mikael Magnusson <mikachu@gmail.com> wrote:
>
>> I don't see why typing ' -w' should insert '-w '? (Typing the same
>> sequence in vim produces the same as in zsh, ie, pressing w jumps to
>> the start of the next word, not the end of the current one).
>
> To be honest, I ignored whatever he meant by '-w'.
>
>
>> I also can't reproduce the prompt issue, that's probably a broken
>> setup. Ask him to reproduce from zsh -f.
>
> I can.
>
> % zsh -f
> % setopt GLOB EXTENDED_GLOB MAGIC_EQUAL_SUBST RC_EXPAND_PARAM \
> HIST_EXPIRE_DUPS_FIRST HIST_IGNORE_DUPS HIST_VERIFY CORRECT HASH_CMDS \
> PRINT_EXIT_VALUE RC_QUOTES AUTO_CONTINUE MULTIOS VI INC_APPEND_HISTORY \
> APPENDHISTORY
> % unsetopt beep
> % unset MAIL
> % unicode -w䷥
> <errors I forgot>
> % <arrow_up><arrow_down><arrow_up><arrow_down><arrow_up><arrow_down>
>
> The last one eats the prompt. Done within terminator 0.95
It's not a zsh issue. I can reproduce under terminator using bash, too.
$ terminator -e bash
someprompt> ䷥
If '䷥' is not a typo you can use command-not-found to lookup the package
that contains it, like this:
cnf ䷥
someprompt> <Up><Down><Up><Down> ... (eats one prompt char per cycle)
--
Best,
Ben
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Multibyte issue in 4.3.15
2012-01-30 21:39 ` Richard Hartmann
2012-01-31 2:01 ` Benjamin R. Haskell
@ 2012-01-31 2:37 ` Vincent Lefevre
2012-01-31 13:17 ` Richard Hartmann
1 sibling, 1 reply; 6+ messages in thread
From: Vincent Lefevre @ 2012-01-31 2:37 UTC (permalink / raw)
To: zsh-workers
On 2012-01-30 22:39:02 +0100, Richard Hartmann wrote:
> % zsh -f
> % setopt GLOB EXTENDED_GLOB MAGIC_EQUAL_SUBST RC_EXPAND_PARAM \
> HIST_EXPIRE_DUPS_FIRST HIST_IGNORE_DUPS HIST_VERIFY CORRECT HASH_CMDS \
> PRINT_EXIT_VALUE RC_QUOTES AUTO_CONTINUE MULTIOS VI INC_APPEND_HISTORY \
> APPENDHISTORY
> % unsetopt beep
> % unset MAIL
> % unicode -w䷥
> <errors I forgot>
> % <arrow_up><arrow_down><arrow_up><arrow_down><arrow_up><arrow_down>
>
> The last one eats the prompt. Done within terminator 0.95
I can't reproduce it in xterm. Looks like a terminal bug.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-01-31 13:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-30 20:41 Multibyte issue in 4.3.15 Richard Hartmann
2012-01-30 20:47 ` Mikael Magnusson
2012-01-30 21:39 ` Richard Hartmann
2012-01-31 2:01 ` Benjamin R. Haskell
2012-01-31 2:37 ` Vincent Lefevre
2012-01-31 13:17 ` Richard Hartmann
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).