Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libterminfo Fix some typos and spelling errors.



details:   https://anonhg.NetBSD.org/src/rev/15cbd5c4d709
branches:  trunk
changeset: 751417:15cbd5c4d709
user:      snj <snj%NetBSD.org@localhost>
date:      Wed Feb 03 18:49:23 2010 +0000

description:
Fix some typos and spelling errors.

diffstat:

 lib/libterminfo/genhash        |   6 +++---
 lib/libterminfo/term_private.h |   4 ++--
 lib/libterminfo/termcap.3      |  16 ++++++++--------
 lib/libterminfo/terminfo.3     |  22 +++++++++++-----------
 lib/libterminfo/terminfo.5.in  |  22 +++++++++++-----------
 5 files changed, 35 insertions(+), 35 deletions(-)

diffs (246 lines):

diff -r 5426ef4951cb -r 15cbd5c4d709 lib/libterminfo/genhash
--- a/lib/libterminfo/genhash   Wed Feb 03 18:14:56 2010 +0000
+++ b/lib/libterminfo/genhash   Wed Feb 03 18:49:23 2010 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: genhash,v 1.1 2010/02/03 15:16:32 roy Exp $
+# $NetBSD: genhash,v 1.2 2010/02/03 18:49:23 snj Exp $
 
 # Copyright (c) 2009 The NetBSD Foundation, Inc.
 #
@@ -29,7 +29,7 @@
 
 # Generate string and hash tables for our terminfo strings in term.h
 # We don't expose the hash or tables directly, but instead via functions.
-# This allows use to freely change how we hash or store our string tables
+# This allows us to freely change how we hash or store our string tables
 # in the future.
 
 : ${TOOL_AWK:=awk}
@@ -88,7 +88,7 @@
  * Automatically generated from term.h */
 
 #include <sys/cdefs.h>
-__RCSID("\$NetBSD: genhash,v 1.1 2010/02/03 15:16:32 roy Exp $");
+__RCSID("\$NetBSD: genhash,v 1.2 2010/02/03 18:49:23 snj Exp $");
 
 #include <sys/types.h>
 
diff -r 5426ef4951cb -r 15cbd5c4d709 lib/libterminfo/term_private.h
--- a/lib/libterminfo/term_private.h    Wed Feb 03 18:14:56 2010 +0000
+++ b/lib/libterminfo/term_private.h    Wed Feb 03 18:49:23 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: term_private.h,v 1.1 2010/02/03 15:16:32 roy Exp $ */
+/* $NetBSD: term_private.h,v 1.2 2010/02/03 18:49:23 snj Exp $ */
 
 /*
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
  * All strings are prefixed by length, including the null terminator.
  * The largest string length we can handle is 65535 bytes,
  * including the null terminator.
- * The largest capabaility block we can handle is 65535 bytes.
+ * The largest capability block we can handle is 65535 bytes.
  * This means that we exceed the current terminfo defined limits.
  * The header is version (char), name.
  * version 0 is an alias, and the name refers to the real terminfo.
diff -r 5426ef4951cb -r 15cbd5c4d709 lib/libterminfo/termcap.3
--- a/lib/libterminfo/termcap.3 Wed Feb 03 18:14:56 2010 +0000
+++ b/lib/libterminfo/termcap.3 Wed Feb 03 18:49:23 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: termcap.3,v 1.2 2010/02/03 15:49:42 wiz Exp $
+.\"    $NetBSD: termcap.3,v 1.3 2010/02/03 18:49:23 snj Exp $
 .\"
 .\" Copyright (c) 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -42,9 +42,9 @@
 .Lb libtermcap
 .Sh SYNOPSIS
 .In termcap.h
-.Vt char PC;
-.Vt char *BC;
-.Vt char *UP;
+.Vt char PC ;
+.Vt char *BC ;
+.Vt char *UP ;
 .Ft int
 .Fn tgetent "char *bp" "const char *name"
 .Ft int
@@ -56,8 +56,8 @@
 .Ft char *
 .Fn tgoto "const char *cm" "int destcol" "int destline"
 .Sh DESCRIPTION
-These functions extract and use capabilities from a terminal capability data
-base.
+These functions extract and use capabilities from a terminal capability
+database.
 They exist as wrappers around equivalent
 .Xr terminfo 3
 functions, which new code should use.
@@ -82,7 +82,7 @@
 function returns -1 if none of the
 .Nm terminfo
 data base files could be opened,
-0 if the terminal name given does not match an entry
+0 if the terminal name given does not match an entry,
 and 1 if all goes well.
 The
 .Fa bp
@@ -117,7 +117,7 @@
 .Pp
 The
 .Fn tgoto
-fucntion returns a cursor addressing string decoded from
+function returns a cursor addressing string decoded from
 .Fa cm
 to go to column
 .Fa destcol
diff -r 5426ef4951cb -r 15cbd5c4d709 lib/libterminfo/terminfo.3
--- a/lib/libterminfo/terminfo.3        Wed Feb 03 18:14:56 2010 +0000
+++ b/lib/libterminfo/terminfo.3        Wed Feb 03 18:49:23 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: terminfo.3,v 1.2 2010/02/03 15:47:13 wiz Exp $
+.\"    $NetBSD: terminfo.3,v 1.3 2010/02/03 18:49:23 snj Exp $
 .\"
 .\" Copyright (c) 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -45,9 +45,9 @@
 .Lb libterminfo
 .Sh SYNOPSIS
 .In term.h
-.Vt char PC;
-.Vt short ospeed;
-.Vt TERMINAL *cur_term;
+.Vt char PC ;
+.Vt short ospeed ;
+.Vt TERMINAL *cur_term ;
 .Ft int
 .Fn setupterm "const char *name" "int fildes" "int *errret"
 .Ft TERMINAL *
@@ -85,8 +85,8 @@
 .Ft int
 .Fn ti_putp "const TERMINAL *term" "const char *str"
 .Sh DESCRIPTION
-These functions extract and use capabilities from a terminal capability data
-base, usually
+These functions extract and use capabilities from a terminal capability
+database, usually
 .Pa /usr/share/misc/terminfo ,
 the format of which is described in
 .Xr terminfo 5 .
@@ -117,7 +117,7 @@
 is set to \-1 if the
 .Nm terminfo
 database could not be opened,
-0 if the terminal could not be found in the database and
+0 if the terminal could not be found in the database, and
 1 if all went well.
 .Pp
 The
@@ -165,10 +165,10 @@
 .Va cm
 with the parameters
 .Va p1
-\...
+\&...
 .Va p9
 applied.
-Some capabilities require string paramters and only platforms that can fit
+Some capabilities require string parameters and only platforms that can fit
 a char * pointer inside a long can use them.
 The string encoding and parameter application is described in
 .Xr terminfo 5 .
@@ -179,7 +179,7 @@
 .Va cp ;
 .Va affcnt
 gives the number of lines affected by the operation,
-or 1 if this is not applicable,
+or 1 if this is not applicable;
 .Va outc
 is a function which is called by each character in turn.
 The external variable
@@ -202,7 +202,7 @@
 .Pp
 The
 .Fn ti_*
-fuctions correspond to the standard
+functions correspond to the standard
 .Fn t*
 functions but take an additional
 .Ft TERMINAL *
diff -r 5426ef4951cb -r 15cbd5c4d709 lib/libterminfo/terminfo.5.in
--- a/lib/libterminfo/terminfo.5.in     Wed Feb 03 18:14:56 2010 +0000
+++ b/lib/libterminfo/terminfo.5.in     Wed Feb 03 18:49:23 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: terminfo.5.in,v 1.2 2010/02/03 15:47:17 wiz Exp $
+.\"    $NetBSD: terminfo.5.in,v 1.3 2010/02/03 18:49:23 snj Exp $
 .\"
 .\" Copyright (c) 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -48,7 +48,7 @@
 .Pp
 Entries in
 .Nm
-consist of a number of comma seperated fields.
+consist of a number of comma separated fields.
 White space after each comma is ignored.
 Embedded commas must be escaped by using a backslash.
 Lines beginning with # in the first column are treated as comments.
@@ -56,10 +56,10 @@
 .Pp
 The header line must begin in column one and end with a comma.
 Inside the header line are terminal name and aliases,
-seperated by vertical bars, the last one being the long
+separated by vertical bars, the last one being the long
 description of the terminal.
 .Pp
-Capability lines then follow, starting on column two and end with a comma.
+Capability lines then follow, starting on column two and ending with a comma.
 Each capability is listed by its name, followed by its value if applicable.
 Booleans have no values, numeric values are prefixed by # and
 strings are prefixed by =.
@@ -92,13 +92,13 @@
 character, it should be escaped as
 .Sy \e200 .
 .Pp
-A delay in milliseconds my appear anywhere in a string capability,
-prefixed with a dollar and enclosed by angled brackets, such as
+A delay in milliseconds may appear anywhere in a string capability,
+prefixed with a dollar sign and enclosed by angled brackets, such as
 .Sy $<5> .
 .Ss String Parameters
-String capabilities sometimes requires parameters.
+String capabilities sometimes require parameters.
 Normally this just involves replacing the parameter with a supplied
-variable, however there are cases where the variable need to be manipulated
+variable; however, there are cases where the variable needs to be manipulated
 or used in conditional expressions.
 A stack is also provided for simple pop and push operations.
 .Pp
@@ -126,7 +126,7 @@
 .Pp
 Static variables persist over
 .Fn tparm
-where-as dyanmic variables do not.
+whereas dynamic variables do not.
 .It Sy %'c'
 char constant c.
 .It Sy %{nn}
@@ -142,7 +142,7 @@
 .It Sy %i
 add 1 to parameters 1 and 2.
 .It Sy %? Va expr Sy %t Ic then Sy %e Ic else Sy %;
-If expr equates to zero then contol passes to the optional else part.
+If expr equates to zero then control passes to the optional else part.
 .El
 .Ss Boolean Capabilities
 .Bl -column "enter_near_quality_letter" "setcolor" "TC"
@@ -218,7 +218,7 @@
 .St -xcurses4.2
 standard.
 .Pp
-Extentions to the standard are noted in
+Extensions to the standard are noted in
 .Xr tic 1 .
 .Sh AUTHORS
 .An Roy Marples Aq roy%NetBSD.org@localhost



Home | Main Index | Thread Index | Old Index