Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
88adcdfb
Commit
88adcdfb
authored
Mar 02, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added \platform annotations.
parent
e5b23a1e
Changes
38
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
293 additions
and
238 deletions
+293
-238
Doc/lib/libal.tex
Doc/lib/libal.tex
+9
-7
Doc/lib/libamoeba.tex
Doc/lib/libamoeba.tex
+9
-8
Doc/lib/libcd.tex
Doc/lib/libcd.tex
+1
-0
Doc/lib/libcrypt.tex
Doc/lib/libcrypt.tex
+10
-6
Doc/lib/libdbm.tex
Doc/lib/libdbm.tex
+2
-1
Doc/lib/libfcntl.tex
Doc/lib/libfcntl.tex
+6
-5
Doc/lib/libfl.tex
Doc/lib/libfl.tex
+20
-15
Doc/lib/libfm.tex
Doc/lib/libfm.tex
+1
-0
Doc/lib/libgdbm.tex
Doc/lib/libgdbm.tex
+1
-0
Doc/lib/libgl.tex
Doc/lib/libgl.tex
+9
-5
Doc/lib/libgrp.tex
Doc/lib/libgrp.tex
+5
-4
Doc/lib/libimgfile.tex
Doc/lib/libimgfile.tex
+3
-2
Doc/lib/libjpeg.tex
Doc/lib/libjpeg.tex
+1
-0
Doc/lib/libmsvcrt.tex
Doc/lib/libmsvcrt.tex
+1
-0
Doc/lib/libpopen2.tex
Doc/lib/libpopen2.tex
+4
-8
Doc/lib/libposix.tex
Doc/lib/libposix.tex
+3
-2
Doc/lib/libposixfile.tex
Doc/lib/libposixfile.tex
+6
-2
Doc/lib/libpwd.tex
Doc/lib/libpwd.tex
+4
-4
Doc/lib/libresource.tex
Doc/lib/libresource.tex
+10
-7
Doc/lib/libstat.tex
Doc/lib/libstat.tex
+14
-6
Doc/lib/libsunaudio.tex
Doc/lib/libsunaudio.tex
+2
-1
Doc/lib/libsyslog.tex
Doc/lib/libsyslog.tex
+3
-2
Doc/lib/libtermios.tex
Doc/lib/libtermios.tex
+11
-8
Doc/lib/libwinsound.tex
Doc/lib/libwinsound.tex
+1
-0
Doc/mac/libctb.tex
Doc/mac/libctb.tex
+5
-4
Doc/mac/libframework.tex
Doc/mac/libframework.tex
+84
-81
Doc/mac/libmac.tex
Doc/mac/libmac.tex
+5
-2
Doc/mac/libmacconsole.tex
Doc/mac/libmacconsole.tex
+4
-4
Doc/mac/libmacdnr.tex
Doc/mac/libmacdnr.tex
+7
-5
Doc/mac/libmacfs.tex
Doc/mac/libmacfs.tex
+7
-10
Doc/mac/libmacic.tex
Doc/mac/libmacic.tex
+5
-5
Doc/mac/libmacos.tex
Doc/mac/libmacos.tex
+3
-3
Doc/mac/libmacostools.tex
Doc/mac/libmacostools.tex
+7
-4
Doc/mac/libmacspeech.tex
Doc/mac/libmacspeech.tex
+3
-3
Doc/mac/libmactcp.tex
Doc/mac/libmactcp.tex
+13
-13
Doc/mac/libmacui.tex
Doc/mac/libmacui.tex
+8
-6
Doc/mac/libminiae.tex
Doc/mac/libminiae.tex
+5
-5
Doc/mac/mac.tex
Doc/mac/mac.tex
+1
-0
No files found.
Doc/lib/libal.tex
View file @
88adcdfb
\section
{
\module
{
al
}
---
\section
{
\module
{
al
}
---
Audio functions on the SGI.
}
Audio functions on the SGI
}
\declaremodule
{
builtin
}{
al
}
\declaremodule
{
builtin
}{
al
}
\platform
{
IRIX
}
\modulesynopsis
{
Audio functions on the SGI.
}
\modulesynopsis
{
Audio functions on the SGI.
}
...
@@ -13,9 +14,9 @@ releases before 4.0.5. Again, see the manual to check whether a
...
@@ -13,9 +14,9 @@ releases before 4.0.5. Again, see the manual to check whether a
specific function is available on your platform.
specific function is available on your platform.
All functions and methods defined in this module are equivalent to
All functions and methods defined in this module are equivalent to
the
\C
{}
functions with
\samp
{
AL
}
prefixed to their name.
the
C
functions with
\samp
{
AL
}
prefixed to their name.
Symbolic constants from the
\C
{}
header file
\code
{
<audio.h>
}
are
Symbolic constants from the
C
header file
\code
{
<audio.h>
}
are
defined in the standard module
\module
{
AL
}
\refstmodindex
{
AL
}
, see
defined in the standard module
\module
{
AL
}
\refstmodindex
{
AL
}
, see
below.
below.
...
@@ -163,15 +164,16 @@ Get status information on last error.
...
@@ -163,15 +164,16 @@ Get status information on last error.
\section
{
\module
{
AL
}
---
\section
{
\module
{
AL
}
---
Constants used with the
\module
{
al
}
module.
}
Constants used with the
\module
{
al
}
module
}
\declaremodule
{
standard
}{
AL
}
\declaremodule
{
standard
}{
AL
}
\platform
{
IRIX
}
\modulesynopsis
{
Constants used with the
\module
{
al
}
module.
}
\modulesynopsis
{
Constants used with the
\module
{
al
}
module.
}
This module defines symbolic constants needed to use the built-in
This module defines symbolic constants needed to use the built-in
module
\module
{
al
}
(see above); they are equivalent to those defined
module
\module
{
al
}
(see above); they are equivalent to those defined
in the
\C
{}
header file
\code
{
<audio.h>
}
except that the name prefix
in the
C
header file
\code
{
<audio.h>
}
except that the name prefix
\samp
{
AL
_}
is omitted. Read the module source for a complete list of
\samp
{
AL
_}
is omitted. Read the module source for a complete list of
the defined names. Suggested use:
the defined names. Suggested use:
...
...
Doc/lib/libamoeba.tex
View file @
88adcdfb
\chapter
{
Amoeba Specific Services
}
\chapter
{
Amoeba Specific Services
}
\section
{
\module
{
amoeba
}
---
\section
{
\module
{
amoeba
}
---
Amoeba system support.
}
Amoeba system support
}
\declaremodule
{
builtin
}{
amoeba
}
\declaremodule
{
builtin
}{
amoeba
}
\platform
{
Amoeba
}
\modulesynopsis
{
Functions for the Amoeba operating system.
}
\modulesynopsis
{
Functions for the Amoeba operating system.
}
...
@@ -12,13 +13,13 @@ Amoeba applications. It is only available on systems that support
...
@@ -12,13 +13,13 @@ Amoeba applications. It is only available on systems that support
Amoeba operations. RPC errors and other Amoeba errors are reported as
Amoeba operations. RPC errors and other Amoeba errors are reported as
the exception
\code
{
amoeba.error = 'amoeba.error'
}
.
the exception
\code
{
amoeba.error = 'amoeba.error'
}
.
The module
\
cod
e
{
amoeba
}
defines the following items:
The module
\
modul
e
{
amoeba
}
defines the following items:
\begin{funcdesc}
{
name
_
append
}{
path, cap
}
\begin{funcdesc}
{
name
_
append
}{
path, cap
}
Stores a capability in the Amoeba directory tree.
Stores a capability in the Amoeba directory tree.
Arguments are the pathname (a string) and the capability (a capability
Arguments are the pathname (a string) and the capability (a capability
object as returned by
object as returned by
\
code
{
name
_
lookup()
}
).
\
function
{
name
_
lookup()
}
).
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
name
_
delete
}{
path
}
\begin{funcdesc}
{
name
_
delete
}{
path
}
...
@@ -38,11 +39,11 @@ object, to which various interesting operations apply, described below.
...
@@ -38,11 +39,11 @@ object, to which various interesting operations apply, described below.
Replaces a capability in the Amoeba directory tree.
Replaces a capability in the Amoeba directory tree.
Arguments are the pathname and the new capability.
Arguments are the pathname and the new capability.
(This differs from
(This differs from
\
code
{
name
_
append()
}
\
function
{
name
_
append()
}
in the behavior when the pathname already exists:
in the behavior when the pathname already exists:
\
code
{
name
_
append()
}
\
function
{
name
_
append()
}
finds this an error while
finds this an error while
\
code
{
name
_
replace()
}
\
function
{
name
_
replace()
}
allows it, as its name suggests.)
allows it, as its name suggests.)
\end{funcdesc}
\end{funcdesc}
...
@@ -62,7 +63,7 @@ in C.
...
@@ -62,7 +63,7 @@ in C.
The exception raised when an Amoeba function returns an error.
The exception raised when an Amoeba function returns an error.
The value accompanying this exception is a pair containing the numeric
The value accompanying this exception is a pair containing the numeric
error code and the corresponding string, as returned by the C function
error code and the corresponding string, as returned by the C function
\c
ode
{
err
_
why()
}
.
\c
function
{
err
_
why()
}
.
\end{excdesc}
\end{excdesc}
\begin{funcdesc}
{
timeout
}{
msecs
}
\begin{funcdesc}
{
timeout
}{
msecs
}
...
...
Doc/lib/libcd.tex
View file @
88adcdfb
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
CD-ROM access on SGI systems
}
CD-ROM access on SGI systems
}
\declaremodule
{
builtin
}{
cd
}
\declaremodule
{
builtin
}{
cd
}
\platform
{
IRIX
}
\modulesynopsis
{
Interface to the CD-ROM on Silicon Graphics systems.
}
\modulesynopsis
{
Interface to the CD-ROM on Silicon Graphics systems.
}
...
...
Doc/lib/libcrypt.tex
View file @
88adcdfb
\section
{
\module
{
crypt
}
---
\section
{
\module
{
crypt
}
---
The
\cfunction
{
crypt()
}
function used to check
\UNIX
{}
passwords.
}
Function used to check
\UNIX
{}
passwords
}
\declaremodule
{
builtin
}{
crypt
}
\modulesynopsis
{
The
\cfunction
{
crypt()
}
function used to check
\UNIX
{}
passwords.
}
\declaremodule
{
builtin
}{
crypt
}
\platform
{
UNIX
}
\modulesynopsis
{
The
\cfunction
{
crypt()
}
function used to check
\UNIX
{}
passwords.
}
\moduleauthor
{
Steven D. Majewski
}{
sdm7g@virginia.edu
}
\sectionauthor
{
Steven D. Majewski
}{
sdm7g@virginia.edu
}
This module implements an interface to the
\manpage
{
crypt
}{
3
}
routine,
This module implements an interface to the
\manpage
{
crypt
}{
3
}
routine,
...
@@ -16,9 +20,9 @@ attempting to crack \UNIX{} passwords with a dictionary.
...
@@ -16,9 +20,9 @@ attempting to crack \UNIX{} passwords with a dictionary.
\var
{
word
}
will usually be a user's password.
\var
{
salt
}
is a
\var
{
word
}
will usually be a user's password.
\var
{
salt
}
is a
2-character string which will be used to select one of 4096 variations
2-character string which will be used to select one of 4096 variations
of DES
\indexii
{
cipher
}{
DES
}
. The characters in
\var
{
salt
}
must be
of DES
\indexii
{
cipher
}{
DES
}
. The characters in
\var
{
salt
}
must be
either
\c
ode
{
.
}
,
\code
{
/
}
, or an alphanumeric character. Returns the
either
\c
haracter
{
.
}
,
\character
{
/
}
, or an alphanumeric character.
hashed password as a string, which will be composed of characters from
Returns the hashed password as a string, which will be composed of
the same alphabet as the salt.
characters from
the same alphabet as the salt.
\end{funcdesc}
\end{funcdesc}
The module and documentation were written by Steve Majewski.
The module and documentation were written by Steve Majewski.
...
...
Doc/lib/libdbm.tex
View file @
88adcdfb
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
Simple ``database'' interface
}
Simple ``database'' interface
}
\declaremodule
{
builtin
}{
dbm
}
\declaremodule
{
builtin
}{
dbm
}
\platform
{
UNIX
}
\modulesynopsis
{
The standard ``database'' interface, based on ndbm.
}
\modulesynopsis
{
The standard ``database'' interface, based on ndbm.
}
...
@@ -9,7 +10,7 @@ The \module{dbm} module provides an interface to the \UNIX{}
...
@@ -9,7 +10,7 @@ The \module{dbm} module provides an interface to the \UNIX{}
\code
{
(n)dbm
}
library. Dbm objects behave like mappings
\code
{
(n)dbm
}
library. Dbm objects behave like mappings
(dictionaries), except that keys and values are always strings.
(dictionaries), except that keys and values are always strings.
Printing a dbm object doesn't print the keys and values, and the
Printing a dbm object doesn't print the keys and values, and the
\
code
{
items()
}
and
\code
{
values()
}
methods are not supported.
\
method
{
items()
}
and
\method
{
values()
}
methods are not supported.
See also the
\refmodule
{
gdbm
}
\refbimodindex
{
gdbm
}
module, which
See also the
\refmodule
{
gdbm
}
\refbimodindex
{
gdbm
}
module, which
provides a similar interface using the GNU GDBM library.
provides a similar interface using the GNU GDBM library.
...
...
Doc/lib/libfcntl.tex
View file @
88adcdfb
% Manual text by Jaap Vermeulen
% Manual text by Jaap Vermeulen
\section
{
\module
{
fcntl
}
---
\section
{
\module
{
fcntl
}
---
The
\function
{
fcntl()
}
and
\function
{
ioctl()
}
system calls.
}
The
\function
{
fcntl()
}
and
\function
{
ioctl()
}
system calls
}
\declaremodule
{
builtin
}{
fcntl
}
\declaremodule
{
builtin
}{
fcntl
}
\platform
{
UNIX
}
\modulesynopsis
{
The
\function
{
fcntl()
}
and
\function
{
ioctl()
}
system calls.
}
\modulesynopsis
{
The
\function
{
fcntl()
}
and
\function
{
ioctl()
}
system calls.
}
\indexii
{
UNIX@
\UNIX
{}}{
file control
}
\indexii
{
UNIX@
\UNIX
{}}{
file control
}
...
@@ -24,10 +25,10 @@ The module defines the following functions:
...
@@ -24,10 +25,10 @@ The module defines the following functions:
is optional, and defaults to the integer value
\code
{
0
}
. When
is optional, and defaults to the integer value
\code
{
0
}
. When
present, it can either be an integer value, or a string. With
present, it can either be an integer value, or a string. With
the argument missing or an integer value, the return value of this
the argument missing or an integer value, the return value of this
function is the integer return value of the
\C
{}
\cfunction
{
fcntl()
}
function is the integer return value of the
C
\cfunction
{
fcntl()
}
call. When the argument is a string it represents a binary
call. When the argument is a string it represents a binary
structure, e.g.
\
created by
\function
{
struct.pack()
}
. The binary
structure, e.g.
\
created by
\function
{
struct.pack()
}
. The binary
data is copied to a buffer whose address is passed to the
\C
{}
data is copied to a buffer whose address is passed to the
C
\cfunction
{
fcntl()
}
call. The return value after a successful call
\cfunction
{
fcntl()
}
call. The return value after a successful call
is the contents of the buffer, converted to a string object. In
is the contents of the buffer, converted to a string object. In
case the
\cfunction
{
fcntl()
}
fails, an
\exception
{
IOError
}
is
case the
\cfunction
{
fcntl()
}
fails, an
\exception
{
IOError
}
is
...
@@ -54,7 +55,7 @@ manual for details.
...
@@ -54,7 +55,7 @@ manual for details.
If the library modules
\module
{
FCNTL
}
\refstmodindex
{
FCNTL
}
or
If the library modules
\module
{
FCNTL
}
\refstmodindex
{
FCNTL
}
or
\module
{
IOCTL
}
\refstmodindex
{
IOCTL
}
are missing, you can find the
\module
{
IOCTL
}
\refstmodindex
{
IOCTL
}
are missing, you can find the
opcodes in the
\C
{}
include files
\code
{
<sys/fcntl.h>
}
and
opcodes in the
C
include files
\code
{
<sys/fcntl.h>
}
and
\code
{
<sys/ioctl.h>
}
. You can create the modules yourself with the
\code
{
<sys/ioctl.h>
}
. You can create the modules yourself with the
\program
{
h2py
}
script, found in the
\file
{
Tools/scripts/
}
directory.
\program
{
h2py
}
script, found in the
\file
{
Tools/scripts/
}
directory.
...
...
Doc/lib/libfl.tex
View file @
88adcdfb
\section
{
\module
{
fl
}
---
\section
{
\module
{
fl
}
---
FORMS library interface for GUI applications.
}
FORMS library interface for GUI applications
}
\declaremodule
{
builtin
}{
fl
}
\declaremodule
{
builtin
}{
fl
}
\platform
{
IRIX
}
\modulesynopsis
{
FORMS library interface for GUI applications.
}
\modulesynopsis
{
FORMS library interface for GUI applications.
}
...
@@ -11,9 +12,9 @@ library can be retrieved by anonymous ftp from host
...
@@ -11,9 +12,9 @@ library can be retrieved by anonymous ftp from host
\samp
{
ftp.cs.ruu.nl
}
, directory
\file
{
SGI/FORMS
}
. It was last tested
\samp
{
ftp.cs.ruu.nl
}
, directory
\file
{
SGI/FORMS
}
. It was last tested
with version 2.0b.
with version 2.0b.
Most functions are literal translations of their
\C
{}
equivalents,
Most functions are literal translations of their
C
equivalents,
dropping the initial
\samp
{
fl
_}
from their name. Constants used by
dropping the initial
\samp
{
fl
_}
from their name. Constants used by
the library are defined in module
\module
{
FL
}
described below.
the library are defined in module
\
ref
module
{
FL
}
described below.
The creation of objects is a little different in Python than in C:
The creation of objects is a little different in Python than in C:
instead of the `current form' maintained by the library to which new
instead of the `current form' maintained by the library to which new
...
@@ -45,7 +46,7 @@ function \cfunction{foreground()} and to the FORMS routine
...
@@ -45,7 +46,7 @@ function \cfunction{foreground()} and to the FORMS routine
Module
\module
{
fl
}
defines the following functions. For more
Module
\module
{
fl
}
defines the following functions. For more
information about what they do, see the description of the equivalent
information about what they do, see the description of the equivalent
\C
{}
function in the FORMS documentation:
C
function in the FORMS documentation:
\begin{funcdesc}
{
make
_
form
}{
type, width, height
}
\begin{funcdesc}
{
make
_
form
}{
type, width, height
}
Create a form with given type, width and height. This returns a
Create a form with given type, width and height. This returns a
...
@@ -73,7 +74,7 @@ Set the graphics modes.
...
@@ -73,7 +74,7 @@ Set the graphics modes.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
get
_
rgbmode
}{}
\begin{funcdesc}
{
get
_
rgbmode
}{}
Return the current rgb mode. This is the value of the
\C
{}
global
Return the current rgb mode. This is the value of the
C
global
variable
\cdata
{
fl
_
rgbmode
}
.
variable
\cdata
{
fl
_
rgbmode
}
.
\end{funcdesc}
\end{funcdesc}
...
@@ -143,7 +144,7 @@ See the description in the FORMS documentation of
...
@@ -143,7 +144,7 @@ See the description in the FORMS documentation of
\label
{
form-objects
}
\label
{
form-objects
}
Form objects (returned by
\function
{
make
_
form()
}
above) have the
Form objects (returned by
\function
{
make
_
form()
}
above) have the
following methods. Each method corresponds to a
\C
{}
function whose
following methods. Each method corresponds to a
C
function whose
name is prefixed with
\samp
{
fl
_}
; and whose first argument is a form
name is prefixed with
\samp
{
fl
_}
; and whose first argument is a form
pointer; please refer to the official FORMS documentation for
pointer; please refer to the official FORMS documentation for
descriptions.
descriptions.
...
@@ -465,16 +466,18 @@ FORMS objects have these data attributes; see the FORMS documentation:
...
@@ -465,16 +466,18 @@ FORMS objects have these data attributes; see the FORMS documentation:
\lineiii
{
automatic
}{
int (read-only)
}{
(see FORMS docs)
}
\lineiii
{
automatic
}{
int (read-only)
}{
(see FORMS docs)
}
\end{tableiii}
\end{tableiii}
\section
{
\module
{
FL
}
---
\section
{
\module
{
FL
}
---
Constants used with the
\module
{
fl
}
module.
}
Constants used with the
\module
{
fl
}
module
}
\declaremodule
{
standard
}{
FL
}
\declaremodule
{
standard
}{
FL
}
\platform
{
IRIX
}
\modulesynopsis
{
Constants used with the
\module
{
fl
}
module.
}
\modulesynopsis
{
Constants used with the
\module
{
fl
}
module.
}
This module defines symbolic constants needed to use the built-in
This module defines symbolic constants needed to use the built-in
module
\module
{
fl
}
(see above); they are equivalent to those defined in
module
\
ref
module
{
fl
}
(see above); they are equivalent to those defined in
the
\C
{}
header file
\code
{
<forms.h>
}
except that the name prefix
the
C
header file
\code
{
<forms.h>
}
except that the name prefix
\samp
{
FL
_}
is omitted. Read the module source for a complete list of
\samp
{
FL
_}
is omitted. Read the module source for a complete list of
the defined names. Suggested use:
the defined names. Suggested use:
...
@@ -483,16 +486,18 @@ import fl
...
@@ -483,16 +486,18 @@ import fl
from FL import *
from FL import *
\end{verbatim}
\end{verbatim}
\section
{
\module
{
flp
}
---
\section
{
\module
{
flp
}
---
Loading functions for stored FORMS designs.
}
Functions for loading stored FORMS designs
}
\declaremodule
{
standard
}{
flp
}
\modulesynopsis
{
Loading functions for stored FORMS designs.
}
\declaremodule
{
standard
}{
flp
}
\platform
{
IRIX
}
\modulesynopsis
{
Functions for loading stored FORMS designs.
}
This module defines functions that can read form definitions created
This module defines functions that can read form definitions created
by the `form designer' (
\program
{
fdesign
}
) program that comes with the
by the `form designer' (
\program
{
fdesign
}
) program that comes with the
FORMS library (see module
\module
{
fl
}
above).
FORMS library (see module
\
ref
module
{
fl
}
above).
For now, see the file
\file
{
flp.doc
}
in the Python library source
For now, see the file
\file
{
flp.doc
}
in the Python library source
directory for a description.
directory for a description.
...
...
Doc/lib/libfm.tex
View file @
88adcdfb
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
\emph
{
Font Manager
}
interface
}
\emph
{
Font Manager
}
interface
}
\declaremodule
{
builtin
}{
fm
}
\declaremodule
{
builtin
}{
fm
}
\platform
{
IRIX
}
\modulesynopsis
{
\emph
{
Font Manager
}
interface for SGI workstations.
}
\modulesynopsis
{
\emph
{
Font Manager
}
interface for SGI workstations.
}
...
...
Doc/lib/libgdbm.tex
View file @
88adcdfb
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
GNU's reinterpretation of dbm
}
GNU's reinterpretation of dbm
}
\declaremodule
{
builtin
}{
gdbm
}
\declaremodule
{
builtin
}{
gdbm
}
\platform
{
UNIX
}
\modulesynopsis
{
GNU's reinterpretation of dbm.
}
\modulesynopsis
{
GNU's reinterpretation of dbm.
}
...
...
Doc/lib/libgl.tex
View file @
88adcdfb
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
\emph
{
Graphics Library
}
interface
}
\emph
{
Graphics Library
}
interface
}
\declaremodule
{
builtin
}{
gl
}
\declaremodule
{
builtin
}{
gl
}
\platform
{
IRIX
}
\modulesynopsis
{
Functions from the Silicon Graphics
\emph
{
Graphics Library
}
.
}
\modulesynopsis
{
Functions from the Silicon Graphics
\emph
{
Graphics Library
}
.
}
...
@@ -185,11 +186,13 @@ def main():
...
@@ -185,11 +186,13 @@ def main():
main()
main()
\end{verbatim}
\end{verbatim}
%
\section
{
\module
{
DEVICE
}
---
\section
{
\module
{
DEVICE
}
---
Constants used with the
\module
{
gl
}
module.
}
Constants used with the
\module
{
gl
}
module
}
\declaremodule
{
standard
}{
DEVICE
}
\declaremodule
{
standard
}{
DEVICE
}
\platform
{
IRIX
}
\modulesynopsis
{
Constants used with the
\module
{
gl
}
module.
}
\modulesynopsis
{
Constants used with the
\module
{
gl
}
module.
}
This modules defines the constants used by the Silicon Graphics
This modules defines the constants used by the Silicon Graphics
...
@@ -199,9 +202,10 @@ Read the module source file for details.
...
@@ -199,9 +202,10 @@ Read the module source file for details.
\section
{
\module
{
GL
}
---
\section
{
\module
{
GL
}
---
Constants used with the
\module
{
gl
}
module.
}
Constants used with the
\module
{
gl
}
module
}
\declaremodule
{
standard
}{
GL
}
\declaremodule
{
standard
}{
GL
}
\platform
{
IRIX
}
\modulesynopsis
{
Constants used with the
\module
{
gl
}
module.
}
\modulesynopsis
{
Constants used with the
\module
{
gl
}
module.
}
This module contains constants used by the Silicon Graphics
This module contains constants used by the Silicon Graphics
...
...
Doc/lib/libgrp.tex
View file @
88adcdfb
\section
{
\module
{
grp
}
---
\section
{
\module
{
grp
}
---
The group database.
}
The group database
}
\declaremodule
{
builtin
}{
grp
}
\declaremodule
{
builtin
}{
grp
}
\platform
{
UNIX
}
\modulesynopsis
{
The group database (
\function
{
getgrnam()
}
and friends).
}
\modulesynopsis
{
The group database (
\function
{
getgrnam()
}
and friends).
}
This module provides access to the
\UNIX
{}
group database.
This module provides access to the
\UNIX
{}
group database.
It is available on all
\UNIX
{}
versions.
It is available on all
\UNIX
{}
versions.
...
@@ -18,7 +19,7 @@ The gid is an integer, name and password are strings, and the member
...
@@ -18,7 +19,7 @@ The gid is an integer, name and password are strings, and the member
list is a list of strings.
list is a list of strings.
(Note that most users are not explicitly listed as members of the
(Note that most users are not explicitly listed as members of the
group they are in according to the password database.)
group they are in according to the password database.)
A
\code
{
KeyError
}
exception
is raised if the entry asked for cannot be found.
\exception
{
KeyError
}
is raised if the entry asked for cannot be found.
It defines the following items:
It defines the following items:
...
...
Doc/lib/libimgfile.tex
View file @
88adcdfb
\section
{
\module
{
imgfile
}
---
\section
{
\module
{
imgfile
}
---
Support for SGI imglib files.
}
Support for SGI imglib files
}
\declaremodule
{
builtin
}{
imgfile
}
\declaremodule
{
builtin
}{
imgfile
}
\platform
{
IRIX
}
\modulesynopsis
{
Support for SGI imglib files.
}
\modulesynopsis
{
Support for SGI imglib files.
}
...
...
Doc/lib/libjpeg.tex
View file @
88adcdfb
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
Read and write JPEG files
}
Read and write JPEG files
}
\declaremodule
{
builtin
}{
jpeg
}
\declaremodule
{
builtin
}{
jpeg
}
\platform
{
IRIX
}
\modulesynopsis
{
Read and write image files in compressed JPEG format.
}
\modulesynopsis
{
Read and write image files in compressed JPEG format.
}
...
...
Doc/lib/libmsvcrt.tex
View file @
88adcdfb
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
Useful routines from the MS VC++ runtime
}
Useful routines from the MS VC++ runtime
}
\declaremodule
{
builtin
}{
msvcrt
}
\declaremodule
{
builtin
}{
msvcrt
}
\platform
{
Windows
}
\modulesynopsis
{
Miscellaneous useful routines from the MS VC++ runtime.
}
\modulesynopsis
{
Miscellaneous useful routines from the MS VC++ runtime.
}
\sectionauthor
{
Fred L. Drake, Jr.
}{
fdrake@acm.org
}
\sectionauthor
{
Fred L. Drake, Jr.
}{
fdrake@acm.org
}
...
...
Doc/lib/libpopen2.tex
View file @
88adcdfb
% This section was contributed by Drew Csillag
% <drew_csillag@geocities.com>, with some re-organization by Fred L.
% Drake, Jr. <fdrake@acm.org>.
\section
{
\module
{
popen2
}
---
\section
{
\module
{
popen2
}
---
Subprocesses with accessible standard I/O streams.
}
Subprocesses with accessible standard I/O streams
}
\declaremodule
{
standard
}{
popen2
}
\sectionauthor
{
Drew Csillag
}{
drew
_
csillag@geocities.com
}
\declaremodule
[popentwo]
{
standard
}{
popen2
}
\platform
{
UNIX
}
\modulesynopsis
{
Subprocesses with accessible standard I/O streams.
}
\modulesynopsis
{
Subprocesses with accessible standard I/O streams.
}
\sectionauthor
{
Drew Csillag
}{
drew
_
csillag@geocities.com
}
This module allows you to spawn processes and connect their
This module allows you to spawn processes and connect their
...
...
Doc/lib/libposix.tex
View file @
88adcdfb
\section
{
\module
{
posix
}
---
\section
{
\module
{
posix
}
---
The most common
\POSIX
{}
system calls.
}
The most common
\POSIX
{}
system calls
}
\declaremodule
{
builtin
}{
posix
}
\declaremodule
{
builtin
}{
posix
}
\platform
{
UNIX
}
\modulesynopsis
{
The most common
\POSIX
{}
system calls (normally used
\modulesynopsis
{
The most common
\POSIX
{}
system calls (normally used
via module
\module
{
os
}
).
}
via module
\module
{
os
}
).
}
...
...
Doc/lib/libposixfile.tex
View file @
88adcdfb
% Manual text and implementation by Jaap Vermeulen
% Manual text and implementation by Jaap Vermeulen
\section
{
\module
{
posixfile
}
---
\section
{
\module
{
posixfile
}
---
A file-like object with support for locking.
}
File-like objects with locking support
}
\declaremodule
{
builtin
}{
posixfile
}
\declaremodule
{
builtin
}{
posixfile
}
\platform
{
UNIX
}
\modulesynopsis
{
A file-like object with support for locking.
}
\modulesynopsis
{
A file-like object with support for locking.
}
\moduleauthor
{
Jaap Vermeulen
}{}
\sectionauthor
{
Jaap Vermeulen
}{}
\indexii
{
\POSIX
{}}{
file object
}
\indexii
{
\POSIX
{}}{
file object
}
...
...
Doc/lib/libpwd.tex
View file @
88adcdfb
\section
{
\module
{
pwd
}
---
\section
{
\module
{
pwd
}
---
The password database.
}
The password database
}
\declaremodule
{
builtin
}{
pwd
}
\declaremodule
{
builtin
}{
pwd
}
\platform
{
UNIX
}
\modulesynopsis
{
The password database (
\function
{
getpwnam()
}
and friends).
}
\modulesynopsis
{
The password database (
\function
{
getpwnam()
}
and friends).
}
This module provides access to the
\UNIX
{}
password database.
This module provides access to the
\UNIX
{}
password database.
...
@@ -18,7 +18,7 @@ following items from the password database (see \code{<pwd.h>}), in order:
...
@@ -18,7 +18,7 @@ following items from the password database (see \code{<pwd.h>}), in order:
\code
{
pw
_
dir
}
,
\code
{
pw
_
dir
}
,
\code
{
pw
_
shell
}
.
\code
{
pw
_
shell
}
.
The uid and gid items are integers, all others are strings.
The uid and gid items are integers, all others are strings.
A
\code
{
KeyError
}
exception
is raised if the entry asked for cannot be found.
\exception
{
KeyError
}
is raised if the entry asked for cannot be found.
It defines the following items:
It defines the following items:
...
...
Doc/lib/libresource.tex
View file @
88adcdfb
\section
{
\module
{
resource
}
---
\section
{
\module
{
resource
}
---
Resource usage information.
}
Resource usage information
}
\declaremodule
{
builtin
}{
resource
}
\declaremodule
{
builtin
}{
resource
}
\platform
{
UNIX
}
\modulesynopsis
{
An interface to provide resource usage information on
the current process.
}
\moduleauthor
{
Jeremy Hylton
}{
jhylton@cnri.reston.va.us
}
\sectionauthor
{
Jeremy Hylton
}{
jhylton@cnri.reston.va.us
}
\modulesynopsis
{
An interface to provide resource usage information on the current
process.
}
This module provides basic mechanisms for measuring and controlling
This module provides basic mechanisms for measuring and controlling
system resources utilized by a program.
system resources utilized by a program.
...
@@ -76,7 +79,7 @@ value to denote the same resource.
...
@@ -76,7 +79,7 @@ value to denote the same resource.
\begin{datadesc}
{
RLIMIT
_
CPU
}
\begin{datadesc}
{
RLIMIT
_
CPU
}
The maximum amount of CPU time (in seconds) that a process can
The maximum amount of CPU time (in seconds) that a process can
use. If this limit is exceeded, a
\constant
{
SIGXCPU
}
signal is sent to
use. If this limit is exceeded, a
\constant
{
SIGXCPU
}
signal is sent to
the process. (See the
\module
{
signal
}
module documentation for
the process. (See the
\
ref
module
{
signal
}
module documentation for
information about how to catch this signal and do something useful,
information about how to catch this signal and do something useful,
e.g. flush open files to disk.)
e.g. flush open files to disk.)
\end{datadesc}
\end{datadesc}
...
@@ -134,7 +137,7 @@ These functiona are used to retrieve resource usage information:
...
@@ -134,7 +137,7 @@ These functiona are used to retrieve resource usage information:
This function returns a large tuple that describes the resources
This function returns a large tuple that describes the resources
consumed by either the current process or its children, as specified
consumed by either the current process or its children, as specified
by the
\var
{
who
}
parameter. The
\var
{
who
}
parameter should be
by the
\var
{
who
}
parameter. The
\var
{
who
}
parameter should be
specified using one of the
\co
de
{
RUSAGE
_
*
}
constants described
specified using one of the
\co
nstant
{
RUSAGE
_
*
}
constants described
below.
below.
The elements of the return value each
The elements of the return value each
...
@@ -183,7 +186,7 @@ These functiona are used to retrieve resource usage information:
...
@@ -183,7 +186,7 @@ These functiona are used to retrieve resource usage information:
bytes.
bytes.
\end{funcdesc}
\end{funcdesc}
The following
\co
de
{
RUSAGE
_
*
}
symbols are passed to the
The following
\co
nstant
{
RUSAGE
_
*
}
symbols are passed to the
\function
{
getrusage()
}
function to specify which processes information
\function
{
getrusage()
}
function to specify which processes information
should be provided for.
should be provided for.
...
...
Doc/lib/libstat.tex
View file @
88adcdfb
\section
{
\module
{
stat
}
---
\section
{
\module
{
stat
}
---
Utilities for interpreting
\function
{
stat()
}
results.
}
Interpreting
\function
{
stat()
}
results
}
\declaremodule
{
standard
}{
stat
}
\sectionauthor
{
Skip Montanaro
}{
skip@automatrix.com
}
\declaremodule
{
standard
}{
stat
}
\platform
{
UNIX
}
\modulesynopsis
{
Utilities for interpreting the results of
\modulesynopsis
{
Utilities for interpreting the results of
\function
{
os.stat()
}
,
\function
{
os.lstat()
}
and
\function
{
os.fstat()
}
.
}
\function
{
os.stat()
}
,
\function
{
os.lstat()
}
and
\function
{
os.fstat()
}
.
}
\sectionauthor
{
Skip Montanaro
}{
skip@automatrix.com
}
The
\module
{
stat
}
module defines constants and functions for
The
\module
{
stat
}
module defines constants and functions for
...
@@ -46,7 +46,7 @@ Return non-zero if the mode was gotten from a socket.
...
@@ -46,7 +46,7 @@ Return non-zero if the mode was gotten from a socket.
\end{funcdesc}
\end{funcdesc}
All the data items below are simply symbolic indexes into the 10-tuple
All the data items below are simply symbolic indexes into the 10-tuple
returned by
\
code
{
os.stat()
}
or
\code
{
os.lstat()
}
.
returned by
\
function
{
os.stat()
}
or
\function
{
os.lstat()
}
.
\begin{datadesc}
{
ST
_
MODE
}
\begin{datadesc}
{
ST
_
MODE
}
Inode protection mode.
Inode protection mode.
...
@@ -109,7 +109,15 @@ def process(dir, func):
...
@@ -109,7 +109,15 @@ def process(dir, func):
print 'Skipping
%s/%s' % (dir, f)
print 'Skipping
%s/%s' % (dir, f)
def f(file):
def f(file):
-Egon
print 'frobbed', file
print 'frobbed', file
if
__
name
__
== '
__
main
__
': process(sys.argv[1], f)
if
__
name
__
== '
__
main
__
': process(sys.argv[1], f)
\end{verbatim}
\end{verbatim}
-Egon
Doc/lib/libsunaudio.tex
View file @
88adcdfb
\section
{
\module
{
sunaudiodev
}
---
\section
{
\module
{
sunaudiodev
}
---
Access to Sun audio hardware.
}
Access to Sun audio hardware.
}
\declaremodule
{
builtin
}{
sunaudiodev
}
\declaremodule
{
builtin
}{
sunaudiodev
}
\platform
{
SunOS
}
\modulesynopsis
{
Access to Sun audio hardware.
}
\modulesynopsis
{
Access to Sun audio hardware.
}
...
...
Doc/lib/libsyslog.tex
View file @
88adcdfb
\section
{
\module
{
syslog
}
---
\section
{
\module
{
syslog
}
---
\UNIX
{}
syslog library routines.
}
\UNIX
{}
syslog library routines
}
\declaremodule
{
builtin
}{
syslog
}
\declaremodule
{
builtin
}{
syslog
}
\platform
{
UNIX
}
\modulesynopsis
{
An interface to the
\UNIX
{}
syslog library routines.
}
\modulesynopsis
{
An interface to the
\UNIX
{}
syslog library routines.
}
...
...
Doc/lib/libtermios.tex
View file @
88adcdfb
\section
{
\module
{
termios
}
---
\section
{
\module
{
termios
}
---
\POSIX
{}
style tty control.
}
\POSIX
{}
style tty control
}
\declaremodule
{
builtin
}{
termios
}
\declaremodule
{
builtin
}{
termios
}
\platform
{
UNIX
}
\modulesynopsis
{
\POSIX
{}
style tty control.
}
\modulesynopsis
{
\POSIX
{}
style tty control.
}
\indexii
{
\POSIX
{}}{
I/O control
}
\indexii
{
\POSIX
{}}{
I/O control
}
...
@@ -19,8 +20,8 @@ first argument. This must be an integer file descriptor, such as
...
@@ -19,8 +20,8 @@ first argument. This must be an integer file descriptor, such as
returned by
\code
{
sys.stdin.fileno()
}
.
returned by
\code
{
sys.stdin.fileno()
}
.
This module should be used in conjunction with the
This module should be used in conjunction with the
\
module
{
TERMIOS
}
\refstmodindex
{
TERMIOS
}
module, which defines the
\
refmodule
[TERMIOSuppercase]
{
TERMIOS
}
\refstmodindex
{
TERMIOS
}
module,
relevant symbolic constants (see the next section).
which defines the
relevant symbolic constants (see the next section).
The module defines the following functions:
The module defines the following functions:
...
@@ -33,7 +34,8 @@ length 1, except the items with indices \constant{TERMIOS.VMIN} and
...
@@ -33,7 +34,8 @@ length 1, except the items with indices \constant{TERMIOS.VMIN} and
\constant
{
TERMIOS.VTIME
}
, which are integers when these fields are
\constant
{
TERMIOS.VTIME
}
, which are integers when these fields are
defined). The interpretation of the flags and the speeds as well as
defined). The interpretation of the flags and the speeds as well as
the indexing in the
\var
{
cc
}
array must be done using the symbolic
the indexing in the
\var
{
cc
}
array must be done using the symbolic
constants defined in the
\module
{
TERMIOS
}
module.
constants defined in the
\refmodule
[TERMIOSuppercase]
{
TERMIOS
}
module.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
tcsetattr
}{
fd, when, attributes
}
\begin{funcdesc}
{
tcsetattr
}{
fd, when, attributes
}
...
@@ -97,18 +99,19 @@ def getpass(prompt = "Password: "):
...
@@ -97,18 +99,19 @@ def getpass(prompt = "Password: "):
\section
{
\module
{
TERMIOS
}
---
\section
{
\module
{
TERMIOS
}
---
Constants used with
\module
{
termios
}
}
Constants used with
the
\module
{
termios
}
module
}
\declaremodule
[TERMIOSuppercase]
{
standard
}{
TERMIOS
}
\declaremodule
[TERMIOSuppercase]
{
standard
}{
TERMIOS
}
\platform
{
UNIX
}
\modulesynopsis
{
Symbolic constants required to use the
\modulesynopsis
{
Symbolic constants required to use the
\module
{
termios
}
module.
}
\module
{
termios
}
module.
}
\indexii
{
\POSIX
{}}{
I/O control
}
\indexii
{
\POSIX
{}}{
I/O control
}
\indexii
{
tty
}{
I/O control
}
\indexii
{
tty
}{
I/O control
}
This module defines the symbolic constants required to use the
This module defines the symbolic constants required to use the
\
module
{
termios
}
\refbimodindex
{
termios
}
module (see the previous
\
refmodule
{
termios
}
\refbimodindex
{
termios
}
module (see the previous
section). See the
\POSIX
{}
or
\UNIX
{}
manual pages (or the source)
section). See the
\POSIX
{}
or
\UNIX
{}
manual pages (or the source)
for a list of those constants.
for a list of those constants.
...
...
Doc/lib/libwinsound.tex
View file @
88adcdfb
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
Sound-playing interface for Windows
}
Sound-playing interface for Windows
}
\declaremodule
{
builtin
}{
winsound
}
\declaremodule
{
builtin
}{
winsound
}
\platform
{
Windows
}
\modulesynopsis
{
Access to the sound-playing machinery for Windows.
}
\modulesynopsis
{
Access to the sound-playing machinery for Windows.
}
\moduleauthor
{
Toby Dickenson
}{
htrd90@zepler.org
}
\moduleauthor
{
Toby Dickenson
}{
htrd90@zepler.org
}
\sectionauthor
{
Fred L. Drake, Jr.
}{
fdrake@acm.org
}
\sectionauthor
{
Fred L. Drake, Jr.
}{
fdrake@acm.org
}
...
...
Doc/mac/libctb.tex
View file @
88adcdfb
\section
{
\module
{
ctb
}
---
\section
{
\module
{
ctb
}
---
Interface to the Communications Tool Box.
}
Interface to the Communications Tool Box
}
\declaremodule
{
builtin
}{
ctb
}
\declaremodule
{
builtin
}{
ctb
}
\platform
{
Mac
}
\modulesynopsis
{
Interfaces to the Communications Tool Box. Only the Connection
\modulesynopsis
{
Interfaces to the Communications Tool Box. Only the Connection
Manager is supported.
}
Manager is supported.
}
...
@@ -48,8 +49,8 @@ Alternatively, passing \code{None} for \var{sizes} will result in
...
@@ -48,8 +49,8 @@ Alternatively, passing \code{None} for \var{sizes} will result in
default buffer sizes.
default buffer sizes.
\end{funcdesc}
\end{funcdesc}
\subsection
{
connection object
}
\
label
{
connection-object
}
\
subsection
{
Connection Objects
\label
{
connection-object
}
}
For all connection methods that take a
\var
{
timeout
}
argument, a value
For all connection methods that take a
\var
{
timeout
}
argument, a value
of
\code
{
-1
}
is indefinite, meaning that the command runs to completion.
of
\code
{
-1
}
is indefinite, meaning that the command runs to completion.
...
...
Doc/mac/libframework.tex
View file @
88adcdfb
This diff is collapsed.
Click to expand it.
Doc/mac/libmac.tex
View file @
88adcdfb
...
@@ -41,8 +41,9 @@ The following modules are documented here:
...
@@ -41,8 +41,9 @@ The following modules are documented here:
\section
{
\module
{
mac
}
---
\section
{
\module
{
mac
}
---
Implementations for the
\module
{
os
}
module
}
Implementations for the
\module
{
os
}
module
}
\declaremodule
{
builtin
}{
mac
}
\declaremodule
{
builtin
}{
mac
}
\platform
{
Mac
}
\modulesynopsis
{
Implementations for the
\module
{
os
}
module.
}
\modulesynopsis
{
Implementations for the
\module
{
os
}
module.
}
...
@@ -82,8 +83,10 @@ One additional function is available:
...
@@ -82,8 +83,10 @@ One additional function is available:
\section
{
\module
{
macpath
}
---
\section
{
\module
{
macpath
}
---
MacOS path manipulation functions
}
MacOS path manipulation functions
}
\declaremodule
{
standard
}{
macpath
}
\declaremodule
{
standard
}{
macpath
}
% Could be labeled \platform{Mac}, but the module should work anywhere and
% is distributed with the standard library.
\modulesynopsis
{
MacOS path manipulation functions.
}
\modulesynopsis
{
MacOS path manipulation functions.
}
...
...
Doc/mac/libmacconsole.tex
View file @
88adcdfb
\section
{
\module
{
macconsole
}
---
\section
{
\module
{
macconsole
}
---
Think C's console package.
}
Think C's console package
}
\declaremodule
{
builtin
}{
macconsole
}
\declaremodule
{
builtin
}{
macconsole
}
\platform
{
Mac
}
\modulesynopsis
{
Think C's console package.
}
\modulesynopsis
{
Think C's console package.
}
This module is available on the Macintosh, provided Python has been
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.
Think console package, with which basic text windows can be created.
\begin{datadesc}
{
options
}
\begin{datadesc}
{
options
}
...
...
Doc/mac/libmacdnr.tex
View file @
88adcdfb
\section
{
\module
{
macdnr
}
---
\section
{
\module
{
macdnr
}
---
Interfaces to the Macintosh Domain Name Resolver.
}
Interface to the Macintosh Domain Name Resolver
}
\declaremodule
{
builtin
}{
macdnr
}
\declaremodule
{
builtin
}{
macdnr
}
\platform
{
Mac
}
\modulesynopsis
{
Interfaces to the Macintosh Domain Name Resolver.
}
\modulesynopsis
{
Interfaces to the Macintosh Domain Name Resolver.
}
This module provides an interface to the Macintosh Domain Name
This module provides an interface to the Macintosh Domain Name
Resolver. It is usually used in conjunction with the
\module
{
mactcp
}
Resolver. It is usually used in conjunction with the
\
ref
module
{
mactcp
}
module, to map hostnames to IP addresses. It may not be available in
module, to map hostnames to IP addresses. It may not be available in
all Mac Python versions.
all Mac Python versions.
\index
{
Macintosh Domain Name Resolver
}
\index
{
Macintosh Domain Name Resolver
}
...
@@ -55,8 +56,8 @@ the hostname of a host willing to accept SMTP\index{SMTP} mail for the
...
@@ -55,8 +56,8 @@ the hostname of a host willing to accept SMTP\index{SMTP} mail for the
given domain. Returns a dnr result object of the ``mx'' variety.
given domain. Returns a dnr result object of the ``mx'' variety.
\end{funcdesc}
\end{funcdesc}
\subsection
{
dnr result object
}
\
label
{
dnr-result-object
}
\
subsection
{
DNR Result Objects
\label
{
dnr-result-object
}
}
Since the DNR calls all execute asynchronously you do not get the
Since the DNR calls all execute asynchronously you do not get the
results back immediately. Instead, you get a dnr result object. You
results back immediately. Instead, you get a dnr result object. You
...
@@ -115,6 +116,7 @@ will only return a single mx record. Valid for ``mx'' queries only.
...
@@ -115,6 +116,7 @@ will only return a single mx record. Valid for ``mx'' queries only.
The simplest way to use the module to convert names to dotted-decimal
The simplest way to use the module to convert names to dotted-decimal
strings, without worrying about idle time, etc:
strings, without worrying about idle time, etc:
\begin{verbatim}
\begin{verbatim}
>>> def gethostname(name):
>>> def gethostname(name):
... import macdnr
... import macdnr
...
...
Doc/mac/libmacfs.tex
View file @
88adcdfb
\section
{
\module
{
macfs
}
---
\section
{
\module
{
macfs
}
---
FSSpec, the Alias Manager,
\program
{
finder
}
aliases,
Various file system services
}
and the Standard File package.
}
\declaremodule
{
builtin
}{
macfs
}
\declaremodule
{
builtin
}{
macfs
}
\platform
{
Mac
}
\modulesynopsis
{
Support for FSSpec, the Alias Manager,
\modulesynopsis
{
Support for FSSpec, the Alias Manager,
\program
{
finder
}
aliases, and the Standard File package.
}
\program
{
finder
}
aliases, and the Standard File package.
}
This module provides access to Macintosh FSSpec handling, the Alias
This module provides access to Macintosh FSSpec handling, the Alias
Manager,
\program
{
finder
}
aliases and the Standard File package.
Manager,
\program
{
finder
}
aliases and the Standard File package.
\index
{
Macintosh Alias Manager
}
\index
{
Macintosh Alias Manager
}
...
@@ -111,8 +110,8 @@ Locate the application with 4-char creator code \var{creator}. The
...
@@ -111,8 +110,8 @@ Locate the application with 4-char creator code \var{creator}. The
function returns an
\pytype
{
FSSpec
}
object pointing to the application.
function returns an
\pytype
{
FSSpec
}
object pointing to the application.
\end{funcdesc}
\end{funcdesc}
\subsection
{
FSSpec objects
}
\
label
{
fsspec-objects
}
\
subsection
{
FSSpec objects
\label
{
fsspec-objects
}
}
\begin{memberdesc}
[FSSpec]
{
data
}
\begin{memberdesc}
[FSSpec]
{
data
}
The raw data from the FSSpec object, suitable for passing
The raw data from the FSSpec object, suitable for passing
...
@@ -168,8 +167,7 @@ Python.
...
@@ -168,8 +167,7 @@ Python.
\end{methoddesc}
\end{methoddesc}
\subsection
{
Alias Objects
}
\subsection
{
Alias Objects
\label
{
alias-objects
}}
\label
{
alias-objects
}
\begin{memberdesc}
[Alias]
{
data
}
\begin{memberdesc}
[Alias]
{
data
}
The raw data for the Alias record, suitable for storing in a resource
The raw data for the Alias record, suitable for storing in a resource
...
@@ -202,8 +200,7 @@ has changed the Python program is responsible for getting the
...
@@ -202,8 +200,7 @@ has changed the Python program is responsible for getting the
resource.
resource.
\subsection
{
FInfo Objects
}
\subsection
{
FInfo Objects
\label
{
finfo-objects
}}
\label
{
finfo-objects
}
See
\emph
{
Inside Macintosh: Files
}
for a complete description of what
See
\emph
{
Inside Macintosh: Files
}
for a complete description of what
the various fields mean.
the various fields mean.
...
...
Doc/mac/libmacic.tex
View file @
88adcdfb
\section
{
\module
{
ic
}
---
\section
{
\module
{
ic
}
---
Access to Internet Config.
}
Access to Internet Config
}
\declaremodule
{
builtin
}{
ic
}
\declaremodule
{
builtin
}{
ic
}
\platform
{
Mac
}
\modulesynopsis
{
Access to Internet Config.
}
\modulesynopsis
{
Access to Internet Config.
}
This module provides access to Macintosh Internet Config package,
This module provides access to Macintosh Internet Config package,
which stores preferences for Internet programs such as mail address,
which stores preferences for Internet programs such as mail address,
default homepage, etc. Also, Internet Config contains an elaborate set
default homepage, etc. Also, Internet Config contains an elaborate set
...
@@ -94,10 +94,10 @@ Return the mapping entry for the given \var{file}, which can be passed
...
@@ -94,10 +94,10 @@ Return the mapping entry for the given \var{file}, which can be passed
as either a filename or an
\function
{
macfs.FSSpec()
}
result, and which
as either a filename or an
\function
{
macfs.FSSpec()
}
result, and which
need not exist.
need not exist.
The mapping entry is returned as a tuple
\code
{
(
}
\var
{
version
}
,
The mapping entry is returned as a tuple
\code
{
(
\var
{
version
}
,
\var
{
type
}
,
\var
{
creator
}
,
\var
{
postcreator
}
,
\var
{
flags
}
,
\var
{
type
}
,
\var
{
creator
}
,
\var
{
postcreator
}
,
\var
{
flags
}
,
\var
{
extension
}
,
\var
{
appname
}
,
\var
{
postappname
}
,
\var
{
mimetype
}
,
\var
{
extension
}
,
\var
{
appname
}
,
\var
{
postappname
}
,
\var
{
mimetype
}
,
\var
{
entryname
}
\code
{
)
}
, where
\var
{
version
}
is the entry version
\var
{
entryname
}
)
}
, where
\var
{
version
}
is the entry version
number,
\var
{
type
}
is the 4-character filetype,
\var
{
creator
}
is the
number,
\var
{
type
}
is the 4-character filetype,
\var
{
creator
}
is the
4-character creator type,
\var
{
postcreator
}
is the 4-character creator
4-character creator type,
\var
{
postcreator
}
is the 4-character creator
code of an
code of an
...
...
Doc/mac/libmacos.tex
View file @
88adcdfb
\section
{
\module
{
MacOS
}
---
\section
{
\module
{
MacOS
}
---
Access to MacOS specific interpreter features.
}
Access to MacOS interpreter features
}
\declaremodule
{
builtin
}{
MacOS
}
\declaremodule
{
builtin
}{
MacOS
}
\platform
{
Mac
}
\modulesynopsis
{
Access to MacOS specific interpreter features.
}
\modulesynopsis
{
Access to MacOS specific interpreter features.
}
This module provides access to MacOS specific functionality in the
This module provides access to MacOS specific functionality in the
Python interpreter, such as how the interpreter eventloop functions
Python interpreter, such as how the interpreter eventloop functions
and the like. Use with care.
and the like. Use with care.
...
...
Doc/mac/libmacostools.tex
View file @
88adcdfb
\section
{
\module
{
macostools
}
---
\section
{
\module
{
macostools
}
---
Convenience routines for file manipulation.
}
Convenience routines for file manipulation
}
\declaremodule
{
standard
}{
macostools
}
\declaremodule
{
standard
}{
macostools
}
\platform
{
Mac
}
\modulesynopsis
{
Convenience routines for file manipulation.
}
\modulesynopsis
{
Convenience routines for file manipulation.
}
...
@@ -50,10 +51,12 @@ Note that the process of creating finder aliases is not specified in
...
@@ -50,10 +51,12 @@ Note that the process of creating finder aliases is not specified in
the Apple documentation. Hence, aliases created with
\function
{
mkalias()
}
the Apple documentation. Hence, aliases created with
\function
{
mkalias()
}
could conceivably have incompatible behaviour in some cases.
could conceivably have incompatible behaviour in some cases.
\section
{
\module
{
findertools
}
---
\section
{
\module
{
findertools
}
---
Wrappers around the
\program
{
finder
}
's Apple Events interface.
}
The
\program
{
finder
}
's Apple Events interface
}
\declaremodule
{
standard
}{
findertools
}
\declaremodule
{
standard
}{
findertools
}
\platform
{
Mac
}
\modulesynopsis
{
Wrappers around the
\program
{
finder
}
's Apple Events interface.
}
\modulesynopsis
{
Wrappers around the
\program
{
finder
}
's Apple Events interface.
}
...
...
Doc/mac/libmacspeech.tex
View file @
88adcdfb
\section
{
\module
{
macspeech
}
---
\section
{
\module
{
macspeech
}
---
Interface to the Macintosh Speech Manager.
}
Interface to the Macintosh Speech Manager
}
\declaremodule
{
builtin
}{
macspeech
}
\declaremodule
{
builtin
}{
macspeech
}
\platform
{
Mac
}
\modulesynopsis
{
Interface to the Macintosh Speech Manager.
}
\modulesynopsis
{
Interface to the Macintosh Speech Manager.
}
This module provides an interface to the Macintosh Speech Manager,
This module provides an interface to the Macintosh Speech Manager,
\index
{
Macintosh Speech Manager
}
\index
{
Macintosh Speech Manager
}
\index
{
Speech Manager, Macintosh
}
\index
{
Speech Manager, Macintosh
}
...
...
Doc/mac/libmactcp.tex
View file @
88adcdfb
\section
{
\module
{
mactcp
}
---
\section
{
\module
{
mactcp
}
---
The MacTCP interfaces.
}
The MacTCP interfaces
}
\declaremodule
{
builtin
}{
mactcp
}
\declaremodule
{
builtin
}{
mactcp
}
\platform
{
Mac
}
\modulesynopsis
{
The MacTCP interfaces.
}
\modulesynopsis
{
The MacTCP interfaces.
}
This module provides an interface to the Macintosh TCP/IP driver
%
This module provides an interface to the Macintosh TCP/IP driver
%
\index
{
MacTCP
}
MacTCP. There is an accompanying module,
\index
{
MacTCP
}
MacTCP. There is an accompanying module,
\
module
{
macdnr
}
\refbimodindex
{
macdnr
}
, which provides an interface to
\
refmodule
{
macdnr
}
\refbimodindex
{
macdnr
}
, which provides an interface
t
he name-server (allowing you to translate hostnames to IP addresses),
t
o the name-server (allowing you to translate hostnames to IP
a
module
\module
{
MACTCPconst
}
\refstmodindex
{
MACTCPconst
}
which has
a
ddresses), a module
\module
{
MACTCPconst
}
\refstmodindex
{
MACTCPconst
}
symbolic names for constants constants used by MacTCP. Since th
e
which has symbolic names for constants constants used by MacTCP. Sinc
e
built-in module
\module
{
socket
}
is also available on the Macintosh it
the built-in module
\module
{
socket
}
\refbimodindex
{
socket
}
is also
is usually easier to use sockets instead of the Macintosh-specific
available on the Macintosh it is usually easier to use sockets instead
MacTCP API.
of the Macintosh-specific
MacTCP API.
A complete description of the MacTCP interface can be found in the
A complete description of the MacTCP interface can be found in the
Apple MacTCP API documentation.
Apple MacTCP API documentation.
...
@@ -55,7 +55,7 @@ function with two integer parameters:\ an event code and a detail. This
...
@@ -55,7 +55,7 @@ function with two integer parameters:\ an event code and a detail. This
function will be called upon network-generated events such as urgent
function will be called upon network-generated events such as urgent
data arrival. Macintosh documentation calls this the
data arrival. Macintosh documentation calls this the
\dfn
{
asynchronous service routine
}
. In addition, it is called with
\dfn
{
asynchronous service routine
}
. In addition, it is called with
eventcode
\code
{
MACTCP.PassiveOpenDone
}
when a
\
code
{
PassiveOpen
}
eventcode
\code
{
MACTCP.PassiveOpenDone
}
when a
\
method
{
PassiveOpen()
}
completes. This is a Python addition to the MacTCP semantics.
completes. This is a Python addition to the MacTCP semantics.
It is safe to do further calls from
\var
{
asr
}
.
It is safe to do further calls from
\var
{
asr
}
.
\end{memberdesc}
\end{memberdesc}
...
@@ -70,11 +70,11 @@ calls other than \method{wait()}, \method{isdone()} or
...
@@ -70,11 +70,11 @@ calls other than \method{wait()}, \method{isdone()} or
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
[TCP Stream]
{
wait
}{}
\begin{methoddesc}
[TCP Stream]
{
wait
}{}
Wait for
\
code
{
PassiveOpen
}
to complete.
Wait for
\
method
{
PassiveOpen()
}
to complete.
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
[TCP Stream]
{
isdone
}{}
\begin{methoddesc}
[TCP Stream]
{
isdone
}{}
Return
\code
{
1
}
if a
\
code
{
PassiveOpen
}
has completed.
Return
\code
{
1
}
if a
\
method
{
PassiveOpen()
}
has completed.
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
[TCP Stream]
{
GetSockName
}{}
\begin{methoddesc}
[TCP Stream]
{
GetSockName
}{}
...
...
Doc/mac/libmacui.tex
View file @
88adcdfb
\section
{
\module
{
EasyDialogs
}
---
\section
{
\module
{
EasyDialogs
}
---
Basic Macintosh dialogs.
}
Basic Macintosh dialogs
}
\declaremodule
{
standard
}{
EasyDialogs
}
\declaremodule
{
standard
}{
EasyDialogs
}
\platform
{
Mac
}
\modulesynopsis
{
Basic Macintosh dialogs.
}
\modulesynopsis
{
Basic Macintosh dialogs.
}
The
\module
{
EasyDialogs
}
module contains some simple dialogs for
The
\module
{
EasyDialogs
}
module contains some simple dialogs for
the Macintosh, modelled after the
\module
{
stdwin
}
dialogs with similar
the Macintosh, modelled after the
names. All routines have an optional parameter
\var
{
id
}
with which you
\module
{
stdwin
}
\refbimodindex
{
stdwin
}
dialogs with similar names. All
can override the DLOG resource used for the dialog, as long as the
routines have an optional parameter
\var
{
id
}
with which you can
item numbers correspond. See the source for details.
override the DLOG resource used for the dialog, as long as the item
numbers correspond. See the source for details.
The
\module
{
EasyDialogs
}
module defines the following functions:
The
\module
{
EasyDialogs
}
module defines the following functions:
...
...
Doc/mac/libminiae.tex
View file @
88adcdfb
\section
{
\module
{
MiniAEFrame
}
---
\section
{
\module
{
MiniAEFrame
}
---
Support to act as an Open Scripting Architecture server.
}
Open Scripting Architecture server support
}
\declaremodule
{
standard
}{
MiniAEFrame
}
\declaremodule
{
standard
}{
MiniAEFrame
}
\platform
{
Mac
}
\modulesynopsis
{
Support to act as an Open Scripting Architecture (OSA) server
\modulesynopsis
{
Support to act as an Open Scripting Architecture (OSA) server
(``Apple Events'').
}
(``Apple Events'').
}
...
@@ -11,7 +12,7 @@ that can function as an Open Scripting Architecture
...
@@ -11,7 +12,7 @@ that can function as an Open Scripting Architecture
\index
{
Open Scripting Architecture
}
\index
{
Open Scripting Architecture
}
(OSA) server, i.e. receive and process
(OSA) server, i.e. receive and process
AppleEvents
\index
{
AppleEvents
}
. It can be used in conjunction with
AppleEvents
\index
{
AppleEvents
}
. It can be used in conjunction with
\module
{
FrameWork
}
\refstmodindex
{
FrameWork
}
or standalone.
\
ref
module
{
FrameWork
}
\refstmodindex
{
FrameWork
}
or standalone.
This module is temporary, it will eventually be replaced by a module
This module is temporary, it will eventually be replaced by a module
that handles argument names better and possibly automates making your
that handles argument names better and possibly automates making your
...
@@ -38,8 +39,7 @@ provide its own windows, etc.
...
@@ -38,8 +39,7 @@ provide its own windows, etc.
\end{classdesc}
\end{classdesc}
\subsection
{
AEServer Objects
}
\subsection
{
AEServer Objects
\label
{
aeserver-objects
}}
\label
{
aeserver-objects
}
\begin{methoddesc}
[AEServer]
{
installaehandler
}{
classe, type, callback
}
\begin{methoddesc}
[AEServer]
{
installaehandler
}{
classe, type, callback
}
Installs an AppleEvent handler.
\var
{
classe
}
and
\var
{
type
}
are the
Installs an AppleEvent handler.
\var
{
classe
}
and
\var
{
type
}
are the
...
...
Doc/mac/mac.tex
View file @
88adcdfb
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
\makeindex
% tell \index to actually write the
\makeindex
% tell \index to actually write the
% .idx file
% .idx file
\makemodindex
% ... and the module index as well.
\makemodindex
% ... and the module index as well.
\ignorePlatformAnnotation
{
Mac
}
\begin{document}
\begin{document}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment