[slang-users] Incorrect terminfo offsets for HP-UX

River Tarnell river at loreley.flyingparchment.org.uk
Sun Dec 20 03:13:06 UTC 2009


Hi,

The terminfo offsets in src/sltermin.c are wrong for HP-UX; at least AF
and AB are off by two, which makes S-Lang wrongly determine that the
terminal doesn't support colours.

-   {"AB", 360          UNTIC_COMMENT("set ANSI color background")},
-   {"AF", 359          UNTIC_COMMENT("set ANSI color foreground")},
+   {"AB", 362          UNTIC_COMMENT("set ANSI color background")},
+   {"AF", 361          UNTIC_COMMENT("set ANSI color foreground")},

It may be that other offsets are wrong as well - is there a program to
generate this table, or does someone need to go through it by hand?

	- river.


More information about the slang-users-l mailing list