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
.de URL
\\$2 \(la\\$1\(ra\\$3
@ -112,11 +128,9 @@ message will be written to standard error in this case.
.SH EXAMPLES
You can start a new game by running Star Traders without any command line
options:
.RS
.sp
.B trader
.sp
.RE
.CEX
trader
.ECEX
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,
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
that game number on the command line. For example, the following starts
game 4, if it was previously saved:
.RS
.sp
.B trader 4
.sp
.RE
.CEX
trader 4
.ECEX
If you are running under the X Window System, you might like to start the
game in a dedicated
.MR xterm 1
window (typed all on one line):
.RS
.sp
.nh
.na
.B "xterm \-g 80x24 \-fa Mono \-fs 18 \-bg black \-fg white \-bc +sb +fbx \-e trader &"
.ad
.hy 14
.sp
.RE
.CEX
xterm \-g 80x24 \-fa Mono \-fs 18 \-bg black \-fg white \-bc +sb +fbx
\-e trader &
.ECEX
If you would like a full \*(lqretro-computing\*(rq green-screen
experience, try (again, typed all on one line):
.RS
.sp
.nh
.na
.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 &"
.ad
.hy 14
.sp
.RE
.CEX
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
Or, if you prefer the old amber screens of yesteryear:
.RS
.sp
.nh
.na
.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 &"
.ad
.hy 14
.sp
.RE
.CEX
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
.\" *********************************************************************
.SH ENVIRONMENT
.TP