diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-07-25 19:36:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-07-25 19:36:12 +0000 |
commit | 374109a8fde5df946aabb8864c32e8cdcf566fa9 (patch) | |
tree | 067568ce3ce47f13083096c257ec9c7bdb974448 /lib/libcurses/read_bsd_terminfo.c | |
parent | c0931e607931a2e0989312c480aac1e791c73a85 (diff) |
fix comment
Diffstat (limited to 'lib/libcurses/read_bsd_terminfo.c')
-rw-r--r-- | lib/libcurses/read_bsd_terminfo.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/lib/libcurses/read_bsd_terminfo.c b/lib/libcurses/read_bsd_terminfo.c index 7d92dd5e815..7165b792bd9 100644 --- a/lib/libcurses/read_bsd_terminfo.c +++ b/lib/libcurses/read_bsd_terminfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: read_bsd_terminfo.c,v 1.2 1998/07/24 06:10:42 downsj Exp $ */ +/* $OpenBSD: read_bsd_terminfo.c,v 1.3 1998/07/25 19:36:11 millert Exp $ */ /* * Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com> @@ -31,7 +31,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: read_bsd_terminfo.c,v 1.2 1998/07/24 06:10:42 downsj Exp $"; +static char rcsid[] = "$OpenBSD: read_bsd_terminfo.c,v 1.3 1998/07/25 19:36:11 millert Exp $"; #endif #include <curses.priv.h> @@ -69,15 +69,11 @@ _nc_read_bsd_terminfo_entry(tn, tp) fname = pathvec; p = pathbuf; /* - * TERMINFO can have one of two things in it. It can be the name - * of a file to use instead of /usr/share/misc/terminfo. In this - * case it better start with a "/". Or it can be an entry to use - * so we don't have to read the file. In this case it has to - * already have the newlines crunched out. If TERMINFO does not - * hold a file name then a path of names is searched instead. - * The path is found in the TERMINFO variable, or becomes - * "$HOME/.terminfo /usr/share/misc/terminfo" if no TERMINFO - * exists. + * TERMINFO can have the name of a file to use instead of + * /usr/share/misc/terminfo. If TERMINFO does not hold a file + * name then a path of names is searched instead. The path is + * found in the TERMINFO variable, or becomes "$HOME/.terminfo + * /usr/share/misc/terminfo" if no TERMINFO exists. */ if ((termpath = getenv("TERMINFO")) != NULL) strlcpy(pathbuf, termpath, sizeof(pathbuf)); |