summaryrefslogtreecommitdiffstats
path: root/Doc/mac
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-14 21:53:48 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-14 21:53:48 (GMT)
commitf90dbc9c8794011489169f9da289c7b0949cec85 (patch)
tree88d4a6b60276da134aaaa68990cbc913e2ba75d9 /Doc/mac
parentbd9ded81904e9c1abfe5d78ec83e480520dde542 (diff)
downloadcpython-f90dbc9c8794011489169f9da289c7b0949cec85.zip
cpython-f90dbc9c8794011489169f9da289c7b0949cec85.tar.gz
cpython-f90dbc9c8794011489169f9da289c7b0949cec85.tar.bz2
Logical markup.
Diffstat (limited to 'Doc/mac')
-rw-r--r--Doc/mac/libmacconsole.tex16
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/mac/libmacconsole.tex b/Doc/mac/libmacconsole.tex
index 20b34bc..bd601b9 100644
--- a/Doc/mac/libmacconsole.tex
+++ b/Doc/mac/libmacconsole.tex
@@ -5,7 +5,7 @@
\setindexsubitem{(in module macconsole)}
This module is available on the Macintosh, provided Python has been
-built using the Think C compiler. It provides an interface to the
+built using the Think \C{} compiler. It provides an interface to the
Think console package, with which basic text windows can be created.
\begin{datadesc}{options}
@@ -17,10 +17,10 @@ see below.
\dataline{C_NOECHO}
\dataline{C_CBREAK}
\dataline{C_RAW}
-Options for the \code{setmode} method. \var{C_ECHO} and \var{C_CBREAK}
-enable character echo, the other two disable it, \var{C_ECHO} and
-\var{C_NOECHO} enable line-oriented input (erase/kill processing,
-etc).
+Options for the \code{setmode} method. \constant{C_ECHO} and
+\constant{C_CBREAK} enable character echo, the other two disable it,
+\constant{C_ECHO} and \constant{C_NOECHO} enable line-oriented input
+(erase/kill processing, etc).
\end{datadesc}
\begin{funcdesc}{copen}{}
@@ -67,14 +67,14 @@ If set non-zero, the window will wait for user action before closing.
\begin{datadesc}{file}
The file object corresponding to this console window. If the file is
-buffered, you should call \code{file.flush()} between \code{write()}
-and \code{read()} calls.
+buffered, you should call \code{\var{file}.flush()} between
+\code{write()} and \code{read()} calls.
\end{datadesc}
\setindexsubitem{(console window method)}
\begin{funcdesc}{setmode}{mode}
-Set the input mode of the console to \var{C_ECHO}, etc.
+Set the input mode of the console to \constant{C_ECHO}, etc.
\end{funcdesc}
\begin{funcdesc}{settabs}{n}