Commit b74bdf6
committed
infocmp -C: only mark verbatim caps ".." when they use params/arithmetic/conditionals
The ".." obsolete marker is not applied to every untranslatable cap -- only to those
whose value references a parameter or uses arithmetic/conditional ops
(%p/%+/%-/%*/%?/%t/%e/%;). Caps that merely use dynamic-variable or bitwise exotica
(%g/%P/%^/%{/unknown, e.g. icl6402 se, qvt119 is) are copied through verbatim WITHOUT
the marker, matching ncurses (perfect correlation on %p; %+/%- add the arithmetic
cases like c108 ts).
Termcap (-C) content 65.8% -> 66.3%, exact 32.7%. terminfo -1 100%; tests green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CbiPgWC3PHKmrTNvZzXcWQ1 parent a040860 commit b74bdf6
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
466 | | - | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
467 | 469 | | |
468 | 470 | | |
469 | | - | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
470 | 475 | | |
471 | 476 | | |
472 | 477 | | |
| |||
0 commit comments