| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: termcap.3,v 1.8 2014/03/18 18:20:38 riastradh Exp $ | | 1 | .\" $NetBSD: termcap.3,v 1.9 2017/10/22 16:44:51 abhinav Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2009 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 2009 The NetBSD Foundation, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" This code is derived from software contributed to The NetBSD Foundation | | 6 | .\" This code is derived from software contributed to The NetBSD Foundation |
7 | .\" by Roy Marples. | | 7 | .\" by Roy Marples. |
8 | .\" | | 8 | .\" |
9 | .\" Redistribution and use in source and binary forms, with or without | | 9 | .\" Redistribution and use in source and binary forms, with or without |
10 | .\" modification, are permitted provided that the following conditions | | 10 | .\" modification, are permitted provided that the following conditions |
11 | .\" are met: | | 11 | .\" are met: |
12 | .\" 1. Redistributions of source code must retain the above copyright | | 12 | .\" 1. Redistributions of source code must retain the above copyright |
13 | .\" notice, this list of conditions and the following disclaimer. | | 13 | .\" notice, this list of conditions and the following disclaimer. |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| @@ -25,28 +25,27 @@ | | | @@ -25,28 +25,27 @@ |
25 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | | 25 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
26 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | | 26 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
27 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | | 27 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
28 | .\" POSSIBILITY OF SUCH DAMAGE. | | 28 | .\" POSSIBILITY OF SUCH DAMAGE. |
29 | .\" | | 29 | .\" |
30 | .Dd March 14, 2011 | | 30 | .Dd March 14, 2011 |
31 | .Dt TERMCAP 3 | | 31 | .Dt TERMCAP 3 |
32 | .Os | | 32 | .Os |
33 | .Sh NAME | | 33 | .Sh NAME |
34 | .Nm tgetent , | | 34 | .Nm tgetent , |
35 | .Nm tgetnum , | | 35 | .Nm tgetnum , |
36 | .Nm tgetflag , | | 36 | .Nm tgetflag , |
37 | .Nm tgetstr , | | 37 | .Nm tgetstr , |
38 | .Nm tgoto , | | 38 | .Nm tgoto |
39 | .Nm tputs | | | |
40 | .Nd terminal independent operation routines | | 39 | .Nd terminal independent operation routines |
41 | .Sh LIBRARY | | 40 | .Sh LIBRARY |
42 | .Lb libtermcap | | 41 | .Lb libtermcap |
43 | .Sh SYNOPSIS | | 42 | .Sh SYNOPSIS |
44 | .In termcap.h | | 43 | .In termcap.h |
45 | .Vt char PC ; | | 44 | .Vt char PC ; |
46 | .Vt char *BC ; | | 45 | .Vt char *BC ; |
47 | .Vt char *UP ; | | 46 | .Vt char *UP ; |
48 | .Ft int | | 47 | .Ft int |
49 | .Fn tgetent "char *bp" "const char *name" | | 48 | .Fn tgetent "char *bp" "const char *name" |
50 | .Ft int | | 49 | .Ft int |
51 | .Fn tgetnum "const char *id" | | 50 | .Fn tgetnum "const char *id" |
52 | .Ft int | | 51 | .Ft int |