From 76db3e4e9d4a852f78aacdcab9d1185a2d01349f Mon Sep 17 00:00:00 2001 From: jenglish Date: Sat, 29 May 2004 18:50:11 +0000 Subject: Fix minor markup errors. --- ChangeLog | 5 +++++ doc/global.n | 9 +++------ doc/interp.n | 13 +++++++------ doc/lrange.n | 4 ++-- 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 + + * doc/global.n, doc/interp.n, doc/lrange.n: + Fix minor markup errors. + 2004-05-28 Donal K. Fellows * 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 -- cgit v0.12