summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2004-05-29 18:50:11 (GMT)
committerjenglish <jenglish@flightlab.com>2004-05-29 18:50:11 (GMT)
commit76db3e4e9d4a852f78aacdcab9d1185a2d01349f (patch)
tree0ad78da986f4eac1a365d5db4c21350e8f51d541
parentcec1c6675d2dde0127ef69c29bde5fe69706c236 (diff)
downloadtcl-76db3e4e9d4a852f78aacdcab9d1185a2d01349f.zip
tcl-76db3e4e9d4a852f78aacdcab9d1185a2d01349f.tar.gz
tcl-76db3e4e9d4a852f78aacdcab9d1185a2d01349f.tar.bz2
Fix minor markup errors.
-rw-r--r--ChangeLog5
-rw-r--r--doc/global.n9
-rw-r--r--doc/interp.n13
-rw-r--r--doc/lrange.n4
4 files changed, 17 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e635b5..c96b405 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-29 Joe English <jenglish@users.sourceforge.net>
+
+ * doc/global.n, doc/interp.n, doc/lrange.n:
+ Fix minor markup errors.
+
2004-05-28 Donal K. Fellows <donal.k.fellows@man.ac.uk>
* doc/*.n: Added examples to many (too many to list) more man pages.
diff --git a/doc/global.n b/doc/global.n
index 5c0d6ab..4555d68 100644
--- a/doc/global.n
+++ b/doc/global.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: global.n,v 1.7 2004/05/25 20:17:06 msofer Exp $
+'\" RCS: @(#) $Id: global.n,v 1.8 2004/05/29 18:50:32 jenglish Exp $
'\"
.so man.macros
.TH global n "" Tcl "Tcl Built-In Commands"
@@ -31,23 +31,20 @@ the unqualified name of the global variable, as determined by the
\fIvarname\fR is always treated as the name of a variable, not an
array element. An error is returned if the name looks like an array element,
such as \fBa(b)\fR.
-.SH EXAMPLE 1
+.SH "EXAMPLE 1"
This procedure sets the namespace variable \fI::a::x\fR
-.PP
.CS
proc reset {} {
global a::x
set x 0
}
.CE
-.PP
-.SH EXAMPLE 2
+.SH "EXAMPLE 2"
This procedure accumulates the strings passed to it in a global
buffer, separated by newlines. It is useful for situations when you
want to build a message piece-by-piece (as if with \fBputs\fR) but
send that full message in a single piece (e.g. over a connection
opened with \fBsocket\fR or as part of a counted HTTP response).
-.PP
.CS
proc accum {string} {
global accumulator
diff --git a/doc/interp.n b/doc/interp.n
index 204024f..f645f99 100644
--- a/doc/interp.n
+++ b/doc/interp.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: interp.n,v 1.11 2004/05/18 10:52:57 dkf Exp $
+'\" RCS: @(#) $Id: interp.n,v 1.12 2004/05/29 18:50:33 jenglish Exp $
'\"
.so man.macros
.TH interp n 7.6 Tcl "Tcl Built-In Commands"
@@ -59,8 +59,9 @@ instead, it is \fIhidden\fR, so that only trusted interpreters can obtain
access to it. For a detailed explanation of hidden commands, see
HIDDEN COMMANDS, below.
The alias mechanism can be used for protected communication (analogous to a
-kernel call) between a slave interpreter and its master. See ALIAS
-INVOCATION, below, for more details on how the alias mechanism works.
+kernel call) between a slave interpreter and its master.
+See ALIAS INVOCATION, below, for more details
+on how the alias mechanism works.
.PP
A qualified interpreter name is a proper Tcl lists containing a subset of its
ancestors in the interpreter hierarchy, terminated by the string naming the
@@ -359,8 +360,8 @@ applied to the arguments.
If the \fB-global\fR flag is given, the command is invoked at the global
level in the slave; otherwise it is invoked at the current call frame and
can access local variables in that or outer call frames.
-For more details on hidden commands, see HIDDEN
-COMMANDS, below.
+For more details on hidden commands,
+see HIDDEN COMMANDS, below.
.TP
\fIslave \fBissafe\fR
Returns \fB1\fR if the slave interpreter is safe, \fB0\fR otherwise.
@@ -445,7 +446,7 @@ creates a safe interpreter:
.DS
.ta 1.2i 2.4i 3.6i
\fBcd encoding exec exit
-fconfigure file glob load
+fconfigure file glob load
open pwd socket source\fR
.DE
These commands can be recreated later as Tcl procedures or aliases, or
diff --git a/doc/lrange.n b/doc/lrange.n
index e2ec3eb..86c124e 100644
--- a/doc/lrange.n
+++ b/doc/lrange.n
@@ -6,7 +6,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: lrange.n,v 1.7 2004/04/16 22:20:58 dkf Exp $
+'\" RCS: @(#) $Id: lrange.n,v 1.8 2004/05/29 18:50:33 jenglish Exp $
'\"
.so man.macros
.TH lrange n 7.4 Tcl "Tcl Built-In Commands"
@@ -41,7 +41,7 @@ Selecting the first two elements:
.CS
% lrange {a b c d e} 0 1
a b
-.CS
+.CE
Selecting the last three elements:
.CS