[prev in list] [next in list] [prev in thread] [next in thread]
List: hpux-devtools
Subject: RE: HPUX-DEVTOOLS: terminfo on HP-UX 11
From: "BENNETT,ANDY (HP-Unitedkingdom,ex1)" <andy.bennett () hp ! com>
Date: 2003-09-29 9:02:45
[Download RAW message or body]
The default location for the terminfo database is /usr/lib/terminfo as
stated in "man terminfo" which just happens to be a symbolic link to
/usr/share/lib/terminfo. I don't have a libcurses.a on my machine and there
is no mention of it in the latest 11.00 curses patch (PHCO_22263), so I
suspect there is no such library supported for 11.00. It would be worth
finding out where this library links from, and if it is in /usr/lib it
probably shouldn't be there. Try using the "what" command on the library to
see if that gives any clues as to what it is.
Regards,
Andy.
> -----Original Message-----
> From: Vadim Elisseev [mailto:velissee@platform.com]
> Sent: 26 September 2003 21:45
> To: hpux-devtools@cxx.cup.hp.com
> Cc: Vadim Elisseev
> Subject: HPUX-DEVTOOLS: terminfo on HP-UX 11
>
>
> What is the default location for the terminfo database
> "/usr/share/lib/terminfo" or "/usr/local/share/terminfo" or both?
>
> It appears that on HP-UX 11. initscr() looks for the
> terminfo database in "/usr/local/share/terminfo" if
> application is linked with /usr/lib/libcurses.a library and
> in "/usr/local/share/terminfo" if it is linked with
> /usr/lib/libcurses.sl.
>
>
> Here is the test case:
>
> #include <curses.h>
>
> main(int argc, char **argv, char **env ) {
> (void)initscr();
> }
>
> Here is the `tusc` output for the testcase linked with
> /usr/lib/libcurses.a: .....
> access("/home/velissee/.terminfo/x/xterm", R_OK) .........
> ERR#2 ENOENT access("/usr/local/share/terminfo/x/xterm",
> R_OK) ........ ERR#2 ENOENT ......
>
> Here is the `tusc` output for the testcase linked with
> /usr/lib/libcurses.sl: ....
> open("/usr/share/lib/terminfo/x/xterm", O_RDONLY, 05424) . = 4 ....
>
>
> Regards,
> Vadim
> _________________________________________________________________
> To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
> with the message UNSUBSCRIBE hpux-devtools
> _________________________________________________________________
>
_________________________________________________________________
To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
with the message UNSUBSCRIBE hpux-devtools
_________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic