[Top][All Lists]

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

Re: Effect of CSI IRM on other control sequences

From: Bryan Christ
Subject: Re: Effect of CSI IRM on other control sequences
Date: Tue, 23 Jul 2019 16:44:07 -0500

Thanks.  After a lot of experimentation, I came to the conclusion that IRM indeed has no effect on DCH.  After the shift operation and the "voided" cells are created, I wasn't filling with the current color.  Now that I do, the behavior is nearly identical to xterm. 

On Tue, Jul 23, 2019 at 4:28 PM Thomas Dickey <address@hidden> wrote:
On Mon, Jul 22, 2019 at 09:05:53PM -0500, Bryan Christ wrote:
> Can anyone tell me what is the effect of IRM ( smir / rmir ) on any other

none (in xterm).  xterm only uses insert-mode when it's writing text,
to add space for the new text rather than overwriting existing text.

DCH shifts the remainder of the line left, and fills the end with the
current background color (other terminals may fill with the default color).

> control sequences?  For example, many ncurses programs seem to emit a DCH
> to produce a left-ward scrolling effect ( a great example is 'sl' )  I
> assumed that in replace mode, DCH would simply clobber the character(s) and
> leave everything else on the downstream line unaffected.  However, when I
> allow that behavior to be the case, those programs generally don't seem to
> render correctly ( leaving artifacts behind ).  Unfortunately, I cannot
> seem to find any canonical information on IRM as it relates to DCH ( or any
> other possibly affected control sequence ).  From my experimentation, I
> assume that a DCH sequences always drags downstream characters left-ward
> but am ultimately unsure.
> --
> Bryan
> <><

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

Thomas E. Dickey <address@hidden>


reply via email to

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