Hi,
I've been trying to update the terminfo database to match the terminals I usually login from, that is a Konsole (TERM=xterm), a redhat linux console (TERM=linux) and cygwin or putty from windows. Mainly because shell line editing is broken in a few cases and colours don't work. I've found the following behaviour:

While /usr/share/misc/terminfo.db exists it will always be used no matter what exists in /usr/share/terminfo/*/* /usr/share/misc/terminfo/*/* or $HOME/.terminfo/*/* or what the is set in the TERMINFO or TERMINFO_DIRS environment variables. At least thats the behaviour I've seen exhibited by infocmp, vim and colorls.

Is this the way it's supposed to work? Previous postings on this list (~07 Sep 2003) say that /usr/share/terminfo should override /usr/share/misc/terminfo.db but it isn't happening for me. If that is the case can anyone a way to get my new entries into terminfo.db, or extract all the existing ones into the expanded database format? Also what governs the width of pages generated by man(1)? On most systems they are always formated to fit my terminal but on OpenBSD they always appear 80 columns wide.

Thanks
Mike

Reply via email to