X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Ftput.1;h=7e20fbed5b2046759171e50c829f648788ae8509;hp=62fa9ebcb305e0919f5d25c40d7bf7e2e61feaa7;hb=42259b594b5dabd37fe2bc294051d2db82e873a2;hpb=7d6371e47006c8aef4ac94f52998a35b03bf89cf diff --git a/man/tput.1 b/man/tput.1 index 62fa9ebc..7e20fbed 100644 --- a/man/tput.1 +++ b/man/tput.1 @@ -1,6 +1,7 @@ '\" t .\"*************************************************************************** -.\" Copyright (c) 1998-2017,2018 Free Software Foundation, Inc. * +.\" Copyright 2018,2020 Thomas E. Dickey * +.\" Copyright 1998-2016,2017 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -27,7 +28,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: tput.1,v 1.61 2018/08/25 23:28:12 tom Exp $ +.\" $Id: tput.1,v 1.64 2020/04/25 21:52:49 tom Exp $ .TH @TPUT@ 1 "" .ds d @TERMINFO@ .ds n 1 @@ -275,7 +276,7 @@ named \fBinit\fP has a more well-established use. .PP Besides the special commands (e.g., \fBclear\fP), @TPUT@ treats certain terminfo capabilities specially: -\fBlines\fP and \fBcolumns\fP. +\fBlines\fP and \fBcols\fP. @TPUT@ calls \fBsetupterm\fP(3X) to obtain the terminal size: .bP first, it gets the size from the terminal database @@ -571,7 +572,7 @@ However that part of X/Open Curses does not follow existing practice It assigns exit code 4 to \*(``invalid operand\*('', which may be the same as \fIunknown capability\fP. For instance, the source code for Solaris' xcurses uses the term -\*(``invalid\*'' in this case. +\*(``invalid\*('' in this case. .bP It assigns exit code 255 to a numeric variable that is not specified in the terminfo database.