read_bsd_terminfo.c is only for OpenBSD's cap_mkdb terminfo.db
file. ncurses will still search TERMINFO_DIRS as well. Looks like I
changed tic.1 by mistake.



On Sat, Mar 23, 2013 at 10:30:38PM +0000, Creamy wrote:
> On Sat, Mar 23, 2013 at 05:31:15PM -0430, Andres Perera wrote:
> > $ ident src/lib/libcurses/tinfo/read_bsd_terminfo.c
> > src/lib/libcurses/tinfo/read_bsd_terminfo.c:
> >      $OpenBSD: read_bsd_terminfo.c,v 1.18 2010/01/12 23:22:06 nicm Exp $
> > $ grep -B2 -nw _PATH_TERMINFO src/lib/libcurses/tinfo/read_bsd_terminfo.c
> > 22-#include <term_entry.h>
> > 23-
> > 24:#define      _PATH_TERMINFO  "/usr/share/misc/terminfo"
> > --
> > 60-
> > 61-    /* Finally we check the system terminfo file */
> > 62:    *fname++ = _PATH_TERMINFO;
> 
> $ ls /usr/share/misc/terminfo
> ls: /usr/share/misc/terminfo: No such file or directory
> $ ls /usr/share/terminfo
> 1 2 3 4 5 6 7 8 9 A E L M N P Q X a b c d e f g h i j k l m n o p q r s t u v 
> w x z
> 
> -- 
> Creamy
> 

Reply via email to