On Wed, May 20, 2020 at 12:24:00PM +1000, Александр Рянин wrote:
> I use Arch Linux, dwm and st. Got st through the git clone. Got it
> without patches. Just make && sudo make install. When trying to run
> mutt st falls with an error output:
>
> $ st
> erresc: unknown csi ESC[22;0;0t
> erresc: unknown csi ESC[23;0;0t
> erresc: unknown csi ESC[22;0;0t
Some program or library is emitting these codes manually, which aren't
in st's terminfo def. That's a bug in that program, not st.
https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
CSI Ps ; Ps ; Ps t
Window manipulation (from dtterm, as well as extensions by
xterm). These controls may be disabled using the allowWin-
dowOps resource.
[…]
Valid values for the first (and any additional parameters)
are:
[…]
Result is OSC l label ST
Ps = 2 2 ; 0 ⇒ Save xterm icon and window title on stack.
Ps = 2 2 ; 1 ⇒ Save xterm icon title on stack.
Ps = 2 2 ; 2 ⇒ Save xterm window title on stack.
Ps = 2 3 ; 0 ⇒ Restore xterm icon and window title from stack.
It's just trying to push and pop a window title onto a stack. Given that
program terminal title setting is spotty, I kind of see the attraction,
but I'm not authoritative on whether this should be in st.
So again, not st's business. Working as intended.
Cheers,
Alex Pilon