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:
parent
39746e4630
commit
75ce49d645
@ -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
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user