Module Name: src
Committed By: christos
Date: Mon Mar 14 11:44:21 UTC 2011
Modified Files:
src/lib/libterminfo: termcap.3
Log Message:
OOPS has been reverted.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libterminfo/termcap.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libterminfo/termcap.3
diff -u src/lib/libterminfo/termcap.3:1.5 src/lib/libterminfo/termcap.3:1.6
--- src/lib/libterminfo/termcap.3:1.5 Sun Mar 6 19:27:51 2011
+++ src/lib/libterminfo/termcap.3 Mon Mar 14 07:44:20 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: termcap.3,v 1.5 2011/03/07 00:27:51 christos Exp $
+.\" $NetBSD: termcap.3,v 1.6 2011/03/14 11:44:20 christos Exp $
.\"
.\" Copyright (c) 2009 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd March 6, 2011
+.Dd March 14, 2011
.Dt TERMCAP 3
.Os
.Sh NAME
@@ -126,11 +126,17 @@
in line
.Fa destline ,
or
+.Dv NULL
+on error conditions such as out of memory.
+Please note that
+.Fn tgoto
+can return an incomplete value on a malformed input sequence.
+Historically
+.Fn tgoto
+used to return
.Dq OOPS
-if it could not decode
-a
-.Dv %
-sequence.
+on those conditions, so newer programs should now be checking the return
+value.
.Sh SEE ALSO
.Xr terminfo 3 ,
.Xr terminfo 5