[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unbalanced stack in xterm+direct16
From: |
Thomas Dickey |
Subject: |
Re: Unbalanced stack in xterm+direct16 |
Date: |
Sun, 15 Aug 2021 16:59:41 -0400 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Sun, Aug 15, 2021 at 11:29:24AM +0200, Florian Weimer wrote:
> 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.
thanks (will fix)
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature