From bd1dced42e09adab2700778a9ecd9ec9f6dcfc45 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 1 Nov 2001 21:42:27 +0000 Subject: [PATCH] . original commit: 87c264ce47114110f018fe3f9031af45588f26ee --- man/man1/mred.1 | 163 +++++++++++++++++++++++++++++++------------- man/man1/mzscheme.1 | 143 ++++++++++++++++++++++++++------------ 2 files changed, 215 insertions(+), 91 deletions(-) diff --git a/man/man1/mred.1 b/man/man1/mred.1 index 57a93538..321c760b 100644 --- a/man/man1/mred.1 +++ b/man/man1/mred.1 @@ -1,5 +1,5 @@ \" dummy line -.TH MRED 1 "16 March 2000" +.TH MRED 1 "November 2001" .UC 4 .SH NAME mred \- The PLT Graphical Scheme implementation @@ -73,6 +73,8 @@ These flags must appear before all other flags. Startup file and expression switches: .TP .BI \-e \ expr +.TP +.BI \--eval \ expr Evaluates .I expr after @@ -80,6 +82,8 @@ after starts. .TP .BI \-f \ file +.TP +.BI \--load \ file Loads .I file after @@ -87,89 +91,134 @@ after starts. .TP .BI \-d \ file +.TP +.BI \--load-cd \ file Load/cds .I file after .I MrEd starts. .TP +.BI \-t \ file +.TP +.BI \--require \ file +Requires +.I file +after +.I MrEd +starts. +.TP .B \-F +.TP +.B \--Load .br Loads all remaining arguments after .I MrEd starts. .TP .B \-D +.TP +.B \--Load-cd .br Load/cds all remaining arguments after .I MrEd starts. .TP +.B \-T +.TP +.B \--Require +.br +Requires all remaining arguments after +.I MrEd +starts. +.TP .BI \-l \ file +.TP +.BI \--mzlib \ file Same as -.BR -e \ '(require-library\ "\|\c +.BR -e \ '(require\ (lib\ "\|\c .I file\|\c -")'. +"))'. .TP .BI \-L \ file \ coll Same as -.BR -e \ '(require-library\ "\|\c +.BR -e \ '(require\ (lib\ "\|\c .I file\|\c " "\|\c .I coll\|\c -")'. +"))'. .TP -.B \-r, --script +.BI \-M \ coll +Same as +.BR -e \ '(require\ (lib\ "\|\c +.I coll\|\c +\|.ss" "\|\c +.I coll\|\c +"))'. +.TP +.B \-r +.TP +.B --script Script mode: use as last flag for scripts. Same as .BR -fmv- . .TP -.B \-i, --script-cd +.B \-i +.TP +.B --script-cd Like -r, but also sets the directory. Same as .BR -dmv- . .TP -.B \-z, --stdio +.B \-Z +.TP +.B \--nogui +Skip "class.ss" and "mred.ss" require. +.TP +.B \-z +.TP +.B \--stdio Use stdio REPL. Same as .BR -ve \ '(read-eval-print-loop)'. .TP -.B \-w, --awk +.B \-w +.TP +.B \--awk Same as .B -l .BR awk.ss . +.TP +.BI \-k \ n \ m +Load executable-embedded code from file offset +.I n +to +.IR m . .PP Initialization switches: .TP -.B \-x, --no-lib-path +.B \-x +.TP +.B \--no-lib-path Does not try to set current-library-collection-paths. .TP -.B \-q, --no-init-file +.B \-q +.TP +.B \--no-init-file Does not try to load "~/.MrEdrc". .PP Language setting switches: .TP -.B \-g, --case-sens +.B \-g +.TP +.B \--case-sens Identifiers and symbols are initially case-sensitive. .TP -.B \-c, --esc-cont -Call/cc is replaced with call/ec. +.B \-s .TP -.B \-s, --set-undef +.B \--set-undef Set! works on undefined identifiers. -.TP -.B \-a, --no-auto-else -Fall-through cond or case is an error. -.TP -.B \-n, --no-key -Keywords are not enforced. -.TP -.B \-y, --hash-percent-syntax -Only #% syntactic forms are present. -.TP -.B \-p, --persistent -Catches AIX SIGDANGER (low page space) signal. (AIX only) .PP Miscellaneous switches: @@ -178,21 +227,36 @@ Miscellaneous switches: .br No argument following this switch is used as a switch. .TP -.B \-m, --mute-banner +.B \-p +.TP +.B \--persistent +Catches AIX SIGDANGER (low page space) signal. (AIX only) +.TP +.B \-m +.TP +.B \--mute-banner Suppresses .BR -v / --version text. .TP -.B \-v, --version -Suppresses the read-eval-print loop, prints version. +.B \-v .TP -.B \-V, --no-yield -Like -v, also supresses (yield 'wait). +.B \--version +Suppresses the read-eval-print loop and prints version information. .TP -.B \-h, --help +.B \-V +.TP +.B \--yield +Like -v, also suppresses (yield 'wait). +.TP +.B \-h +.TP +.B \--help Shows help for command-line arguments and exits, ignoring other switches. .TP -.BI \-R file ,\ --restore \ file +.BI \-R file +.TP +.BI \--restore \ file Restores an image; must be the only switch. (Special versions only) .PP Multiple single-letter switches can be collapsed, with arguments placed @@ -256,18 +320,22 @@ for a "collects" subdirectory. .IP If .I MrEd -was invoked with an absolute pathname, the directory -of the invoked executable is checked. If the executable -is a link, the directory of the referenced file is also -checked, recursively following links. +was invoked with an absolute pathname, the directory of the invoked +executable is checked. If the executable is a link, the directory of +the referenced file is also checked, recursively following links. The +parent directories and the parent's parent directories are also +checked (in case +.I MrEd +is in a "bin" directory or a ".bin/\c +.I platform\|\c +" directory). .IP If .I MrEd -is invoked with a relative pathname, the -directories in the PATH environment variable containing -a file with the name of the program as invoked (usually -"MrEd") are checked. Links are followed as in the -first case. +is invoked with a relative pathname, the directories in the PATH +environment variable containing a file with the name of the program as +invoked (usually "MrEd") are checked. Links and parent directories are +followed as in the first case. .IP The "/usr/local/lib/plt/collects" directory is tried. @@ -283,11 +351,10 @@ or by e-mail to plt-bugs@cs.rice.edu (discouraged) .SH AUTHOR .I MrEd -was implemented by Matthew Flatt (mflatt@cs.utah.edu) with -Robert Bruce Findler (robby@cs.rice.edu) and -John Clements (clements@cs.rice.edu), based on +was implemented by Matthew Flatt (mflatt@cs.utah.edu), +Robert Bruce Findler (robby@cs.rice.edu), and +John Clements (clements@ccs.neu.edu), based on MzScheme. .SH SEE ALSO .BR mzscheme(1), -.BR drscheme(1), -.BR drscheme-jr(1) +.BR drscheme(1) diff --git a/man/man1/mzscheme.1 b/man/man1/mzscheme.1 index 874a538b..b65be815 100644 --- a/man/man1/mzscheme.1 +++ b/man/man1/mzscheme.1 @@ -1,5 +1,5 @@ .\" dummy line -.TH MZSCHEME 1 "16 March 2000" +.TH MZSCHEME 1 "November 2001" .UC 4 .SH NAME MzScheme \- The PLT Scheme implementation @@ -13,11 +13,11 @@ MzScheme \- The PLT Scheme implementation .SH DESCRIPTION .I MzScheme is the PLT -Scheme implementation. It nearly implements the language as +Scheme implementation. It implements the language as described in the .I Revised^5 Report on .I the Algorithmic Language Scheme -(the macro system is not fully supported), and adds numerous extensions. +and adds numerous extensions. .PP .I MrEd embeds and extends MzScheme with a graphical user interface (GUI) toolbox. @@ -33,6 +33,8 @@ applications. Startup file and expression switches: .TP .BI \-e \ expr +.TP +.BI \--eval \ expr Evaluates .I expr after @@ -40,6 +42,8 @@ after starts. .TP .BI \-f \ file +.TP +.BI \--load \ file Loads .I file after @@ -47,85 +51,122 @@ after starts. .TP .BI \-d \ file +.TP +.BI \--load-cd \ file Load/cds .I file after .I MzScheme starts. .TP +.BI \-t \ file +.TP +.BI \--require \ file +Requires +.I file +after +.I MzScheme +starts. +.TP .B \-F +.TP +.B \--Load .br Loads all remaining arguments after .I MzScheme starts. .TP .B \-D +.TP +.B \--Load-cd .br Load/cds all remaining arguments after .I MzScheme starts. .TP +.B \-T +.TP +.B \--Require +.br +Requires all remaining arguments after +.I MzScheme +starts. +.TP .BI \-l \ file +.TP +.BI \--mzlib \ file Same as -.BR -e \ '(require-library\ "\|\c +.BR -e \ '(require\ (lib\ "\|\c .I file\|\c -")'. +"))'. .TP .BI \-L \ file \ coll Same as -.BR -e \ '(require-library\ "\|\c +.BR -e \ '(require\ (lib\ "\|\c .I file\|\c " "\|\c .I coll\|\c -")'. +"))'. .TP -.B \-r, --script +.BI \-M \ coll +Same as +.BR -e \ '(require\ (lib\ "\|\c +.I coll\|\c +\|.ss" "\|\c +.I coll\|\c +"))'. +.TP +.B \-r +.TP +.B --script Script mode: use as last flag for scripts. Same as .BR -fmv- . .TP -.B \-i, --script-cd +.B \-i +.TP +.B --script-cd Like -r, but also sets the directory. Same as .BR -dmv- . .TP -.B \-w, --awk +.B \-w +.TP +.B \--awk Same as .B -l .BR awk.ss . +.TP +.BI \-k \ n \ m +Load executable-embedded code from file offset +.I n +to +.IR m . .PP Initialization switches: .TP -.B \-x, --no-lib-path +.B \-x +.TP +.B \--no-lib-path Does not try to set current-library-collection-paths. .TP -.B \-q, --no-init-file +.B \-q +.TP +.B \--no-init-file Does not try to load "~/.mzschemerc". .PP Language setting switches: .TP -.B \-g, --case-sens +.B \-g +.TP +.B \--case-sens Identifiers and symbols are initially case-sensitive. +.B \-s .TP -.B \-c, --esc-cont -Call/cc is replaced with call/ec. -.TP -.B \-s, --set-undef +.B \--set-undef Set! works on undefined identifiers. -.TP -.B \-a, --no-auto-else -Fall-through cond or case is an error. -.TP -.B \-n, --no-key -Keywords are not enforced. -.TP -.B \-y, --hash-percent-syntax -Only #% syntactic forms are present. -.TP -.B \-p, --persistent -Catches AIX SIGDANGER (low page space) signal. (AIX only) .PP Miscellaneous switches: @@ -134,16 +175,29 @@ Miscellaneous switches: .br No argument following this switch is used as a switch. .TP -.B \-m, --mute-banner +.B \-p +.TP +.B \--persistent +Catches AIX SIGDANGER (low page space) signal. (AIX only) +.TP +.B \-m +.TP +.B \--mute-banner Suppresses the startup banner. .TP -.B \-v, --version +.B \-v +.TP +.B \--version Suppresses the read-eval-print loop. .TP -.B \-h, --help +.B \-h +.TP +.B \--help Shows help for command-line arguments. .TP -.BI \-R file ,\ --restore \ file +.BI \-R file +.TP +.BI \--restore \ file Restores an image; must be the only switch. (Special versions only) .PP Multiple single-letter switches can be collapsed, with arguments placed @@ -207,18 +261,22 @@ for a "collects" subdirectory. .IP If .I MzScheme -was invoked with an absolute pathname, the directory -of the invoked executable is checked. If the executable -is a link, the directory of the referenced file is also -checked, recursively following links. +was invoked with an absolute pathname, the directory of the invoked +executable is checked. If the executable is a link, the directory of +the referenced file is also checked, recursively following links. The +parent directories and the parent's parent directories are also +checked (in case +.I MzScheme +is in a "bin" directory or a ".bin/\c +.I platform\|\c +" directory). .IP If .I MzScheme -is invoked with a relative pathname, the -directories in the PATH environment variable containing -a file with the name of the program as invoked (usually -"mzscheme") are checked. Links are followed as in the -first case. +is invoked with a relative pathname, the directories in the PATH +environment variable containing a file with the name of the program as +invoked (usually "mzscheme") are checked. Links and parent directories +are followed as in the first case. .IP The "/usr/local/lib/plt/collects" directory is tried. @@ -240,5 +298,4 @@ Boehm and extended by John Ellis. MzScheme was originally based on libscheme, written by Brent Benson. .SH SEE ALSO .BR drscheme(1), -.BR drscheme-jr(1), .BR mred(1)