Add spacing around variable definitions.

From a discussion with Thomas Klausner.
This commit is contained in:
jdc 2003-04-11 09:37:15 +00:00
parent 707c1872d8
commit 0361a50a77
3 changed files with 14 additions and 12 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: curses_color.3,v 1.3 2003/01/27 21:03:05 jdc Exp $
.\" $NetBSD: curses_color.3,v 1.4 2003/04/11 09:37:15 jdc Exp $
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\"
@ -68,10 +68,10 @@
.Fn color_content "short color" "short *red" "short *green" "short *blue"
.Ft attr_t
.Fn no_color_video void
.Ft extern int
.Dv COLOR_PAIRS
.Ft extern int
.Dv COLORS
.Pp
.Va extern int COLOR_PAIRS ;
.Pp
.Va extern int COLORS ;
.Sh DESCRIPTION
These functions manipulate color on terminals that support color attributes.
.Pp
@ -106,12 +106,12 @@ defined in
.Em \*[Lt]curses.h\*[Gt] .
.Fn start_color
also initializes the global external variables
.Dv COLORS
.Va COLORS
and
.Dv COLOR_PAIRS .
.Dv COLORS
.Va COLOR_PAIRS .
.Va COLORS
defines the number of colors that the terminal supports and
.Dv COLOR_PAIRS
.Va COLOR_PAIRS
defines the number of color-pairs that the terminal supports.
These color-pairs are initialized to white foreground on black background.
.Fn start_color

View File

@ -1,4 +1,4 @@
.\" $NetBSD: curses_input.3,v 1.9 2003/04/08 21:15:21 wiz Exp $
.\" $NetBSD: curses_input.3,v 1.10 2003/04/11 09:37:15 jdc Exp $
.\"
.\" Copyright (c) 2002
.\" Brett Lymn (blymn@NetBSD.org, brett_lymn@yahoo.com.au)
@ -94,6 +94,7 @@
.Fn nodelay "WINDOW *win" "boolf flag"
.Ft int
.Fn ungetch "int c"
.Pp
.Va extern int ESCDELAY ;
.Sh DESCRIPTION
These functions read characters and strings from the window input file

View File

@ -1,4 +1,4 @@
.\" $NetBSD: curses_screen.3,v 1.7 2003/04/08 21:19:15 wiz Exp $
.\" $NetBSD: curses_screen.3,v 1.8 2003/04/11 09:37:16 jdc Exp $
.\"
.\" Copyright (c) 2002
.\" Brett Lymn (blymn@NetBSD.org, brett_lymn@yahoo.com.au)
@ -64,8 +64,9 @@
.Fn resizeterm "int lines" "int cols"
.Ft int
.Fn setterm "char *name"
.Pp
.Va extern int LINES ;
.br
.Pp
.Va extern int COLS ;
.Sh DESCRIPTION
These functions initialize terminals and screens.