slang-users mailing list

[2009 Date Index] [2009 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

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


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.



[2009 date index] [2009 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]