bug-ncurses
[Top][All Lists]
Advanced

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

Re: Effect of CSI IRM on other control sequences


From: Thomas Dickey
Subject: Re: Effect of CSI IRM on other control sequences
Date: Tue, 23 Jul 2019 17:28:11 -0400
User-agent: NeoMutt/20170113 (1.7.2)

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>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

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