summaryrefslogtreecommitdiffstats
path: root/doc/vwait.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/vwait.n')
-rw-r--r--doc/vwait.n10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/vwait.n b/doc/vwait.n
index 6cd8be2..568f23a 100644
--- a/doc/vwait.n
+++ b/doc/vwait.n
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: vwait.n,v 1.5 2004/05/20 22:58:14 dkf Exp $
+'\" RCS: @(#) $Id: vwait.n,v 1.6 2004/10/27 14:43:54 dkf Exp $
'\"
.so man.macros
.TH vwait n 8.0 Tcl "Tcl Built-In Commands"
@@ -40,9 +40,9 @@ Run the event-loop continually until some event calls \fBexit\fR.
(You can use any variable not mentioned elsewhere, but the name
\fIforever\fR reminds you at a glance of the intent.)
.CS
-vwait forever
+\fBvwait\fR forever
.CE
-
+.PP
Wait five seconds for a connection to a server socket, otherwise
close the socket and continue running the script:
.CS
@@ -56,7 +56,7 @@ proc accept {args} {
}
# Wait for something to happen
-vwait state
+\fBvwait\fR state
# Clean up events that could have happened
close $server
@@ -75,7 +75,7 @@ switch $state {
.CE
.SH "SEE ALSO"
-global(n)
+global(n), update(n)
.SH KEYWORDS
event, variable, wait