IIRC the directories are searched after the db. Install it as stnew or 
something instead.

-------- Original message --------
From: Nils R <m...@hxgn.net> 
Date: 24/03/2014  17:11  (GMT+00:00) 
To: nicholas.marri...@gmail.com 
Cc: misc@openbsd.org 
Subject: Re: {r,s}mkx entries in terminfo db missing 
 
Nicholas Marriott schrieb am 24.03.2014 14:06:
> Hi
> 
> > On OpenBSD, the curse and termcap library use *only* pre-compiled
> > databases to search for a TERM entry.
> >
> > Every mention to the /usr/share/misc/terminfo/*/* or ~/.terminfo/*/*
> > scheme in OpenBSD's own manpages or on instructions written for
> > system that do use that scheme (Linux) are invalid.
> 
> Not quite. OpenBSD ncurses will also search all of ~/.terminfo,
> /usr/share/terminfo, and /usr/local/share/terminfo.
> 
> So you can install files with tic as normal.
> 
> The manpages say /usr/share/misc/terminfo, but this is not searched
> (only /usr/share/misc/terminfo.db). ISTR changing it in the manpages but
> apparently not.
> 
>

Well, i doubt it does, because even with a newer st.info installed (with 
tic) to ~/.terminfo/s/st*, infocmp always reported entries from (the 
nonexisting) /usr/share/misc/terminfo -- which really was 
/usr/share/misc/terminfo.db, and entries from it were always preferred to 
/usr/share/misc/termcap.db.  Without changing termtypes.master and 
rebuilding the databases as Hugo suggested, st misbehaved.

So if you are dead certain that local terminfo files should be queried, 
there is a bug somewhere.

Best,
Nils

Reply via email to