summaryrefslogtreecommitdiffstats
path: root/doc/fconfigure.n
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2008-10-17 10:22:24 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2008-10-17 10:22:24 (GMT)
commit80edbf61be6a3b316aa5cb4880e48c2292f9e40c (patch)
tree5a94240e321022019f593f6bd712833ab12138c6 /doc/fconfigure.n
parentf41268c0ed86eeafeccc4b622a2edc32837fea10 (diff)
downloadtcl-80edbf61be6a3b316aa5cb4880e48c2292f9e40c.zip
tcl-80edbf61be6a3b316aa5cb4880e48c2292f9e40c.tar.gz
tcl-80edbf61be6a3b316aa5cb4880e48c2292f9e40c.tar.bz2
Improve clarity of formatting.
Diffstat (limited to 'doc/fconfigure.n')
-rw-r--r--doc/fconfigure.n6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/fconfigure.n b/doc/fconfigure.n
index 6df3037..610c898 100644
--- a/doc/fconfigure.n
+++ b/doc/fconfigure.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: fconfigure.n,v 1.21 2008/10/14 14:02:55 dkf Exp $
+'\" RCS: @(#) $Id: fconfigure.n,v 1.22 2008/10/17 10:22:25 dkf Exp $
'\"
.so man.macros
.TH fconfigure n 8.3 Tcl "Tcl Built-In Commands"
@@ -216,14 +216,17 @@ If, for example, a Tcl application is started by the \fBinet\fR
super-server common on Unix system its Tcl standard channels will be
sockets and thus support the socket options.
.SH EXAMPLES
+.PP
Instruct Tcl to always send output to \fBstdout\fR immediately,
whether or not it is to a terminal:
+.PP
.CS
\fBfconfigure\fR stdout -buffering none
.CE
.PP
Open a socket and read lines from it without ever blocking the
processing of other events:
+.PP
.CS
set s [socket some.where.com 12345]
\fBfconfigure\fR $s -blocking 0
@@ -244,6 +247,7 @@ proc readMe chan {
.CE
.PP
Read a PPM-format image from a file:
+.PP
.CS
# Open the file and put it into Unix ASCII mode
set f [open teapot.ppm]