[Top][All Lists]

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

Patch: remove DECCOLM+DECSCLM from foot

From: Daniel Eklöf
Subject: Patch: remove DECCOLM+DECSCLM from foot
Date: Fri, 31 Mar 2023 10:48:59 +0200
User-agent: mu4e 1.10.0; emacs 28.2


Foot has never supported neither 132-column mode, nor smooth scrolling. It did however recognize the escape sequences, and logged an "unimplemented" warning. It also implemented certain side-effects of DECCOLM (erase screen, home cursor). This applied for foot <= 1.13.1.

It is now being changed, and we’re removing *all* support for DECCOLM+DECSCLM completely. Warnings and side-effects. This is being done in https://codeberg.org/dnkl/foot/pulls/1268.

As part of that, we’d like to see the DECRSTs of these two being removed from foot’s terminfo. Please see attached patch.

Daniel (I’m not subscribed)

diff --git a/misc/terminfo.src b/misc/terminfo.src
index 55766215..dc12e12d 100644
--- a/misc/terminfo.src
+++ b/misc/terminfo.src
@@ -7985,10 +7985,10 @@ foot+base|foot base fragment,
        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=\r,
        cub1=^H, cud1=\n, dim=\E[2m, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
        el1=\E[1K, flash=\E]555\E\\, ind=\n, invis=\E[8m,
-       is2=\E[!p\E[?3;4l\E[4l\E>, kbs=^?, kcbt=\E[Z,
+       is2=\E[!p\E[4l\E>, kbs=^?, kcbt=\E[Z,
        oc=\E]104\E\\, op=\E[39;49m, rev=\E[7m, ri=\EM, rmacs=\E(B,
        rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
-       rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>,
+       rs1=\Ec, rs2=\E[!p\E[4l\E>,
        sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smkx=\E[?1h\E=,

reply via email to

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