How to find the TERMINFO supplied by ncurses port #658
-
Hi, please excuse this somewhat naive question, as I'm quite new to the z/OS Open Tools ports, only having installed them today for the first time. I am using PuTTY on z/OS 2.5. I installed ncurses with "zopen install ncurses".
I can run infocmp -V as suggested in the test.sh shown at https://github.com/ZOSOpenTools/ncursesport/blob/main/test.sh
However when I try tput, I get the following:
I have exported TERMINFO to point to the supplied terminfo directory which has heaps of defined terminals (much more than the defaults that come with Unix System Services), including the 'linux' entry in the 'l' subdirectory.
So my question is, how do I get the supplied TERMINFO database to be used by the zopen ncurses port? I admit to being a novice, so be gentle :-) I did see this earlier issue, but couldn't quite see how it helps me: https://github.com/orgs/ZOSOpenTools/discussions/195 I tried this, but it didn't seem to work:
This also failed, but I was unwilling to make it executable as that might break something else:
Thanks in advance for any help. I'll keep digging around to see if anything else presents the answer. I am looking forward to getting more familiar with this project as it seems very inspiring. Kind regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I am not sure if this is the issue but I |
Beta Was this translation helpful? Give feedback.
-
Yep, that variable is set as expected. Ncurses now works as expected with my minimalist test program. Thanks heaps! cheers, |
Beta Was this translation helpful? Give feedback.
I am not sure if this is the issue but I
export TERM=xterm