add comment about the brokeness of some termcap entires that require a

`%' to be just that...

make tput just warn about an unknown type modifier instead of breaking...
this allows you to `tput init' on a tek4107...
This commit is contained in:
John-Mark Gurney 1997-04-02 10:27:27 +00:00
parent 39746e4630
commit 75ce49d645
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24542
2 changed files with 9 additions and 1 deletions

View File

@ -110,6 +110,14 @@ exits 2 if any error occurred.
.Sh BUGS
.Nm Tput
can't really distinguish between different types of attributes.
.Pp
Some termcap entries depend upon having a
.Sq %
in them that is just a
.Sq %
and nothing more. Right now we just warn about them if they don't
have a valid type declaration. These warnings are sent to
stderr.
.Sh HISTORY
The
.Nm

View File

@ -165,7 +165,7 @@ process(cap, str, argv)
/*
* hpux has lot's of them, but we complain
*/
errx(2, erresc, *cp, cap);
warnx(erresc, *cp, cap);
}
/* And print them. */