[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unbalanced stack in xterm+direct16
From: |
Florian Weimer |
Subject: |
Unbalanced stack in xterm+direct16 |
Date: |
Sun, 15 Aug 2021 11:29:24 +0200 |
This termcap entry:
xterm+direct16|xterm with direct-color indexing,
CO#16,
setab=\E[%?%p1%{8}%<%t4%p1%d%e%?%p1%{16}%<%t%p1%{92}%+%e48:2
::%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%d
%;%;m,
setaf=\E[%?%p1%{8}%<%t3%p1%d%e%?%p1%{16}%<%t%p1%'R'%+%e38:2:
:%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%d%;
%;m,
setb@, setf@, use=xterm+direct,
computes an integer values
%p1%{92}%+
and
%p1%'R'%+
on the stack without ever using it, resulting in an unbalanced stack
between the THEN/ELSE branches of the IF expression. I suspect it's a
missing %d, but I have not tested this.
- Unbalanced stack in xterm+direct16,
Florian Weimer <=