1
0
mirror of https://git.zap.org.au/git/trader.git synced 2025-01-03 14:57:41 -05:00

Use new macros CEX/ECEX for command line examples

This commit is contained in:
John Zaitseff 2024-01-12 00:49:51 +11:00
parent bee8437579
commit d79a2448f2

View File

@ -43,6 +43,22 @@
.. ..
.\} .\}
.\" .\"
.\" Define .CEX (start cmdline example) and .ECEX (end cmdline example)
.de CEX
.RS
.sp
.nh
.na
.ft \\*(mC
..
.de ECEX
.ft \\*(mR
.ad
.hy 14
.sp
.RE
..
.\"
.\" Define .URL, .MTO and .FTP, then try to load the www.tmac version .\" Define .URL, .MTO and .FTP, then try to load the www.tmac version
.de URL .de URL
\\$2 \(la\\$1\(ra\\$3 \\$2 \(la\\$1\(ra\\$3
@ -112,11 +128,9 @@ message will be written to standard error in this case.
.SH EXAMPLES .SH EXAMPLES
You can start a new game by running Star Traders without any command line You can start a new game by running Star Traders without any command line
options: options:
.RS .CEX
.sp trader
.B trader .ECEX
.sp
.RE
Once the game starts, you will be asked to enter the number of people Once the game starts, you will be asked to enter the number of people
playing. From one to eight people can play (although, in this version, playing. From one to eight people can play (although, in this version,
they will all have to share the one keyboard and screen!). After they will all have to share the one keyboard and screen!). After
@ -127,45 +141,30 @@ game!
If you would like to continue a previously-saved game, simply specify If you would like to continue a previously-saved game, simply specify
that game number on the command line. For example, the following starts that game number on the command line. For example, the following starts
game 4, if it was previously saved: game 4, if it was previously saved:
.RS .CEX
.sp trader 4
.B trader 4 .ECEX
.sp
.RE
If you are running under the X Window System, you might like to start the If you are running under the X Window System, you might like to start the
game in a dedicated game in a dedicated
.MR xterm 1 .MR xterm 1
window (typed all on one line): window (typed all on one line):
.RS .CEX
.sp xterm \-g 80x24 \-fa Mono \-fs 18 \-bg black \-fg white \-bc +sb +fbx
.nh \-e trader &
.na .ECEX
.B "xterm \-g 80x24 \-fa Mono \-fs 18 \-bg black \-fg white \-bc +sb +fbx \-e trader &"
.ad
.hy 14
.sp
.RE
If you would like a full \*(lqretro-computing\*(rq green-screen If you would like a full \*(lqretro-computing\*(rq green-screen
experience, try (again, typed all on one line): experience, try (again, typed all on one line):
.RS .CEX
.sp xterm \-g 80x24 \-fa Mono \-fs 18 \-bg \(aq#181818\(aq \-fg \(aq#2CAB00\(aq
.nh \-bc +sb +bdc +fbx \-xrm \(aqXTerm*colorBD: #41FF00\(aq \-e trader
.na \-\-no\-colour &
.B "xterm \-g 80x24 \-fa Mono \-fs 18 \-bg \(aq#181818\(aq \-fg \(aq#2CAB00\(aq \-bc +sb +bdc +fbx \-xrm \(aqXTerm*colorBD: #41FF00\(aq \-e trader \-\-no\-colour &" .ECEX
.ad
.hy 14
.sp
.RE
Or, if you prefer the old amber screens of yesteryear: Or, if you prefer the old amber screens of yesteryear:
.RS .CEX
.sp xterm \-g 80x24 \-fa Mono \-fs 18 \-bg \(aq#101010\(aq \-fg \(aq#AB7A00\(aq
.nh \-bc +sb +bdc +fbx \-xrm \(aqXTerm*colorBD: #FFB700\(aq \-e trader
.na \-\-no\-colour &
.B "xterm \-g 80x24 \-fa Mono \-fs 18 \-bg \(aq#101010\(aq \-fg \(aq#AB7A00\(aq \-bc +sb +bdc +fbx \-xrm \(aqXTerm*colorBD: #FFB700\(aq \-e trader \-\-no\-colour &" .ECEX
.ad
.hy 14
.sp
.RE
.\" ********************************************************************* .\" *********************************************************************
.SH ENVIRONMENT .SH ENVIRONMENT
.TP .TP