]> granicus.if.org Git - python/commitdiff
Logical markup.
authorFred Drake <fdrake@acm.org>
Sat, 14 Mar 1998 21:53:48 +0000 (21:53 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 14 Mar 1998 21:53:48 +0000 (21:53 +0000)
Doc/libmacconsole.tex
Doc/mac/libmacconsole.tex

index 20b34bc7e65e7a0f45f5402fea64bc80d9e7070f..bd601b9ad2ea1815e48385cc65efe3a961d0cf1f 100644 (file)
@@ -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}
index 20b34bc7e65e7a0f45f5402fea64bc80d9e7070f..bd601b9ad2ea1815e48385cc65efe3a961d0cf1f 100644 (file)
@@ -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}