[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Expected behavior of large CSI ICH
From: |
Thomas Dickey |
Subject: |
Re: Expected behavior of large CSI ICH |
Date: |
Fri, 14 Dec 2018 19:03:23 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Dec 14, 2018 at 02:38:37PM -0600, Bryan Christ wrote:
> 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.
well, there's always bugs :-)
If it's a curses application, ncurses only uses parm_ich from a couple
of places. One puts the cursor at the lower-right of the screen,
while the other is more general, but the repeat-count is based on the
length of the line.
If it's not a curses application (e.g., some shell script), there's
a lot of possibilities.
> 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
signature.asc
Description: Digital signature
- Expected behavior of large CSI ICH, Bryan Christ, 2018/12/13
- Re: Expected behavior of large CSI ICH, Thomas Dickey, 2018/12/14
- Re: Expected behavior of large CSI ICH, Bryan Christ, 2018/12/14
- Re: Expected behavior of large CSI ICH, Nicholas Marriott, 2018/12/14
- Re: Expected behavior of large CSI ICH, Bryan Christ, 2018/12/14
- Re: Expected behavior of large CSI ICH, Bryan Christ, 2018/12/14
- Re: Expected behavior of large CSI ICH,
Thomas Dickey <=
- Re: Expected behavior of large CSI ICH, Bryan Christ, 2018/12/14
- Re: Expected behavior of large CSI ICH, Thomas Dickey, 2018/12/15
- Re: Expected behavior of large CSI ICH, Bryan Christ, 2018/12/17