[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Request for new terminfo capability (DECCARA extended)
From: |
Thomas Dickey |
Subject: |
Re: Request for new terminfo capability (DECCARA extended) |
Date: |
Wed, 7 Feb 2018 04:14:40 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Wed, Feb 07, 2018 at 08:23:48AM +0530, Kovid Goyal wrote:
> Hi,
>
> In light of the various problems with background color erase, as
> documented here:
> http://invisible-island.net/ncurses/ncurses.faq.html#bce_mismatches
> I'd like to propose a new boolean capability for terminfo named (something
> like)
> sgr_region.
>
> If set, the terminal emulator should implement the extended DECCARA
> escape code, as described here:
> https://github.com/kovidgoyal/kitty/blob/master/protocol-extensions.asciidoc#setting-text-styles-colors-in-arbitrary-regions-of-the-screen
> and the original DECCARA from the VT 510:
> https://vt100.net/docs/vt510-rm/DECCARA.html
> This allows applications to set any SGR attribute in an arbitrary
> region of the screen, by sending a simple CSI code that starts with the
> region co-ordinates followed by the SGR code(s) to set.
DECCARA doesn't have much relationship with bce...
> Ideally, there would be some way to specify a parametrized capability to
> express this, but (and I may be mistaken here) I dont think terminfo has
> the ability to encode this, without resorting to a separate capability
terminfo is just a string which can be parameterized.
You could define a string and write an application which uses the feature.
(xterm has a few hundred of these strings which do not correspond to
terminfo capabilities).
> for each SGR code. A boolean capability means that ncurses using
> applications cannot use it directly, however, for non ncurses using
> applications (such as full screen editors) this is very useful.
--
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: Digital signature