bug-ncurses
[Top][All Lists]
Advanced

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

Re: Expected behavior of large CSI ICH


From: Bryan Christ
Subject: Re: Expected behavior of large CSI ICH
Date: Fri, 14 Dec 2018 14:38:37 -0600

So now I'm actually wondering why some program would emit ESC 4000 @ when the terminal it's running on is only 200 columns wide.  That seems like a bizarre thing to do.

On Fri, Dec 14, 2018 at 12:31 PM Nicholas Marriott <address@hidden> wrote:
No... it seems like you could test this yourself easily enough:

  printf '\033#8\033[4000@'; sleep 100

Compare with a smaller value such as address@hidden

It only affects one line.


On Fri, Dec 14, 2018 at 10:14:40AM -0600, Bryan Christ wrote:
>    Okay.A  I see that now.A  My question is still about the same.A  When
>    inserting 4000 blanks, on a 200 column row, is the expected behavior to
>    "push" down the rows below it?A  In this example that would be about 20 or
>    21 rows below affected.A  Is that correct?
>    On Fri, Dec 14, 2018 at 3:36 AM Thomas Dickey <address@hidden> wrote:
>
>      On Thu, Dec 13, 2018 at 11:58:35AM -0600, Bryan Christ wrote:
>      > Assuming a terminal is 200 x 50 and ncurses emits something like:
>      >
>      > ESC 4000 @
>      >
>      > ..which is regarded as "shift left by 4000" on xterm, what is the
>      expected
>
>      actually, that's "insert character".A  A left-shift would be something
>      different.A  The insert-character (ich) feature affects a single line.
>
>      > behavior of the terminal?A  Specifically, since this would be an
>      operation
>      > potentially affecting multiple rows, is it essential a "block move"?
>
>      --
>      Thomas E. Dickey <address@hidden>
>      https://invisible-island.net
>      ftp://ftp.invisible-island.net
>
>    --
>    Bryan
>    <><

> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-ncurses



--
Bryan
<><

reply via email to

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