[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menus with more items than the TTY can display

From: Eli Zaretskii
Subject: Re: Menus with more items than the TTY can display
Date: Sat, 19 Oct 2013 14:54:01 +0300

> Date: Sat, 19 Oct 2013 12:38:52 +0200
> From: martin rudalics <address@hidden>
> CC: address@hidden
>  > So I'm going to claim that Emacs does TRT here, and it's some problem
>  > with this specific terminal emulator.  Unless there's someone who can
>  > explain what are we doing wrong.
> The behavior differs when I set `resize-mini-windows' to nil or t or
> when I set `max-mini-window-height' to 1.  The terminal emulator does
> not know about these.  How does that fit in here?

We write different stuff in each case, obviously.  I suspect different
cursor motion commands.  If you want to analyze these more precisely,
produce 3 termscripts where the keyboard commands were exactly the
same, then using Diff might show the differences.

>  >   #! /bin/sh
>  >   # Invoke as "script FILE"
>  >   l=`wc -l $1 | awk '{ print $1 }'`
>  >   i=1
>  >   while (expr $i "<=" $l > /dev/null); do
>  >     sed -n -e `echo $i`p $1 && sleep 2 && i=`expr $i "+" 1`;
>  >   done
>  >
>  > If you use this script on your terminal, do you see any incorrect
>  > display, similar to what happens when Emacs runs?
> No.  The display is correct.  So can we be sure that this is a timing
> issue?

Most probably, yes.  If you play with the sleeping period, do you see
any differences?

Can you try without removing the menu bar produced by the terminal
itself, and see if the same problems are present then?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]