Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zle display bug with LONG expansions
- X-seq: zsh-workers 1612
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: schaefer@xxxxxxx
- Subject: Re: Zle display bug with LONG expansions
- Date: Thu, 11 Jul 1996 20:32:51 +0200 (MET DST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <960711100059.ZM8587@xxxxxxxxxxxxxxxxxxxxxxx> from Bart Schaefer at "Jul 11, 96 10:00:57 am"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
> In an 80x32 (or smaller?) xterm, do the following:
>
> zagzig[38] echo **/*<TAB>
zle doen not handle the case when a line does not fit onto the screen.
> I don't know why the first expansion uses only 25 lines. The second bug
> with the blank line at the end of the screen and the prompt scrolled off
> is caused by auto-wraparound in the xterm, but if you turn that off, the
> line *never* wraps, so you can never see more than the last line of the
> expansion. The third bug is just weird.
Geoff told me that for some reason zsh have to know in advance wether the
current terminal automatically wraps the line. He is probably right since
some terminals start a new line when a character is printed in the last
column while most terminals start a new line only is a character is printed
after the last column. It uses the termcap information to determine wether
the terminal automatically wraps. Unfortunately this means that if
auto-wrap is turned off in xterm, zle will stop working :-). I do not like
it either but I do not know how can this be fixed. I do not know much
about zle_refresh.c in general. It is mostly written (or rewritten) by
Geoff.
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author