diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
| commit | 711594636704defae873be1a355a292505585afd (patch) | |
| tree | 59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man6 | |
| parent | 3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff) | |
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man6')
67 files changed, 6322 insertions, 0 deletions
diff --git a/static/v10/man6/Makefile b/static/v10/man6/Makefile new file mode 100644 index 00000000..cd649fe8 --- /dev/null +++ b/static/v10/man6/Makefile @@ -0,0 +1,3 @@ +MAN = $(wildcard *.6) + +include ../../mandoc.mk diff --git a/static/v10/man6/adventure.6 b/static/v10/man6/adventure.6 new file mode 100644 index 00000000..b5b165bf --- /dev/null +++ b/static/v10/man6/adventure.6 @@ -0,0 +1,52 @@ +.TH ADVENTURE 6 +.CT 1 games +.SH NAME +adventure, zork, rogue, wump \- dungeon-exploration games +.SH SYNOPSIS +.B /usr/games/adventure +.PP +.B /usr/games/zork +.PP +.B /usr/games/rogue +.PP +.B /usr/games/wump +.SH DESCRIPTION +.I Adventure +is the grandaddy of dungeon-exploration games, part +of the object of which is to puzzle out the object and the rules. +.I Zork +marks the zenith of the genre. +.PP +.I Rogue +requires a cursor-addressed terminal to +show fragments of the cave map. +Indicia published at the bottom of the screen are +the cave level being explored, the amount of gold accumulated, +armor class, +and measures of your potency: `hit points', strength, +and experience level. +Type +.L ? +for more help. +.PP +The +.I wump +cave is inhabited by a Wumpus and by Super Bats that like to pick you up +and drop you somewhere else. +You wander among the rooms, trying to +shoot the Wumpus with an arrow, meanwhile avoiding +being eaten by the Wumpus and falling +into +Bottomless Pits. +.SH FILES +.TF /usr/games/lib/rogue_roll +.TP +.F adv.susp +.TP +.F rogue.save +.TP +.F /usr/games/lib/rogue_roll +.SH SEE ALSO +.B readnews -n net.games.rogue +.SH BUGS +You take these games where and as you find them. diff --git a/static/v10/man6/arithmetic.6 b/static/v10/man6/arithmetic.6 new file mode 100644 index 00000000..063daec3 --- /dev/null +++ b/static/v10/man6/arithmetic.6 @@ -0,0 +1,71 @@ +.TH ARITHMETIC 6 +.CT 1 inst_info +.SH NAME +arithmetic \- drill in number facts +.SH SYNOPSIS +.B /usr/games/arithmetic +[ +.B +-x/ +] +[ +.I range +] +.SH DESCRIPTION +.I Arithmetic +types out simple arithmetic problems, +and waits for an answer to be typed in. +If the answer is correct, +it types back +.LR Right! , +and a new problem. +If the answer is wrong, +it replies +.L What? , +and waits for another answer. +Every twenty problems, it publishes +statistics on correctness and the time required +to answer. +.PP +To quit the program, +type an interrupt (delete). +.PP +The first optional argument determines the kind of problem +to be generated; +.B +-x/ +get +addition, subtraction, multiplication, and division +problems respectively. +One or more characters can be given; +if more than one is given, the different types of +problems will be mixed in random order; default is +.B +- +.PP +.I Range +is a decimal number; +all addends, subtrahends, differences, multiplicands, divisors, +and quotients will be less than or equal to the value of +.IR range . +Default +.I range +is 10. +.PP +At the start, all numbers less than or equal to +.I range +are equally likely +to appear. +If the respondent makes a mistake, +the numbers in the problem which was missed +become more likely to reappear. +.PP +As a matter of educational philosophy, the program will +not give correct answers, +since the learner should, in principle, +be able to calculate them. +Thus the program is intended to provide drill for +someone just past the first learning stage, +not to teach number facts +.I de +.IR novo . +For almost all users, +the relevant statistic should be +time per problem, not percent correct. diff --git a/static/v10/man6/ascii.6 b/static/v10/man6/ascii.6 new file mode 100644 index 00000000..b0fbe002 --- /dev/null +++ b/static/v10/man6/ascii.6 @@ -0,0 +1,43 @@ +.TH ASCII 6 +.CT 1 inst_info +.SH NAME +ascii, latin1 \- character set maps +.SH DESCRIPTION +The file +.F /usr/pub/ascii +is a map of the ASCII character set, to be printed as needed. +It contains: +.PP +.EX +.cs R 20 +|000 nul|001 soh|002 stx|003 etx|004 eot|005 enq|006 ack|007 bel| +|010 bs |011 ht |012 nl |013 vt |014 np |015 cr |016 so |017 si | +|020 dle|021 dc1|022 dc2|023 dc3|024 dc4|025 nak|026 syn|027 etb| +|030 can|031 em |032 sub|033 esc|034 fs |035 gs |036 rs |037 us | +|040 sp |041 ! |042 " |043 # |044 $ |045 % |046 & |047 \' | +|050 ( |051 ) |052 * |053 + |054 , |055 - |056 . |057 / | +|060 0 |061 1 |062 2 |063 3 |064 4 |065 5 |066 6 |067 7 | +|070 8 |071 9 |072 : |073 ; |074 < |075 = |076 > |077 ? | +|100 @ |101 A |102 B |103 C |104 D |105 E |106 F |107 G | +|110 H |111 I |112 J |113 K |114 L |115 M |116 N |117 O | +|120 P |121 Q |122 R |123 S |124 T |125 U |126 V |127 W | +|130 X |131 Y |132 Z |133 [ |134 \\ |135 ] |136 ^ |137 _ | +|140 \` |141 a |142 b |143 c |144 d |145 e |146 f |147 g | +|150 h |151 i |152 j |153 k |154 l |155 m |156 n |157 o | +|160 p |161 q |162 r |163 s |164 t |165 u |166 v |167 w | +|170 x |171 y |172 z |173 { |174 | |175 } |176 ~ |177 del| +.EE +.cs R +.PP +The file +.F /usr/pub/latin1 +is a map of characters 0200-0377 in the ISO Latin-1 extension +to the +.SM ASCII +code. +Escape sequences are given for typing the characters in +.IR mux (9.1). +.SH FILES +.F /usr/pub/ascii +.br +.F /usr/pub/latin1 diff --git a/static/v10/man6/atc.6 b/static/v10/man6/atc.6 new file mode 100644 index 00000000..c3633452 --- /dev/null +++ b/static/v10/man6/atc.6 @@ -0,0 +1,375 @@ +.TH ATC 6 +.CT 1 games +.SH NAME +atc \- air traffic controller +.SH SYNOPSIS +.B /usr/games/atc +.SH DESCRIPTION +.I Atc +presents air traffic on a cursor-controlled screen. +As the controller, you must shepherd it safely through the air space. +At the beginning of the game +.I atc +displays the takeoff/landing direction for each airport and +prompts for the game duration with: +.LR "< >" . +Enter a number from 16 simulated minutes (hard) to 99 (easier) +.PP +Options are +.TP "\w'-m=file 'u" +.BI \-u= file +Take airspace description from +.I file. +.PD0 +.TP +.BI \-a= name +use the named airspace; default is +.LR Apple1 . +.TP +.BI \-s= seed +for a 32-bit random number generator +.TP +.BI \-t= time +Preset the game duration. +.TP +.BI \-p= file +save the play of the game in the named file +.TP +.BI \-m= file +play a `movie' of the saved game +.PD +.PP +In the display of the airspace +.ig +.ne24 +.IP +.ta +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +1vC +.EX +\&. 0 . . . . . . 1 . . . . . . . . . . . . . . +\&. . , . . . . . , . . . . . . . . . . . . . . +\&. . . , . . . . , . . . . . . . . . . . . . 2 +\&. . . . , . . . , . . . . . . . . . . . . , . +\&. . . . . , . . , . . . . . . . . . . . , . . +\&. . . . . . , . , . . . . . . . . . . , . . . +\&. . . . . . . , , . . . . . . . . . , . . . . +\&6 , , , , , , , * , , , , , , , , , , , , , 3 +\&. . . . . . . . , , . . . . . . , . . . . . . +\&. . . . . . . . , . , . . . . , . . . . . . . +\&. . . . . . . . , . . , . . % . . . . . . . . +\&. . . . . . . . , . . . , , . . . . . . . . . +\&. . . . . . . . , . . . , , . . . . . . . . . +\&. . . . . . . . , . . , . . , . . . . . . . . +\&. . . . . . . . , . , . . . . , . . . . . . . +\&. . . . . . . . , , . . . . . . , . . . . . . +\&4 , , , , , , , * , , , , , # , , , , , , , 5 +\&. . . . . . . , , . . . . . . . . . , . . . . +\&. . . . . . , . , . . . . . . . . . . , . . . +\&. . . . . , . . , . . . . . . . . . . . , . . +\&. . . . , . . . , . . . . . . . . . . . . , . +\&. . . , . . . . , . . . . . . . . . . . . . 9 +\&. . 7 . . . . . 8 . . . . . . . . . . . . . . +.EE +.DT +.tc +.LP +.. +.B % and +.B # +denote airports; +.B * +and +.B ! +denote navigational aids (navaids); and +commas denote airways that link numbered entry/exit `fixes', +airports, and navaids. +Dots are separated by one mile, horizontally, vertically, and diagonally. +An airplane appears as a letter followed by its height in thousands of feet. +.PP +There are two kinds of planes: jets flying 1 mile per tick (15 seconds) +and props flying 1/2 mile per tick. +.PP +You must prevent various misfortunes. +Running out of fuel is serious. +So is a close encounter \- less than 3 miles horizontal separation +at a given altitude. +A plane +changing altitude is considered to be at both its old and new +altitudes. +A `boundary error', +leaving the airspace at the wrong place, not on an airway, or +at the wrong height, is also serious, but not as likely to be fatal. +.PP +The right side of the screen shows flight plans. +A typical +flight strip looks like: +.br +.B " Fj 7\->3 4 NE +" +.br +The first letter is the aircraft name, +the next letter is +.L j +for jet or +.L p +for prop. +The next field gives the plane's intentions: this one is +entering at (or is now at) fix 7 and leaving at fix 3. +The origin character tells where +the plane is (or will be when it enters), the destination is a fix +it wishes to go to. +(It will, however, continue on a straight path unless instructed +otherwise.) +Next is the altitude, in this case 4000 feet. +The bearing is a compass direction: +.LR N , +.LR NE , +etc. +The final character is the amount of fuel left, +.L + +for more than 10 minutes, otherwise +the number of minutes of fuel remaining. +Jets begin with 15 minutes of fuel, props 21. +.PP +At the top of the flight plans are listed planes that will +appear in the next minute, preceded by how many ticks (0-4) +they are away. +Planes may be +cleared for takeoff as soon as they are listed. +.PP +Commands are terminated by newline. +Backspace may be used to correct errors. +The following kinds of commands can be issued. +.IP $ \n()Mu +End the game (game normally ends after 26 planes) +.PD0 +.TP "\w'ALNW 'u" +.B W +Print flight plan for airplane +.B W +.TP +.B XA3 +.B X +will change altitude to 3000 feet +.TP +QA0 +.B Q +will land (go to 0 feet altitude) +.Tp +.B HRE +.B H +will turn right until it is heading east +.TP +.B ALNW +.B A +will turn left until it is heading northwest +.TP +.B CTS +.B C +will turn south through the smallest angle +.TP +.B T*7 +.B T +will take exit bearing for fix 7 at next navaid +.TP +.B P*% +.B P +will take landing bearing for +.B % +at next navaid +.TP +.B DH +.B D +will circle (hold) at next navaid +.TP +.B MR0 +Abort pending hold, clearance, or turn for plane +.B M +.TP +.B J? +Cancel delayed commands for +.B J +.TP +space +Speed up the game by advancing 15 seconds +.PD +.PP +.I Climbing/descending. +Planes climb or descend 1000 feet per mile. +Climbing from 0 is a takeoff; descending to 0 is a landing. +The takeoff/landing direction for each airport is given. +A landing airplane must reach altitude 0 headed in the right +direction 1 mile before the runway. +No further commands may be given after a descent to 0, +as control then +rests with the tower. +If a plane lands +from the wrong direction, it will climb to 1000 feet +and issue a `go around' error. +While changing altitude, a flight strip reads like +.br +.B " Dp :\->2 7v3 S 9" +.br +which means at 7000 feet descending to 3000. +.PP +.I Turning. +Planes turn 45 degrees per mile. +Turns may be left +.L L +right +.L R +or to a specified direction +.LR T . +Thus +.L ULNE +tells plane +.B U +to turn to his left until it is heading +northeast. +Changes of direction are indicated in the flight strip: +.br +.B " Nj :\->5 5 S r W +" +.br +indicates that jet +.B N +is heading south, and will turn 90 degrees to the +right. +To cancel the remaining part of this turn, give the command +N) +.LR NR0 . +.ig +The Ann Arbor keypad used for +/- PAGE, cursor motion, etc., may be used to +supply the new bearing. The usual N/S/E/W correspondence is used: + ---------------- + |-PAG|HOME|+PAG| + | NW | N | NE | + |----+----+----| + |-SCH| UP |+SCH| + | W |STRT| E | + |----+----+----| + |LEFT|DOWN|RGHT| + | SW | S | SE | + ---------------- +.. +.PP +.I Navaids. +A plane may be directed to turn at a navaid or hold (circle) there, +Thus command `AH' holds plane A at the next navaid. +The flight strip for a plane that is to hold looks like +.br +.B " Ap :\->2 5 S * 7" +.br +During the hold, the +.B * +will become +.LR h . +Every incoming plane that will be landing holds at a +navaid unless the controller gives it other instructions. +.PP +The command +.B * +clears a plane to turn sharply to any known fix +at the next navaid. +The flight strip for +a plane cleared through a navaid (to fix 5, for example) looks like: +.br +.B " Hj .->2 5 S *5 +" +.br +A holding aircraft given a clearance will continue around to the +navaid, then immediately assume the specified bearing. +Turns cancel clearances. +.ig +8. Designing new airspaces + The system airspaces are stored in /usr/rand/jim/atc/airspaces on the +VAX, and /mnt/jim/atc/airspaces on the PDP-11/45. Users may define their +own airspaces and use them (Section 2), or have them included at the end of +the system airspace file. +The coordinate system for an MxN screen is: + --------------------- + |0,0 M,0| + | | + | | + | | + | | + | | + | | + | | + | | + | | + | | + |0,N M,N| + --------------------- +The different objects on the screen are defined as follows: +Apple1 + size: 15x24 + airway: 1=(0,13) SE 8=(10,23) + airway: 0=(4,0) S 9=(4,23) + airway: 2=(14,15) NW 7=(0,1) + airway: 3=(0,9) NE 6=(9,0) + airway: 4=(14,7) SW 5=(0,21) + airport: %=(4,11) S + airport: #=(10,11) NE + navaid: *=(4,5) + navaid: *=(4,17) +The size field is restricted only by the size of the Ann Arbor screen. The +direction on an airway is the entry direction from the first fix; the +designer must ensure that each airway connects two entry/exit fixes, and +that each entry/exit fix is on an airway. If more than 20 entry/exit +fixes, 5 airports, or 5 navaids are desired, the program must be recompiled +after the change to EMAX, AMAX, or NMAX respectively in the source file +"ahdr.h". +9. Things to come + Several additions are planned to the ATC simulation in the near +future. The most important is definition of the "Clearance Directive +List," a list of absolute locations on the screen and actions to take at +the location. The user will use this feature to establish plans for +airplanes without having to monitor for completion of each part. + Another major modification will enable ATC to be run by another +program, using a data transfer protocol designed to minimize the +communication requirements. + These features will be documented as they are implemented. +.. +.PP +.I Delayed commands. +Commands of the form +.br +.BI " @" location , command [, "command ...\fP]" +.br +stack up activities. +A location may be any fix or +a point offset from a fix, e.g. +.br +.B " @#sw3s2,ARE" +.br +which means at the point which can be reached by going three +miles SW from airport +.BR # , +then two miles S, plane +.B A +should begin +a right turn until heading E. +The information command shows all delayed commands pending for that plane. +Note that delayed commands allow one to specify actions more +than one navaid ahead. +.ig +Flow control: + When a game is started, ATC looks for the file <airspace>.flow + in the directory /usr/rand/jim/atc to establish a traffic pattern. + For example, if the airspace is Apple3, it uses the file + /usr/rand/jim/atc/Apple3.flow . + The flow file contains one line for each legal path through the + airspace. Each line is left-adjusted, and consists of an origin, + the symbol "->" (for "goes to"), the destination, a space, and + the relative frequency of this path. The expected frequency for + this path is its relative frequency divided by the sum of the + relative frequencies for all the paths. Some examples are: + 1->5 5 + 1->8 10 + 2-># 10 + 2->% 5 + 2->6 5 + %->% 5 + #->% 10 + Blank lines are ignored (for spacing). + Any path with no relative frequency is assumed to have frequency 0. +Things to come: + (1) There will be a capability for canned procedures. +.. diff --git a/static/v10/man6/azel.6 b/static/v10/man6/azel.6 new file mode 100644 index 00000000..f90f3dfe --- /dev/null +++ b/static/v10/man6/azel.6 @@ -0,0 +1,104 @@ +.th AZEL VI 9/22/73 +.sh NAME +azel \*- obtain satellite predictions +.sh SYNOPSIS +.bd azel +satellite ... +.sh DESCRIPTION +.it Azel +predicts, in convenient form, +the apparent trajectories of Earth satellites +whose orbital elements are given in the +argument files. +If a given satellite name cannot be read, an attempt is made to find it +in a directory of satellites maintained by the +programs's author. +.s3 +For each satellite given +the program types its full name, +the date, +and a sequence of lines each containing a time, +an azimuth, an elevation, +a distance, and a visual magnitude. +Each such line indicates that: +at the indicated time, +the satellite may be seen from Murray Hill at the +indicated azimuth and elevation, and that its distance +and apparent magnitude are as given. +Predictions are printed only when +the sky is dark (sun more than 5 degrees below the horizon) +and when the satellite is not eclipsed by the earth's shadow. +Satellites which have not been seen and verified will +not have had their visual magnitude level set correctly. +.s3 +All times input and output by +.it azel +are GMT (Universal Time). +.s3 +The satellites for which elements are maintained are: +.s3 +.lp +10 10 +sla,|...|sll Skylab A through Skylab L. +Skylabs A and B are the laboratory and its rocket +respectively; +the remainder are various other objects +attendant upon its launch and subsequent activities. +A, B, and probably K have been sighted and verified. +.s3 +.lp +10 10 +cop Copernicus I. Never verified. +.s3 +.lp +10 10 +oao Orbiting Astronomical Observatory. +Seen and verified. +.s3 +.lp +10 10 +pag Pageos I. +Seen and verified; +fairly dim (typically 2nd-3rd magnitude), but elements are extremely accurate. +.s3 +.lp +10 10 +exp19 Explorer 19; seen and verified, +but quite dim (4th-5th magnitude) and fast-moving. +.s3 +.lp +10 10 +c103b, c156b, c184b, c206b, c220b, c461b, c500b +.br +Various of the USSR Cosmos series; none seen. +.s3 +.lp +10 10 +7276a Unnamed (satellite # 72-76A); not seen. +.s3 +.i0 +The element files used by +.it azel +contain five lines. +The first line gives +a year, month number, +day, hour, and minute +at which the program begins its consideration of the satellite, +followed by a number of minutes and an interval in minutes. +If the year, month, and day +are 0, they are taken to be the current date (taken to change at 6 A.M. local time). +The output report starts at the indicated epoch and +prints the position of the satellite +for the indicated number of minutes +at times separated by the indicated interval. +This line is ended by two numbers +which specify options to the program governing +the completeness of the report; they are ordinarily +both ``1''. +The first option flag suppresses output when the sky is not dark; +the second supresses output when the satellite is eclipsed by the +earth's shadow. +The next line of an element file is the full name of the satellite. +The next three are the elements themselves +(including certain derivatives of the elements). +The author should be consulted for more information. +.sh FILES +/usr/jfo/el/* \*- orbital element files +.sh "SEE ALSO" +sky (VI) +.sh AUTHOR +J. F. Ossanna +.sh BUGS diff --git a/static/v10/man6/back.6 b/static/v10/man6/back.6 new file mode 100644 index 00000000..05c0e841 --- /dev/null +++ b/static/v10/man6/back.6 @@ -0,0 +1,9 @@ +.TH BACK 6 +.CT 1 games +.SH NAME +back \- backgammon +.SH SYNOPSIS +.B /usr/games/back +.SH DESCRIPTION +This program does what you expect. +It will ask whether you need instructions. diff --git a/static/v10/man6/banner.6 b/static/v10/man6/banner.6 new file mode 100644 index 00000000..f26c038f --- /dev/null +++ b/static/v10/man6/banner.6 @@ -0,0 +1,73 @@ +.TH BANNER 6 +.CT 1 misc +.SH NAME +banner, rot, rnd, bigp \- print in large type +.SH SYNOPSIS +.B /usr/games/banner +[ +.BI - font +] +.I text +[ +.B | /usr/games/rot +.B | /usr/games/rnd +.I height width +] +.PP +.B /usr/games/bigp +[ +.I text +] +.SH DESCRIPTION +.I Banner +prints its arguments, one per line, in +.PP +.EX + # # + # # + # ### # ## ## # ### #### # # # ## ### + # # ## # # ## # # # # # ## # # # + # #### # # # #### # # # # # #### + # # # # # # # # # # ## # # # ## + # ### # #### ### ## ## # #### ### ## + # # # + #### ### # +.EE +.PP +The +.I font +may be selected from +.FR /usr/jerq/font ; +see +.IR font (9.5). +.PP +.I Rot +rotates its input clockwise ninety degrees. +.IP +.L +banner Sideways | rot +.PP +runs down the page, and +.IP +.L +banner Upside Down | rot | rot +.PP +is disconcerting. +.PP +.I Rnd +scales the non-white-space characters in its input by integral +.I height +and +.IR width. +.PP +.I Bigp +generates +banners suitable for printing on a line-printer. +Its output is approximately the same as +.IP +.L +banner -defont text | rot | rnd 2 4 +.PP +If no arguments are supplied, +.I bigp +creates a banner from the standard input. diff --git a/static/v10/man6/basic.6 b/static/v10/man6/basic.6 new file mode 100644 index 00000000..2d0c5728 --- /dev/null +++ b/static/v10/man6/basic.6 @@ -0,0 +1,32 @@ +.pa 1 +.he '3/15/72''BASIC (VI)' +.ti 0 +NAME basic -- DEC supplied BASIC +.sp +.ti 0 +SYNOPSIS basic [file] +.sp +.ti 0 +DESCRIPTION Basic +is the standard BASIC V000 distributed +as a stand alone program. +The optional file argument is read before the console. +See DEC-11-AJPB-D manual. +.sp +Since bas___ is smaller and faster, +basic_____ is not maintained on line. +.sp +.ti 0 +FILES -- +.sp +.ti 0 +SEE ALSO bas +.sp +.ti 0 +DIAGNOSTICS See manual +.sp +.ti 0 +BUGS GOK +.sp +.ti 0 +OWNER dmr diff --git a/static/v10/man6/bc.6 b/static/v10/man6/bc.6 new file mode 100644 index 00000000..c0cdc8f6 --- /dev/null +++ b/static/v10/man6/bc.6 @@ -0,0 +1,62 @@ +.pa 1 +.he 'BC (VI)'6/12/72'BC (VI)' +.ti 0 +NAME bc -- B interpreter +.sp +.ti 0 +SYNOPSIS bc__ [ -c__ ] sfile\d1\u.b__ ... ofile\d1\u ... +.sp +.ti 0 +DESCRIPTION bc__ +is the UNIX B interpreter. +It accepts three types of arguments: + +Arguments whose names end with ".b" are assumed to be +B source programs; they are compiled, and +the object program is left on the file sfile\d1\u.o (i.e. +the file whose name is that of the source with ".o" substituted +for ".b"). + +Other arguments (except for "-c") are assumed +to be either loader flag arguments, or B-compatible +object programs, typically produced by an earlier bc__ run, +or perhaps libraries of B-compatible routines. +These programs, together with the results of any +compilations specified, are loaded (in the order +given) to produce an executable program with name +a.out_____. + +The "-c" argument suppresses the loading phase, as does +any syntax error in any of the routines being compiled. +.sp +The language itself is described in [1]. +.sp +The future of B is uncertain. +The language has been totally eclipsed by the +newer, more powerful, more compact, and faster +language C. +.sp +.ti 0 +FILES file.b input file +.nf +a.out loaded output +b.tmp1 temporary (deleted) +b.tmp2 temporary (deleted) +/usr/lang/bdir/b[ca] translator +/usr/lang/bdir/brt[12] runtime initialization +/usr/lib/libb.a builtin functions, etc. +/usr/lang/bdir/bilib.a interpreter library +.fi +.sp +.ti 0 +SEE ALSO [1] K. Thompson; MM-72-1271-1; Users' Reference to B. +.br +cc(I) +.sp +.ti 0 +DIAGNOSTICS see [1]. +.sp +.ti 0 +BUGS Certain +external initializations are illegal. +(In particular: strings and addresses of externals.) diff --git a/static/v10/man6/bcd.6 b/static/v10/man6/bcd.6 new file mode 100644 index 00000000..c43ab026 --- /dev/null +++ b/static/v10/man6/bcd.6 @@ -0,0 +1,24 @@ +.TH BCD 6 +.CT 1 misc +.SH NAME +bcd, ppt, morse \- convert to antique media +.SH SYNOPSIS +.B /usr/games/bcd +.I text +.PP +.B /usr/games/ppt +.PP +.B /usr/games/morse +.SH DESCRIPTION +.I Bcd +converts the literal +.I text +into a tangible form familiar to old-timers. +.PP +.I Ppt +converts the standard input into yet another old standard. +.PP +.I Morse +converts the standard input into a pronounceable two-symbol code. +.SH "SEE ALSO" +.IR dd (1) diff --git a/static/v10/man6/bianchi.6 b/static/v10/man6/bianchi.6 new file mode 100644 index 00000000..7458701d --- /dev/null +++ b/static/v10/man6/bianchi.6 @@ -0,0 +1,37 @@ +.TH BIANCHI 6 +.CT 1 games +.SH NAME +bianchi \- espresso, steamed milk, hot water +.SH SYNOPSIS +.B "make mess" +.SH DESCRIPTION +This machine makes espresso, hot water, and steamed milk. +It is attached to the cold water supply. +The shut off valve is actuated by the yellow handle under the +sink. +.PP +The power switch is a two position switch on the lower left portion +of the front face of the cabinet. +At the 0 position, the machine is powered off. +.PP +The push button switch near the center of the upper front face +enables water to flow though the coffee receptacles. +It does not automatically shut off. +.PP +The handle on the right side of the base enables cold water to enter the +machine should the pump fail. +It should not normally be used. +.PP +Users accustomed to the previous machines should be warned that +this one requires considerably less coffee per cup. +The bayonet mounted ground coffee holders will be very hard to +attach if overfilled. +.SH WARNING! +The steam and hot water supplies are both extremely hot and capable +of high pressure. +Turn them on slowly. +The unwary user may suffer loss of skin or eyesight. +.SH BUGS +When first powered on it takes 15 minutes to warm up. +The last person leaving at night should turn the machine +off. diff --git a/static/v10/man6/bj.6 b/static/v10/man6/bj.6 new file mode 100644 index 00000000..e10a5b19 --- /dev/null +++ b/static/v10/man6/bj.6 @@ -0,0 +1,84 @@ +.pa 1 +.he 'BJ (VI)'3/15/72'BJ (VI)' +.ti 0 +NAME bj -- the game of black jack +.sp +.ti 0 +SYNOPSIS /usr/games/bj +.sp +.ti 0 +DESCRIPTION +.br +.in 8 +bj__ +is a serious attempt at +simulating the dealer +in the game of black jack (or twenty-one) +as might be found in Reno. +The following rules apply: +.sp +.in +3 +The bet is $2 every hand. +.sp +A player 'natural' (black jack) pays $3. +A dealer natural loses $2. +Both dealer and player naturals +is a 'push' (no money exchange). +.sp +If the dealer has an ace up, +the player is allowed to make an 'insurance' +bet against the chance of a dealer natural. +If this bet is not taken, play resumes as normal. +If the bet is taken, it is a side bet +where the player wins $2 if the dealer has +a natural and loses $1 if the dealer does not. +.sp +If the player is dealt two cards +of the same value, he is allowed to +'double'. +He is allowed to play two +hands, each with one of these cards. +(The bet is doubled also; $2 on each hand.) +.sp +If a dealt hand +has a total of ten or eleven, +the player may 'double down'. +He may double the bet ($2 to $4) +and receive exactly one more card on that hand. +.sp +Under normal play, +the player may 'hit' (draw a card) +as long as his total is not over twenty-one. +If the player 'busts' (goes over twenty-one), +the dealer wins the bet. +.sp +When the player 'stands' (decides not to hit), +the dealer hits until he attains +a total of seventeen or more. +If the dealer busts, the player wins the bet. +.sp +If both player and dealer stand, +the one with the largest total wins. +A tie is a push. +.sp +.in -3 +The machine deals and keeps score. +The following questions will be asked at +appropriate times. +Each question is +answered by y_ followed by a new line for 'yes', +or just new line for 'no'. +.sp +? (means, "do you want a hit?") +.br +Insurance? +.br +Double down? +.sp +Every time the deck is shuffled, +the dealer so states and the 'action' (total bet) +and 'standing' (total won or loss) +is printed. +To exit, hit the interrupt key (DEL) +and the action and standing will be printed. +.in 16 diff --git a/static/v10/man6/boggle.6 b/static/v10/man6/boggle.6 new file mode 100644 index 00000000..7d2daf81 --- /dev/null +++ b/static/v10/man6/boggle.6 @@ -0,0 +1,99 @@ +.TH BOGGLE 6 +.CT 1 games +.SH NAME +boggle, hangman, scrabble \- word games +.SH SYNOPSIS +.B /usr/games/boggle +[ +.B + +] +[ +.B ++ +] +[ +.I word word word word +] +.PP +.B /usr/games/scrabble +.PP +.B /usr/games/hangman +[ +.I arg +] +.SH DESCRIPTION +.I Boggle +provides practice for the Parker Brothers game. +If invoked with 4 arguments of 4 +letters each, +the program forms the +obvious Boggle grid and lists all the words from +.B /usr/dict/words +found +therein. +If invoked without arguments, it will generate +a board, let you enter words for 3 minutes, and then tell +how well you did relative to +.BR /usr/dict/words . +Words +may be formed from any sequence of 3 or more adjacent letters in the +grid. +Letters may join horizontally, vertically, or diagonally. +However, no position in the grid may be used more than once within any +one word. +In competitive play amongst humans, each player is given +credit for those of his words which no other player has found. +.PP +Enter your words separated by spaces, tabs, +or newlines. +A bell will ring when there is 2:00, 1:00, 0:10, 0:02, +0:01, and 0:00 time left. +You may complete any word started before the +expiration of time. +You can surrender before time is up by hitting +interrupt. +While entering words, your erase character is only effective +within the current word and your line kill character is ignored. +.PP +Option +.B + +removes the restriction that positions +can only be used once in each word. +Option +.B ++ +causes a position to +be considered adjacent to itself as well as to its (at most) 8 neighbors. +.PP +.I Scrabble +plays the Selchow and Righter game on a cursor-addressed +terminal against a single opponent. +To place a letter first move the cursor by typing 2, 4, 6, 8 for down, left, right, +up respectively (1, 3, 7, 9 are diagonals) then type the letter in place. +Type +.L ? +to cycle through a set of helpful tables. +.PP +.I Hangman +chooses a word at least seven letters +long from a dictionary. +You then guess letters one at a time. +.PP +The optional argument +.I arg +names an alternate dictionary. +The special name +.L \-a +gets a particular very large +dictionary. +.SH FILES +.TP +.F /usr/dict/words +.TP +.F /usr/dict/web2 +alternate dictionary for hangman +.SH BUGS +.I Hangman +runs hyphenated compounds together. +.br +.I Scrabble +rubs in its +brilliance with merciless play and an inhumane interface. diff --git a/static/v10/man6/bridge.6 b/static/v10/man6/bridge.6 new file mode 100644 index 00000000..8c66d0b9 --- /dev/null +++ b/static/v10/man6/bridge.6 @@ -0,0 +1,96 @@ +.TH BRIDGE 6 alice +.CT 1 games +.SH NAME +bridge \- card game +.SH SYNOPSIS +.B /usr/games/bridge +[ +.I arg ... +] +.SH DESCRIPTION +.I Bridge +manages bridge games among four players. +A master process mediates the +flow of information between player processes. +Each player process is either a `robot' player or a +cursor-controlled screen +interface with a human player. +.PP +If several humans wish to play each invokes +.I bridge +and a rendezvous protocol hooks them together +in a common game. +Once the game is set up +.I bridge +displays a diagram +similar to those in newspaper +bridge columns. +.PP +Bids are coded +.B p +for pass, +.B d +for double, +.B 3n +for three notrump, +and so on. +Plays are coded +.B c3 +for the club three, +.B ht +for the heart ten, and so on. +A menu of common commands appears at the +bottom of the screen; further help may be obtained by typing +.BR + . +.PP +Arguments take several forms: +.de X1 +.TP +.B \\$1 +.PD 0 +.TP +.B \\$2 +.. +.de X2 +.TP +.BI \\$1 " \\$2" +.PD 0 +.TP +.BI \\$3 \\$4 +.. +.X2 \-h "nhumans" humans= nhumans +Join (or set up and join) a game with indicated number of human players. +.X2 \-s "seed" seed= seed +Initialize the random number generator. Useful for duplicate play. +.X2 \-f "file" deck= file +Take the initial shuffled card deck from named file. +.X2 \-r "file" script= file +Make a record of the game in the named file. +.X2 \-d "dealership" dlr= dealership +Specify dealership with a one-letter direction code. +.X2 \-v "vulnerability" vuln= vulnerability +Specify vulnerability with one of these codes: +.B none +.B both +.BR n - s +.BR e - w . +.X1 -t tough +Do not display bidding history on player's screen. +.PD +.SH FILES +.TF /tmp/brdg.* +rendezvous files +.TP +.F /etc/termcap +.TP +.F DEBUG +recipient of debugging messages +.SH "SEE ALSO" +J. A. Reeds and L. A. Shepp, +.I Bridge: An exciting new card game, +TM 11217-840119-02, +TM 11218-840119-01. +.SH BUGS +Occasionally the whole program goes dead. +.br +The robots' bridge technique has subtle bugs. diff --git a/static/v10/man6/cal.6 b/static/v10/man6/cal.6 new file mode 100644 index 00000000..fce9eb75 --- /dev/null +++ b/static/v10/man6/cal.6 @@ -0,0 +1,35 @@ +.pa 1 +.he '3/15/72''CAL (VI)' +.ti 0 +NAME cal -- print calendar +.sp +.ti 0 +SYNOPSIS /usr/ken/cal year +.sp +.ti 0 +DESCRIPTION Cal +will print a calendar for the given year. +The year can be between 0 (really 1 BC) +and 9999. +For years when +several calendars were in vogue in +different countries, +the calendar of England (and therefore her colonies) +is printed. +.sp +P.S. try cal of 1752. +.sp +.ti 0 +FILES -- +.sp +.ti 0 +SEE ALSO -- +.sp +.ti 0 +DIAGNOSTICS -- +.sp +.ti 0 +BUGS -- +.sp +.ti 0 +OWNER ken diff --git a/static/v10/man6/cards.6 b/static/v10/man6/cards.6 new file mode 100644 index 00000000..4761650f --- /dev/null +++ b/static/v10/man6/cards.6 @@ -0,0 +1,43 @@ +.TH CARDS 6 +.CT 1 games +.SH NAME +canfield, fish \- card games +.SH SYNOPSIS +.B /usr/games/fish +.PP +.B /usr/games/canfield +.SH DESCRIPTION +.PP +The object of the children's card game +.I fish +is to accumulate `books' of 4 cards of equal rank. +At each turn one player +selects a card from his hand, and asks the other player for +all cards of that rank. +If the other player has some, he hands them all over +and the first player makes another request. +The turn ends when +the second player has no card of the rank requested; +he replies, `Go fish!' +The first +player then draws a card from the `pool' of undealt cards. +If this is the card he had last requested, he draws again. +.PP +The ranks are called +.LR a , +.LR 2 , +\&..., +.LR 10 , +.LR j , +.LR q , +.LR k . +Hitting +return requests information about the state of the game. +Typing +.L p +as a first +guess gets `pro' level play. +.PP +.I Canfield +is a solitaire game. +It requires a cursor-addressed terminal. diff --git a/static/v10/man6/chess.6 b/static/v10/man6/chess.6 new file mode 100644 index 00000000..f177f2b2 --- /dev/null +++ b/static/v10/man6/chess.6 @@ -0,0 +1,31 @@ +.th CHESS VI 11/1/73 +.sh NAME +chess \*- the game of chess +.sh SYNOPSIS +.bd /usr/games/chess +.sh DESCRIPTION +.it Chess +is a computer program that plays class D chess. +Moves may be given either in standard (descriptive) notation +or in algebraic notation. +The symbol `+' is used to specify check +and is not required; +`o-o' and `o-o-o' specify castling. +To play black, type `first'; +to print the board, type an empty line. +.s3 +Each move is echoed in the appropriate notation followed by +the program's reply and +the elapsed time in seconds. +.sh FILES +/usr/lib/book opening `book' +.sh DIAGNOSTICS +The most cryptic diagnostic is `eh?' which +means that the input was syntactically incorrect. +.sh WARNING +Over-use of this program has been known +to cause it to go away. +.sh AUTHOR +K. Thompson +.sh BUGS +Pawns may be promoted only to queens. diff --git a/static/v10/man6/ching.6 b/static/v10/man6/ching.6 new file mode 100644 index 00000000..4a80737e --- /dev/null +++ b/static/v10/man6/ching.6 @@ -0,0 +1,127 @@ +.TH CHING 6 sola +.CT 1 games +.SH NAME +ching \- the book of changes +.SH SYNOPSIS +.B /usr/games/ching +[ +.I hexagram +] +.SH DESCRIPTION +The +.I "I Ching" +or +.I "Book of Changes" +is an ancient Chinese oracle +that has been in use for +centuries +as a source of wisdom +and advice. +.PP +The text of the +.I oracle +(as it is sometimes known) +consists of sixty-four +.I hexagrams, +each symbolized +by a particular +arrangement of +six straight +.B --- +and broken +.B -\ - +lines. +These lines +have values ranging +from six through nine, +with the even +values indicating +the broken lines. +.PP +Each hexagram +consists of two major sections. +The `Judgement' relates specifically +to the matter at hand +(E.g., +`It furthers one to have somewhere to go.') +while the +`Image' describes the general attributes +of the hexagram and how they apply +to one's own life +(`Thus the superior man +makes himself strong and untiring.'). +.PP +When any of the lines +have the values six or nine, +they are moving lines; +for each there is an appended +judgement which +becomes significant. +Furthermore, the moving lines +are inherently unstable and +change into their opposites; +a second hexagram +(and thus an additional judgement) +is formed. +.PP +Normally, one consults the oracle +by fixing the desired question +firmly in mind +and then casting a set of changes +(lines) using yarrow-stalks +or tossed coins. +The resulting hexagram will be the answer +to the question. +.PP +Using an algorithm +suggested by S. C. Johnson, +the Unix +oracle simply reads a question +from the standard input +(up to an EOF) +and hashes the individual characters +in combination with other indicia +which happen to be lying +around the system. +The resulting value +is used as the seed +of a random number generator +which drives a simulated +coin-toss divination. +The answer appears on the +standard output. +.PP +For those who wish +to remain steadfast +in the old traditions, +the oracle will also accept +the results of a personal +divination using, +for example, coins. +To do this, +cast the change +and then type the +resulting line values +as an argument. +.PP +The impatient modern may prefer to settle for +Chinese cookies; try +.IR fortune (1). +.SH "SEE ALSO" +It furthers one to see the great man. +.SH DIAGNOSTICS +The great prince issues commands, +.br +Founds states, vests families with fiefs. +.br +Inferior people should not be employed. +.SH BUGS +Waiting in the mud +.br +Brings about the arrival of the enemy. +.PP +If one is not extremely careful, +.br +Somebody may come up from behind and strike him. +.br +Misfortune. diff --git a/static/v10/man6/cubic.6 b/static/v10/man6/cubic.6 new file mode 100644 index 00000000..db861961 --- /dev/null +++ b/static/v10/man6/cubic.6 @@ -0,0 +1,17 @@ +.th CUBIC VI 11/1/73 +.sh NAME +cubic \*- three dimensional tic-tac-toe +.sh SYNOPSIS +.bd /usr/games/cubic +.sh DESCRIPTION +.it Cubic +plays the game of +three dimensional +4\*X4\*X4 tic-tac-toe. +Moves are given by the three digits +(each 1-4) +specifying the coordinate of the square +to be played. +.sh WARNING +Too much playing of the game will cause it to disappear. +.sh BUGS diff --git a/static/v10/man6/das.6 b/static/v10/man6/das.6 new file mode 100644 index 00000000..a9a293f1 --- /dev/null +++ b/static/v10/man6/das.6 @@ -0,0 +1,27 @@ +.pa 1 +.he '3/15/72''DAS (VI)' +.ti 0 +NAME das -- disassembler +.sp +.ti 0 +SYNOPSIS -- +.sp +.ti 0 +DESCRIPTION A PDP-11 +disassembler exists. +Contact the owner for more information. +.sp +.ti 0 +FILES -- +.sp +.ti 0 +SEE ALSO -- +.sp +.ti 0 +DIAGNOSTICS -- +.sp +.ti 0 +BUGS -- +.sp +.ti 0 +OWNER ken diff --git a/static/v10/man6/doctor.6 b/static/v10/man6/doctor.6 new file mode 100644 index 00000000..0c7ad17b --- /dev/null +++ b/static/v10/man6/doctor.6 @@ -0,0 +1,16 @@ +.TH DOCTOR 6 +.CT 1 games +.SH NAME +doctor, tso \- psychiatric consultation +.SH SYNOPSIS +.B /usr/games/doctor +.PP +.B /usr/games/tso +.SH DESCRIPTION +.I Doctor +will understandingly explore most anything with you. +Just type your thoughts followed by double carriage +returns. +.PP +.I Tso, +on the other hand, has a will of its own. diff --git a/static/v10/man6/dpt.6 b/static/v10/man6/dpt.6 new file mode 100644 index 00000000..9b1f3a43 --- /dev/null +++ b/static/v10/man6/dpt.6 @@ -0,0 +1,31 @@ +.pa 1 +.he '3/15/72''DPT (VI)' +.ti 0 +NAME dpt -- read DEC ASCII paper tape +.sp +.ti 0 +SYNOPSIS dpt output [input] +.sp +.ti 0 +DESCRIPTION dpt___ +reads the input file (/dev/ppt default) +assuming the format is a DEC generated +ASCII paper tape of an assembly language program. +The output is a UNIX ASCII assembly program. +.sp +.ti 0 +FILES /dev/ppt +.sp +.ti 0 +SEE ALSO -- +.sp +.ti 0 +DIAGNOSTICS -- +.sp +.ti 0 +BUGS Almost +always a hand pass is required to get +a correct output. +.sp +.ti 0 +OWNER ken, dmr diff --git a/static/v10/man6/eqnchar.6 b/static/v10/man6/eqnchar.6 new file mode 100644 index 00000000..83aa7508 --- /dev/null +++ b/static/v10/man6/eqnchar.6 @@ -0,0 +1,182 @@ +.EQ +delim $$ +.EN +.EQ +tdefine ciplus % "\(O+" % +ndefine ciplus % O+ % +tdefine citimes % "\(Ox" % +ndefine citimes % Ox % +tdefine =wig % "\fS\v'-.2m'\z\(ap\v'.3m'=\v'-.1m'\fP" % +ndefine =wig % ="~" % +tdefine bigstar % "\s+2\fS\(**\fP\s-2" % +ndefine bigstar % X|- % +tdefine =dot % "\z\(eq\v'-.6m'\h'.2m'\s+2.\s-2\v'.6m'\h'.1m'" % +ndefine =dot % = dot % +tdefine orsign % "\fS\(or\fP" % +ndefine orsign % \e/ % +tdefine andsign % "\fS^\fP" % +ndefine andsign % /\e % +tdefine =del % "\fS\v'-.4m'\s-2\z\(*D\s+2\h'-.05m'\v'.5m'=\v'-.1m'\fP" % +ndefine =del % = to DELTA % +tdefine oppA % "\(fa" % +ndefine oppA % V- % +tdefine oppE %"\(te" % +ndefine oppE % E/ % +tdefine incl % "\s-5\h'-.1m'\v'-.1m'\z|\s+2\h'.2m'\v'-.35m'\z\(em\v'.7m'\z\(em\v'.2m'\(em\v'-.45m'\s+3" % +ndefine incl % C_ % +tdefine nomem % "\fS\h'.2m'\v'.05m'\z\(sl\v'-.05m'\h'-.2m'\(mo\fP" % +ndefine nomem % C-/ % +tdefine angstrom % "\fR\zA\v'-.3m'\h'.2m'\(de\v'.3m'\fP\h'.2m'" % +ndefine angstrom % A to o % +tdefine star % "\(**" % +ndefine star % * % +tdefine <wig % "\z<\v'.4m'\(ap\v'-.4m'" % +ndefine <wig %{ < from "~" }% +tdefine >wig % "\z>\v'.4m'\(ap\v'-.4m'" % +ndefine >wig %{ > from "~" }% +tdefine langle % "\fS\N'225'\fP" % +ndefine langle %<% +tdefine rangle % "\fS\N'241'\fP" % +ndefine rangle %>% +tdefine hbar % "\v'.2m'\s+3\N'194'\s-3\v'-.2m'\h'-.3m'h" % +ndefine hbar % h\u-\d % +ndefine ppd % _| % +tdefine ppd % "\fS\N'94'\fP" % +tdefine <-> % "\fS\N'171'\fP" % +ndefine <-> % "<-->" % +tdefine <=> % "\fS\N'219'\fP" % +ndefine <=> % "<=>" % +tdefine |< % "\o'<|'" % +ndefine |< % <| % +tdefine |> % "\o'>|'" % +ndefine |> % |> % +tdefine ang % "\fS\N'208'\fP" % +ndefine ang % /_ % +tdefine rang % "\s-3\fS\h'-.2m'\v'-.1m'\z|\s+3\h'.2m'\v'.1m'\(ru\fP" % +ndefine rang % L % +tdefine 3dot % "\v'-.8m'\z.\v'.5m'\z.\v'.5m'.\v'-.2m'" % +ndefine 3dot % .\u.\u.\d\d % +tdefine thf % "\fS\N'92'\fP" % +ndefine thf % ..\u.\d % +tdefine quarter % "\f1\s-3\u1\d\s+2\(sl\s-2\&4\s+3\fP" % +ndefine quarter % 1/4 % +tdefine 3quarter % "\f1\s-3\u3\d\s+2\(sl\s-2\&4\s+3\fP" % +ndefine 3quarter % 3/4 % +tdefine degree % \(de % +ndefine degree % nothing sup o % +tdefine square % \(sq % +ndefine square % [] % +tdefine circle % \(ci % +ndefine circle % O % +tdefine blot % "\(bx" % +ndefine blot % HIX % +tdefine bullet % \(bu % +ndefine bullet % oxe % +tdefine -wig % "\(~=" % +ndefine -wig % - to "~" % +tdefine wig % \(ap % +ndefine wig % "~" % +tdefine prop % \(pt % +ndefine prop % oc % +tdefine empty % \(es % +ndefine empty % O/ % +tdefine member % \(mo % +ndefine member % C- % +tdefine scrL % "\f(ZD\(Sl\fP" % +ndefine scrL % (/ % +define cap % \(ca % +tdefine cup % \(cu % +ndefine cup % U % +define subset % \(sb % +define supset % \(sp % +define !subset % \(ib % +define !supset % \(ip % +define not % \(no % +.EN +.TH EQNCHAR 6 +.CT 1 writing_troff +.SH NAME +eqnchar \- special character definitions for eqn +.SH SYNOPSIS +.B eqn /usr/pub/eqnchar +[ +.I file ... +] +.B | troff +[ +.I option ... +] +.PP +.B neqn /usr/pub/eqnchar +[ +.I file ... +] +.B | nroff +[ +.I option ... +] +.SH DESCRIPTION +.I Eqnchar +contains +.I nroff +and +.IR troff (1) +character definitions for constructing characters that are not +available on standard fonts. +These definitions are primarily intended for use with +.I neqn +and +.IR eqn (1). +It contains +definitions for the following characters. +.if t .ig +WARNING to users of the on-line manual. +Unless your terminal has half-spacing, these examples +will be almost unreadable. +To get a well printed copy, execute +.BR "man -t eqnchar | lp" . +.PP +.nf +.ft5 +.ta \w'angstrom 'u \n(.lu/3u +\w'angstrom 'u \n(.lu*2u/3u +\w'angstrom 'u +.ftR +\f5ciplus\fP $ciplus$ \f5||\fP $||$ \f5square\fP $square$ +\f5citimes\fP $citimes$ \f5langle\fP $langle$ \f5circle\fP $circle$ +\f5wig\fP $wig$ \f5rangle\fP $rangle$ \f5blot\fP $blot$ +\f5-wig\fP $-wig$ \f5hbar\fP $hbar$ \f5bullet\fP $bullet$ +\f5>wig\fP $>wig$ \f5ppd\fP $ppd$ \f5prop\fP $prop$ +\f5<wig\fP $<wig$ \f5<->\fP $<->$ \f5empty\fP $empty$ +\f5=wig\fP $=wig$ \f5<=>\fP $<=>$ \f5member\fP $member$ +\f5star\fP $star$ \f5|<\fP $|<$ \f5nomem\fP $nomem$ +\f5bigstar\fP $bigstar$ \f5|>\fP $|>$ \f5cup\fP $cup$ +\f5=dot\fP $=dot$ \f5ang\fP $ang$ \f5cap\fP $cap$ +\f5orsign\fP $orsign$ \f5rang\fP $rang$ \f5incl\fP $incl$ +\f5andsign\fP $andsign$ \f53dot\fP $3dot$ \f5subset\fP $subset$ +\f5=del\fP $=del$ \f5thf\fP $thf$ \f5supset\fP $supset$ +\f5oppA\fP $oppA$ \f5quarter\fP $quarter$ \f5!subset\fP $!subset$ +\f5oppE\fP $oppE$ \f53quarter\fP $3quarter$ \f5!supset\fP $!supset$ +\f5angstrom\fP $angstrom$ \f5degree\fP $degree$ +.fi +.PP +Different +.I eqnchar +definitions may be needed for different output devices. +Alternative files, which are named according to the +.BI -T dest +option of +.I troff, +are listed below. +.SH FILES +.nf +.F /usr/pub/eqnchar +.F /usr/pub/202eqnchar +.F /usr/pub/apseqnchar +.F /usr/pub/i300eqnchar +.F /usr/pub/posteqnchar +.fi +.SH SEE ALSO +.IR troff (1), +.IR eqn (1) +.EQ +delim off +.EN diff --git a/static/v10/man6/factor.6 b/static/v10/man6/factor.6 new file mode 100644 index 00000000..84453a66 --- /dev/null +++ b/static/v10/man6/factor.6 @@ -0,0 +1,30 @@ +.th FACTOR VI 1/15/73 +.sh NAME +factor \*- discover prime factors of a number +.sh SYNOPSIS +.bd factor +.sh DESCRIPTION +When +.it factor +is invoked, it types +out `Enter:' at you. If you type in a positive +number less than 2\u\s756\s0\d (about +.if n 7.2e16) +.if t 7.2\(mu10\u\s716\s0\d\|) +it will repeat the number +back at you and then its prime factors each one printed +the proper number of times. Then it says `Enter:' again. +To exit, feed it an EOT or a delete. +.s3 +Maximum time to factor is proportional to +.if n sqrt(n) +.if t \(sr\o'\fIn\fR\(rn' +and occurs when +.it n +is prime. +It takes 1 minute to factor a prime +near +10\u\s713\s0\d. +.sh DIAGNOSTICS +`Ouch.' for input out of range or for garbage input. +.sh BUGS diff --git a/static/v10/man6/festoon.6 b/static/v10/man6/festoon.6 new file mode 100644 index 00000000..38455c14 --- /dev/null +++ b/static/v10/man6/festoon.6 @@ -0,0 +1,17 @@ +.TH FESTOON 6 +.CT 1 games +.SH NAME +festoon \- memo writer +.SH SYNOPSIS +.B festoon +length percent +.SH DESCRIPTION +.I Festoon +prepares a memorandum on any undesired topic, containing +.I length +sentences and a specified +.I percent +of new nouns. +A total effect might radically monoarchate this qualitativeness. +.SH SEE ALSO +.IR wwb (1) diff --git a/static/v10/man6/font.6 b/static/v10/man6/font.6 new file mode 100644 index 00000000..0610c727 --- /dev/null +++ b/static/v10/man6/font.6 @@ -0,0 +1,114 @@ +.TH FONT 6 +.CT 1 writing_troff writing_output +.SH NAME +font \- typesetter fonts +.SH DESCRIPTION +Listed below are some of the more common (or more cryptically +named) typesetter fonts. +.PP +In the directories +.F /usr/lib/font +and +.F /usr/jerq/font +are kept tables for fonts available on some or all of +the Autologic APS-5 phototypesetter, the Mergenthaler Linotron 202 +phototypesetter, the Canon laser printer, +and the Teletype 5620 terminal running under +.IR mux (9.1). +Those directories may be consulted for the +current list of offerings. +.PP +Most fonts come in families, e.g. +.LR Souvenir , +.L SouvenirI +(italic), +.L SouvenirB +(bold), +.L SouvenirBI +(bold italic), +.L SouvenirBK +(demi-bold, `black') +.L SouvenirKI +(demi-bold italic). +For the 5620 and the Canon there is a +separate font table for each point size, e.g. +.LR CW.11 . +.PP +In +.I troff +fonts must be `mounted' in a `font position'. +The default set is +.L +R I B BI H HB HK CW CH S +for the 202 and the Canon +and +.L +R I B H CW S S1 GR +for the APS-5. +Other fonts may be mounted with the +.L .fp +request. +Fonts with long names must be given aliases; see +the +.IR troff +manual. +.LP +.2C +.de fq +\f5\\$1\\fR \\$2 \\$3 \\$4 \\$5 \\$6 +.. +.fq B Times bold +.fq BI Times bold italic +.fq CH Chess +.fq CS Constant Width Slanted +.fq CT Courier Typewriter (APS-5) +.fq CW Constant width (ASCII typewriter) +.fq CX News Gothic condensed italic (APS-5) +.fq GB Greek bold (APS-5) +.fq GR Greek +.fq GS German Script (APS-5) +.fq H Helvetica +.fq HB Helvetica bold +.fq HI Helvetica italic +.fq HK Helvetica black +.fq HX Helvetica bold italic +.fq I Times italic +.fq M1 Universal [sic] Math 1 +.fq M2 Universal Math 2 +.fq M3 Universal Math 3 +.fq OE Old English +.fq OK Helvetica outline black +.fq PA Palatino +.fq PB Palatino bold +.fq PI Palatino italic +.fq PO Printout (ASCII constant width) +.fq PX Palatino bold italic +.fq R Times Roman +.fq S Special (math symbols) +.fq S1 Special (APS-5) +.fq SC Script (APS-5) +.fq SM Stymie medium (APS-5) +.fq TB Techno bold (APS-5) +.fq TX Techno bold italic (APS-5) +.fq US USA state maps (202) +.fq X1 Universal Newspaper Pi (202) +.LP +.fq defont Default \fImux\fR font +.1C +.SH FILES +.TF /usr/lib/font/dev202/DESC.out +.TP +.F /usr/lib/font +.TP +.F /usr/lib/font/dev202/DESC.out +description of 202 typesetter +.TP +.F /usr/lib/font/dev202/R.out +tables for font +.L R +.br +.F /usr/jerq/font +.SH SEE ALSO +.IR troff (1), +.IR jf (9.1), +.IR font (9.5) diff --git a/static/v10/man6/fortune.6 b/static/v10/man6/fortune.6 new file mode 100644 index 00000000..62caa49c --- /dev/null +++ b/static/v10/man6/fortune.6 @@ -0,0 +1,16 @@ +.TH SAY 6 +.CT 1 games +.SH NAME +say \- proverbs +.SH SYNOPSIS +.B /usr/games/say +[ +.I N +] +.SH DESCRIPTION +.I Say +constructs +.I N +proverbs out of old parts. +.IR N =1 +by default. diff --git a/static/v10/man6/hangman.6 b/static/v10/man6/hangman.6 new file mode 100644 index 00000000..1c5663e6 --- /dev/null +++ b/static/v10/man6/hangman.6 @@ -0,0 +1,56 @@ +.TH HANGMAN 6 bowell +.CT 1 games +.SH NAME +hangman, ana, word_clout \- word games +.SH SYNOPSIS +.B /usr/games/hangman +[ +.I arg +] +.PP +.B /usr/games/ana +[ +.I n +] +.PP +.B /usr/games/word_clout +.SH DESCRIPTION +.I Hangman +chooses a word at least seven letters +long from a dictionary. +You then guess letters one at a time. +.PP +The optional argument +.I arg +names an alternate dictionary. +The special name +.L \-a +gets a very large +dictionary. +.PP +.I Ana +reads words, one per line, from standard input and prints +anagrams on standard output. +The number +.I n, +which also may be given in standard input, limits the +number of words in the anagrams. +.PP +.I Word_clout +traces connections in a thesaurus to find +just words. +Need to express unpleasant feelings so they seem auspicious? +.I Word_clout +suggests calling them `warm'. +The program will give instructions in its uses, which +include service as a thesaurus. +.SH FILES +.TP +.F /usr/dict/words +.TP +.F /usr/dict/web2 +alternate dictionary for hangman +.F /usr/lib/spell/amspell +.SH BUGS +.I Hangman +runs hyphenated compounds together. diff --git a/static/v10/man6/hyphen.6 b/static/v10/man6/hyphen.6 new file mode 100644 index 00000000..6912a797 --- /dev/null +++ b/static/v10/man6/hyphen.6 @@ -0,0 +1,19 @@ +.th HYPHEN VI 1/15/73 +.sh NAME +hyphen \*- find hyphenated words +.sh SYNOPSIS +.bd hyphen +file ... +.sh DESCRIPTION +It finds all of the words in a +document which are hyphenated across lines +and prints them back at you in a convenient format. +.s3 +If no arguments are given, the standard input +is used. +Thus +.it hyphen +may be used as a filter. +.sh BUGS +Yes, it gets confused, but with no ill effects other than +spurious extra output. diff --git a/static/v10/man6/imp.6 b/static/v10/man6/imp.6 new file mode 100644 index 00000000..3a75bc0a --- /dev/null +++ b/static/v10/man6/imp.6 @@ -0,0 +1,36 @@ +.TH IMP 6 +.CT 1 mail +.SH NAME +imp \- interactive mail program +.SH SYNOPSIS +.B /usr/games/imp +.SH DESCRIPTION +.I Imp +attempts to avoid the complexity of using modern mail programs by +asking for control information interactively rather than by +expecting the user to supply it on the command line or by +using defaults that are sometimes not exactly what the user has +in mind. +Thus, +.I imp +prompts for the userid of the mail target, the target's home +machine, the userid and home machine of the sender, and the postmark. +The message can be entered from the standard input as in +.IR mail (1) +or taken from a file. +.PP +A particularly useful application of +.I imp +is to cause mail that you send from some borrowed account +to appear as if it came from you on your home machine, thereby +reducing the possibility of confusing the recipient. +.SH FILES +.F /dev/tty +.SH "SEE ALSO" +.IR mail (1), +.IR upas (8) +.SH BUGS +Probably. +Try sending mail to yourself before using +.I imp +to send mail to others. diff --git a/static/v10/man6/ipa.6 b/static/v10/man6/ipa.6 new file mode 100644 index 00000000..6a30de2a --- /dev/null +++ b/static/v10/man6/ipa.6 @@ -0,0 +1,72 @@ +.fp 7 P1 IPA1 +.fp 8 P2 IPA2 +.TH IPA 6 +.CT 1 writing_troff +.SH NAME +ipa \- international phonetic alphabet font and preprocessor +.SH SYNOPSIS +.B ipa +[ +.I file ... +] +.SH DESCRIPTION +.I Ipa +copies the named +.I files +to the standard output, translating text delimited in +either two ways into +.I troff +character codes for IPA graphics: +.IP +.BR @ipa( ... ) +.br +.BR @ipa{ ... } +.PP +To generate IPA characters in a table, +.I ipa +should come before +.IR tbl (1) +in a pipeline of processes. +.PP +The following table shows the correspondence between ASCII +characters and IPA graphics. +Only phonemes that occur in American English are handled. +The reference tells how to access other IPA graphics that +exist in the font. +.if n .ig +.TS +cfL c | cfL c | cfL c | cfL c | cfL c. +a @ipa{a} b @ipa{b} c @ipa{c} d @ipa{d} e @ipa{e} +f @ipa{f} g @ipa{g} h @ipa{h} i @ipa{i} j @ipa{j} +k @ipa{k} l @ipa{l} m @ipa{m} n @ipa{n} o @ipa{o} +p @ipa{p} q @ipa{q} r @ipa{r} s @ipa{s} t @ipa{t} +u @ipa{u} v @ipa{v} w @ipa{w} x @ipa{x} y @ipa{y} +z @ipa{z} A @ipa{A} B @ipa{B} C @ipa{C} D @ipa{D} +E @ipa{E} F @ipa{F} G @ipa{G} H @ipa{H} I @ipa{I} +J @ipa{J} K @ipa{K} L @ipa{L} M @ipa{M} N @ipa{N} +O @ipa{O} P @ipa{P} Q @ipa{Q} R @ipa{R} S @ipa{S} +T @ipa{T} U @ipa{U} V @ipa{V} W @ipa{W} X @ipa{X} +Y @ipa{Y} Z @ipa{Z} ! @ipa{!} @ @ipa{@} # @ipa{#} +$ @ipa{$} % @ipa{%} ^ @ipa{^} & @ipa{&} * @ipa{*} +\&_ @ipa{_} - @ipa{-} + @ipa{+} \&= @ipa{=} , @ipa{,} +< @ipa{<} . @ipa{.} > @ipa{>} : @ipa{:} ; @ipa{;} +" @ipa{"} ' @ipa{'} | @ipa{|} ~ @ipa{~} ` @ipa{`} +? @ipa{?} +.TE +.. +.if t .ig +.IP +TABLE NOT PRINTABLE IN NROFF +.. +.SH SEE ALSO +M. Y. Liberman, +.I An IPA Preprocessor for Troff, +11225-860915-15TMS +.br +.IR troff (1) +.SH BUGS +.I Ipa +mounts the IPA fonts in +.I troff +font positions 5 and 6, which may conflict with other +font assignments. diff --git a/static/v10/man6/latex.6 b/static/v10/man6/latex.6 new file mode 100644 index 00000000..fd3f6f7c --- /dev/null +++ b/static/v10/man6/latex.6 @@ -0,0 +1,100 @@ +.TH LATEX 6 +.CT 1 writing_other +.SH NAME +latex, slitex, bibtex \- tex macro package and bibliographies +.SH SYNOPSIS +.B latex +.IR file [.tex] +.PP +.B slitex +.IR file [.tex] +.PP +.PP +.B bibtex +.I auxname +.SH DESCRIPTION +.I Latex +is a standard set of macros for +.IR tex (1) +inspired by, but not identical to, Scribe. +The command +.I "latex file" +processes +.IB file .tex +and produces +.IB file .dvi, +which should be printed with +.IR lp (1). +It will probably be necessary to run +.I latex +twice, to get all of the cross-referencing done properly. +.I Latex +writes cross-referencing information in +.IB file .aux. +.I Slitex +is version of +.I latex +for making slides. +.PP +.I Bibtex +reads the top-level auxiliary +.RB ( .aux ) +file output by +.I latex +and creates a bibliography +.RB ( .bbl ) +file to be included in the +source file. +The +.I auxname +on the command line should be given without an extension. +Each +.B \ecite +in the source file is looked up in bibliography files to gather +together those used in the document. +Then a bibliography style file is executed to write a +.B \ethebibliography +environment. +.PP +The source file should have defined the bibliography +.RB ( .bib ) +files to search with the +.B \ebibliography +command, and the bibliography style +.RB ( .bst ) +file to execute with the +.B \ebibliographystyle +command. +.I Bibtex +searches the +.B TEXINPUTS +path (see +.IR tex (1)) +for +.BR .bst +files, and the +.B BIBINPUTS +path for +.B .bst +files. +The manual describes how to make bibliography files. +.PP +See files in +.L /usr/lib/tex/macros/doc +for more documentation. +In particular, +.L local.tex +is the +.I "Local Guide" +referred to in the manual. +.SH "SEE ALSO" +Leslie Lamport, +.I LATEX: A Document Preparation System, +Addison Wesley, 1986 +.br +Howard Trickey, +.I Latex User Guide, +this manual, Volume 2, +.br +.IR tex (1), +.IR lp (1) diff --git a/static/v10/man6/m6.6 b/static/v10/man6/m6.6 new file mode 100644 index 00000000..16b0ddb6 --- /dev/null +++ b/static/v10/man6/m6.6 @@ -0,0 +1,110 @@ +.th M6 VI 11/15/72 +.sh NAME +m6 \*- general purpose macro processor +.sh SYNOPSIS +.bd m6 +[ +.bd \*-d +arg1 ] [ arg2 [ arg3 ] ] +.sh DESCRIPTION +.it M6 +takes input from file arg2 (or standard input if arg2 is missing) +and places output on file arg3 (or standard output). +A working file of definitions, ``m.def'', +is initialized from file arg1 if that is supplied. +.it M6 +differs from the standard [1] in these +respects: +.s3 +#trace:, #source: and #end: +are not defined. +.s3 +#meta,arg1,arg2: transfers the role of metacharacter +arg1 to character arg2. If two metacharacters become identical +thereby, the outcome of further processing is not guaranteed. +For example, to make [ ]{} play the +roles of #:<> type +.s3 +.in+5 +\\\#meta,<\\\#>,[: +.br +[meta,<:>,]: +.br +[meta,[substr,<<>>,1,1;,{] +.br +[meta,[substr,{{>>,2,1;,}] +.in-5 +.s3 +#del,arg1: deletes the definition of macro arg1. +.s3 +#save: and #rest: save and restore the definition table together with +the current metacharacters on file +m.def. +.s3 +#def,arg1,arg2,arg3: works as in the standard with the extension +that an integer may be +supplied to arg3 to cause the new macro to perform the +action of a specified builtin before its replacement text is evaluated. +Thus all builtins +except #def: can be retrieved even after deletion. +Codes for arg3 are: +.s3 +.in+5 +.nf +0 \*- no function +1,2,3,4,5,6 \*- gt,eq,ge,lt,ne,le +7,8 \*- seq,sne +9,10,11,12,13 \*- add,sub,mpy,div,exp +20 \*- if +21,22 \*- def,copy +23 \*- meta +24 \*- size +25 \*- substr +26,27 \*- go,gobk +28 \*- del +29 \*- dnl +30,31 \*- save,rest +.fi +.in-5 +.sh FILES +m.def working file of definitions +.br +/usr/lang/mdir/m6a m6 processor proper (/usr/bin/m6 is only an initializer) +.br +/usr/lang/mdir/m6b default initialization for m.def +.br +/bin/cp used for copying initial value of m.def +.sh "SEE ALSO" +[1] A. D. Hall, +The M6 Macroprocessor, Bell Telephone Laboratories, 1969 +.sh DIAGNOSTICS +``err'' +\*- a bug, an unknown builtin or a bad definition table +.br +``oprd''\*-can't open input or initial definitions +.br +``opwr''\*-can't open output +.br +``ova'' \*- overflow of nested arguments +.br +``ovc'' \*- overflow of calls +.br +``ovd'' \*- overflow of definitions +.br +``Try again'' \*- no process available for copying m.def +.sh AUTHOR +M. D. McIlroy +.sh BUGS +Characters in internal tables are stored +one per word. +They really should be packed to improve capacity. +For want of space (and because of unpacked formats) no file arguments +have been provided to #save: or #rest:, +and no check is made on the actual opening of file m.def. +Again to save space, +garbage collection makes calls on #save: and #rest: and so overwrites +m.def. +.s3 +Since the program is written in the defunct language +B it is currently unavailable. +Expressions of interest may make a C version appear. diff --git a/static/v10/man6/mail.6 b/static/v10/man6/mail.6 new file mode 100644 index 00000000..00603f7c --- /dev/null +++ b/static/v10/man6/mail.6 @@ -0,0 +1,126 @@ +.TH MAIL 6 +.CT 1 comm_users +.SH NAME +mail \- mail addresses +.SH DESCRIPTION +.IR Mail (1) +uses the programs of +.IR upas (8) +to interpret mail addresses. +.SS Network addresses +A general network mail address has the form +.IB machine ! ... ! name, +with one or more machines mentioned. +A machine in the middle of the list gets the mail marked +`from' the preceding part of list and forwards it to the next +to handle the rest of the list. +.PP +Rules for converting addresses among the +conventions of different networks are given by rewrite rules; see +.IR upas (8). +A rough description of the rewrite rules for +the local research network follows. +.PP +A simple name, containing no punctuation, +is translated according to `Local addresses' below +to produce more addresses, which get rewritten in turn. +.PP +The conventional network address +.BI local! name +is delivered to the mailbox +.B /usr/spool/mail/ name +if it exists or if +.I name +is registered as a login name in the password file +.IR passwd (5). +Otherwise the mail is undeliverable. +.PP +Mail to another machine is forwarded. +.PP +Addresses in other forms are rewritten recursively. +.SS Local addresses +`Alias files' specify local name translation. +Each line of an alias file begins with +.B # +(comment) or with a name. +The rest of a name line gives the translation. +The translation may contain multiple addresses and may be continued +to another line by appending a backslash. +Items are separated by white space. +.PP +In translating a name, the sender's personal alias file +.FR $HOME/lib/names +is checked first. +Then the system alias files, listed one per line in +.FR /usr/lib/upas/namefiles , +are checked in order. +If the name is not found, the translation is taken to be +.BI local! name. +.PP +On research network machines, +the first system alias file is +.BR /usr/lib/upas/names.local ; +it is never touched from afar. +Alias files for various organizations, e.g +.BR /usr/lib/upas/names.1127 , +are maintained, often by users themselves, at selected sites and +sent +around the network when changed +by +.IR ship (8). +The master alias file for center 1122 is kept on `alice', +those for other centers on `bowell'. +.SS Addresses to/from major networks +A `from' address is automatically supplied as a return +postmark on outgoing mail addressed `to' the several networks. +Respondents should be able to send to these addresses. +For non-research AT&T machines that use the research gateway, +`from' addresses with +.B @ +should be replaced by +.BR person%machine@research.att.com . +.PP +.TF ARPANET: +.TP +UUCP: +(to) +.B machine!person +.br +(from) +.B research!person +.TP +CSNET: +(to) +.B csnet!machine-domain-name!person +.br +(from) +.B person@research.att.com +.TP +ARPANET: +(to) +.B arpa!machine-domain-name!person +.br +(from) +.B person@research.att.com +.TP +ACSNET: +(to) +.B acsnet!machine-domain-name!person +.br +(from) +.B person@research.usa +.TP +BITNET: +(to) +.B bitnet!machine!person +.br +(from) +.B person@research.att.com +.SH FILES +.F /usr/lib/upas/namefiles +.br +.F /usr/lib/upas/names.* +.SH "SEE ALSO" +.IR uucp (1), +.IR mail (1), +.IR upas (8) diff --git a/static/v10/man6/man.6 b/static/v10/man6/man.6 new file mode 100644 index 00000000..45b4beaa --- /dev/null +++ b/static/v10/man6/man.6 @@ -0,0 +1,281 @@ +.TH MAN 6 +.CT 1 inst_info +.SH NAME +man \(mi macros to typeset manual +.SH SYNOPSIS +.B nroff -man +.I file ... +.PP +.B troff -man +.I file ... +.SH DESCRIPTION +These macros are used to lay out pages of this manual. +.PP +Except in +.L .LR +and +.L .RL +requests, any text argument denoted +.I t +in the request summary may be zero to six words. +Quotes +\f5"\fP ... \f5"\fP +may be used to include blanks in a `word'. +If +.I t +is empty, +the special treatment is applied to +the next text input line (the next line that doesn't begin with dot). +In this way, for example, +.B .I +may be used to italicize a line of more than 6 words, or +.B .SM +followed by +.B .B +to make small letters in `bold' font. +.PP +A prevailing indent distance is remembered between +successive indented paragraphs, +and is reset to default value upon reaching a non-indented paragraph. +Default units for indents +.I i +are ens. +.PP +The fonts are +.TP +.B R +roman, the main font, preferred for diagnostics +.PD 0 +.TP +.B I +italic, preferred for parameters, short names of commands +(use +.B F +for full path names), +names of manual pages, +and naked function names +.TP +.L B +`bold', actually the constant width font CW, +preferred for examples, declarations, keywords, names of +.B struct +members, and literals +(numbers are rarely literals) +.TP +.B F +also font CW; +used for filenames to help cross-indexing +.TP +.B L +also font CW. +In +.I troff +.BR L = B ; +in +.I nroff +arguments of the macros +.BR .L , +.BR .LR , +and +.B .RL +are printed in quotes; +preferred only where quotes really help (e.g. lower-case literals and +punctuation). +.PD +.LP +Type font and size are reset to default values +before each paragraph, and after processing +font- or size-setting macros. +.PP +The +.B -man +macros admit equations and tables in the style of +.IR eqn (1) +and +.IR tbl (1), +but do not support arguments on +.B .EQ +and +.B .TS +macros. +.PP +These strings are predefined by +.BR -man : +.TP +.B \e*R +.if t `\*R', `(Reg)' in +.if t .I nroff. +.if n `(Reg)', trademark symbol in +.if n .I troff. +.br +.ns +.TP +.B \e*S +Change to default type size. +.SH FILES +.F /usr/lib/tmac/tmac.an +.br +.F /usr/man/man0/xx +.SH SEE ALSO +.IR troff (1), +.IR man (1) +.SH REQUESTS +.ta \w'.TH n c x 'u +\w'Cause 'u +\w'Argument\ 'u +.di xx + \ka +.br +.di +.in \nau +.ti0 +Request Cause If no Explanation +.ti0 + Break Argument +.ti0 +\&\f5.B\fR \fIt\fR no \fIt\fR=n.t.l.* Text +.I t +is `bold'. +.ti0 +\&\f5.BI\fR \fIt\fR no \fIt\fR=n.t.l. Join +words of +.I t +alternating bold and italic. +.ti0 +\&\f5.BR\fR \fIt\fR no \fIt\fR=n.t.l. Join +words of +.I t +alternating bold and Roman. +.ti0 +\&\f5.CT\fR \fIc x...\fR no Chapter +.I c, +topics +.I x +in topic index; see +.F /usr/man +for topic codes. +.ti0 +\&\f5.DT\fR no Restore default tabs. +.ti0 +\&\f5.EE\fR yes End displayed example +.ti0 +\&\f5.EX\fR yes Begin displayed example +.ti0 +\&\f5.F\fR \fIt\fR no \fIt\fR=n.t.l. Text +.I t +is filename. +.ti0 +\&\f5.FR\fR \fIt\fR no \fIt\fR=n.t.l. Join +words of +.I t +alternating filename and Roman. +.ti0 +\&\f5.HP\fR \fIi\fR yes \fIi\fR=p.i.* Set prevailing indent to +.I i. +Begin paragraph with hanging indent. +.ti0 +\&\f5.I\fR \fIt\fR no \fIt\fR=n.t.l. Text +.I t +is italic. +.ti0 +\&\f5.IB\fR \fIt\fR no \fIt\fR=n.t.l. Join +words of +.I t +alternating italic and bold. +.ti0 +\&\f5.IP\fR \fIx i\fR yes \fIx\fR="" Same as \f5.TP\fP with tag +.I x. +.ti0 +\&\f5.IR\fR \fIt\fR no \fIt\fR=n.t.l. Join +words of +.I t +alternating italic and Roman. +.ti0 +\&\f5.L\fR \fIt\fR no \fIt\fR=n.t.l. Text +.I t +is literal. +.ti0 +\&\f5.LP\fR yes Same as \f5.PP\fP. +.ti0 +\&\f5.LR\fR \fIt\fR no Join 2 +words of +.I t +alternating literal and Roman. +.ti0 +\&\f5.PD\fR \fId\fR no \fId\fR=\f5.4v\fP Interparagraph distance is +.I d. +.ti0 +\&\f5.PP\fR yes Begin paragraph. +Set prevailing indent to default. +.ti0 +\&\f5.RE\fR yes End of relative indent. +Set prevailing indent to amount of starting \f5.RS\fP. +.ti0 +\&\f5.RF\fR \fIt\fR no \fIt\fR=n.t.l. Join +words of +.I t +alternating Roman and filename. +.ti0 +\&\f5.RI\fR \fIt\fR no \fIt\fR=n.t.l. Join +words of +.I t +alternating Roman and italic. +.ti0 +\&\f5.RL\fR \fIt\fR no Join 2 or 3 +words of +.I t +alternating Roman and literal. +.ti0 +\&\f5.RS\fR \fIi\fR yes \fIi\fR=p.i. Start relative indent, +move left margin in distance +.I i. +Set prevailing indent to default for nested indents. +.ti0 +\&\f5.SH\fR \fIt\fR yes \fIt\fR="" Subhead; reset paragraph distance. +.ti0 +\&\f5.SM\fR \fIt\fR no \fIt\fR=n.t.l. Text +.I t +is small. +.ti0 +\&\f5.SS\fR \fIt\fR no \fIt\fR="" Secondary subhead. +.ti0 +\&\f5.TF\fR \fIs\fR yes Prevailing indent is wide as +string +.I s +in font +.BR L ; +paragraph distance is 0. +.ti0 +\&\f5.TH\fR \fIn c x\fR yes Begin page named +.I n +of chapter +.IR c; +.I x +is extra commentary, e.g. `local', for page head. +Set prevailing indent and tabs to default. +.ti0 +\&\f5.TP\fR \fIi\fR yes \fIi\fR=p.i. Set prevailing indent to +.I i. +Restore default indent if +.IR i =0. +Begin indented paragraph +with hanging tag given by next text line. +If tag doesn't fit, place it on separate line. +.ti0 +\&\f5.1C\fR yes Equalize columns and return to 1-column output +.ti0 +\&\f5.2C\fR yes Start 2-column nofill output +.PP +.ti0 +* n.t.l. = next text line; p.i. = prevailing indent +.SH BUGS +There's no way to fool +.I troff +into handling literal double quote marks +.B \&" +in font-alternation macros, such as +.LR .BI . +.br +There is no direct way to suppress column widows in 2-column +output; the column lengths may be adjusted by inserting +.L .sp +requests before the closing +.LR .1C . diff --git a/static/v10/man6/mars.6 b/static/v10/man6/mars.6 new file mode 100644 index 00000000..1785cbb8 --- /dev/null +++ b/static/v10/man6/mars.6 @@ -0,0 +1,100 @@ +.TH MARS 6 +.SH NAME +mars \- memory array redcode simulator +.SH SYNOPSIS +.B mars +[ +.B -dfhmp +] +[ +.BI -cqs value +] +.I file ... +.SH DESCRIPTION +.I Mars +is a simulator for the +`Redcode' +machine from Kee Dewdney,s +`Computer Recreations,' +.I Scientific American , +May, 1984, coded by Michael Mauldin, CMU. +The easiest way to create an object file is to use the +.IR redcode (6) +command to a assemble the object file from a redcode +source file. +.PP +An object file contains three header lines: the name of the +program, its length, and its starting location. +Here is a sample redcode object file, for +the Dwarf program: +.IP +.EX +name dwarf +length 4 +start 1 +00000007999 +20000517999 +10000027998 +41799800000 +.EE +.PP +The instruction format is an 11 digit decimal string, packed thus: +.EX +struct { + char[1] opcode; + char[1] mode1; char[4] arg1; + char[1] mode2; char[4] arg2; +} +.EE +.PP +Options allow for tracing execution, for graphically displaying the +progress of each program, and for analyzing and dumping memory before +and after execution. For example +.IP +.L +mars -s1234 -f -c20000 dwarf.obj gemini.obj imp.obj +.LP +specifies that imp, dwarf, and gemini are to be run together, with a +fullscreen display for 20000 cycles using a random number seed of 1234. +.TP +.BI -c N +the maximum number of cycles for this run. +The default is 10000. +.TP +.B -d +(debug) +execution to be traced in excruciating detail. +.TP +.B -f +(fullscreen) +execution will be displayed graphically on any +terminal supported by +.IR curses (3). +.TP +.B -h +(holes) +description of memory usage will be printed after +execution terminates. +.TP +.B -m +memory will be dumped before and after execution terminates. +.TP +.B -p +similar to +.BR -m , +except only memory near each program counter is dumped. +.TP +.BI -q N +.I +quit as soon as there are fewer than +.I N +programs still alive. +Default is +.BR q1 . +.TP +.BI -s N +seed for random number generator; +.IR N =0 +seeds from the clock. +.SH SEE ALSO +.IR redcode (6) diff --git a/static/v10/man6/maze.6 b/static/v10/man6/maze.6 new file mode 100644 index 00000000..28348345 --- /dev/null +++ b/static/v10/man6/maze.6 @@ -0,0 +1,12 @@ +.th MAZE VI 11/1/73 +.sh NAME +maze \*- generate a maze problem +.sh SYNOPSIS +.bd maze +.sh DESCRIPTION +.it Maze +will ask a few questions and then +print out a maze. +.sh BUGS +Some mazes (especially small ones) +have no solutions. diff --git a/static/v10/man6/mbits.6 b/static/v10/man6/mbits.6 new file mode 100644 index 00000000..e465d120 --- /dev/null +++ b/static/v10/man6/mbits.6 @@ -0,0 +1,118 @@ +.if "\*(Bp"" .so /usr/lib/tmac/tmac.bits +.TH MBITS 6 +.CT 1 writing_troff +.SH NAME +mbits \- macros to typeset bitmaps +.SH SYNOPSIS +.B troff +[ +.I option ... +] +.B -mbits +[ +.I option ... +] +.I file ... +.SH DESCRIPTION +These macros are used to typeset bitmaps. +They are compatible with other +.I troff +macro packages, so that bitmap figures may be included in documents. +.TP "\w'\f5.BM \fIf s dX dY\fR'u+1m" +\f5\&.BM \fIf\fR +Set the format for subsequent \&.BM requests to +.IR f . +The default is +.L b +for +.IR blitblt (9.1) +output. +The other possibility is +.L i +for faces and large icons in +.SM +ASCII +format. +.TP +\f5\&.BM \fIf s\fR +Insert the bitmap from file +.IR f ; +each pixel will be +.I s +basic units square. +The bitmap origin is placed at the current point, which +is left unchanged. +.TP +\f5\&.BM \fIf s dX dY\fR +Set the number registers +.IR dX " and " dY +to the width and height (in basic units) of the bitmap in file +.IR f , +assuming pixel size +.IR s . +This form may be used to calculate positioning. +.SH EXAMPLES +.PP +This sequence centers the bitmap and spaces past it to continue +with the text: +.PP +.EX +\&.BM i +\&.BM /n/face/48x48x1/pjw 6 dX dY +\&.sp +\&.in (\en(.lu-\en(dXu)/2u +\&.BM /n/face/48x48x1/pjw 6 +\&.in +\&.sp \en(dYu +.if n .ig +.sy echo >/tmp/pjw\n($$ -e '\ +0x0000,0x1FA0,0x0000,\\n0x0000,0x7FFC,0x0000,\\n0x0000,0xFEFF,0x0000,\\n\ +0x0001,0xBFBF,0xC000,\\n0x0001,0xEFFA,0xE000,\\n0x0002,0x00FF,0xF800,\\n\ +0x0002,0x007F,0xFF80,\\n0x0000,0x001F,0x7E00,\\n0x000C,0x001F,0xFFC0,' +.sy echo >>/tmp/pjw\n($$ -e '\ +0x0000,0x0015,0xFFC0,\\n0x0030,0x001F,0xFFF0,\\n0x0070,0x000F,0xFEB0,\\n\ +0x00C0,0x0007,0xFFF8,\\n0x00E0,0x0007,0xFFE8,\\n0x01E0,0x0003,0xFFF8,\\n\ +0x03C0,0x0001,0xFFF8,\\n0x03E0,0x0001,0xFFF8,\\n0x07C2,0x8000,0xFFF0,' +.sy echo >>/tmp/pjw\n($$ -e '\ +0x0FFA,0xF83F,0xBFF8,\\n0x0FE0,0x7C67,0xFFF8,\\n0x1FF1,0xEFF9,0x7FF8,\\n\ +0x1FF7,0xFFFF,0xFFF8,\\n0x1FF5,0xA4FF,0xFFF8,\\n0x1FD0,0x247F,0xFFF0,\\n\ +0x0FE0,0x8045,0xFFF0,\\n0x1FA0,0x0870,0x3FF0,\\n0x0320,0x0060,0xDFE0,' +.sy echo >>/tmp/pjw\n($$ -e '\ +0x0B80,0x1030,0x1F80,\\n0x0181,0x601F,0xF780,\\n0x0085,0x405A,0x5F00,\\n\ +0x0000,0x0BFB,0xFF00,\\n0x0180,0x1FE8,0xEE00,\\n0x0380,0x07F2,0xBE00,\\n\ +0x0182,0x03D5,0xEFC0,\\n0x0080,0x0075,0x7F80,\\n0x01C1,0xD5DD,0x4F80,' +.sy echo >>/tmp/pjw\n($$ -e '\ +0x00C1,0x57FF,0xFF80,\\n0x0040,0x0039,0x7F00,\\n0x0060,0x006B,0xCE00,\\n\ +0x0004,0x1FEB,0x6000,\\n0x0000,0x07FF,0xF800,\\n0x0002,0x0015,0xA000,\\n\ +0x0000,0x0057,0xC000,\\n0x0002,0x003F,0x4000,\\n0x0000,0x804B,0xC000,' +.sy echo >>/tmp/pjw\n($$ -e '\ +0x0002,0xBBFE,0x8000,\\n0x0000,0x8FFB,0xC000,\\n0x0001,0x7ABF,0xC000,' +.BM i +.BM /tmp/pjw\n($$ 6 dX dY +.sp +.in (\n(.lu-\n(dXu)/2u +.BM /tmp/pjw\n($$ 6 +.sy rm -f /tmp/pjw\n($$ +.in +.sp \n(dYu +.. +.EE +.SH FILES +.F /usr/lib/btroff +.SH SEE ALSO +.IR blitblt (9.1), +.IR troff (1), +.IR bitfile (9.5), +.IR ms (6) +.SH BUGS +At time of writing, +.I mbits +does not work with PostScript output devices. +See +.IR mpictures (6) +for an alternative. +.br +.B \&.BM +does not work inside a diversion. +.br +The concept of `pixel size' varies among typesetting devices. diff --git a/static/v10/man6/mcs.6 b/static/v10/man6/mcs.6 new file mode 100644 index 00000000..0153a4a8 --- /dev/null +++ b/static/v10/man6/mcs.6 @@ -0,0 +1,145 @@ +.ds a \fR*\fP +.ds s \fR\h'\w'*'u'\fP +.TH MCS 6 +.CT 1 writing_troff +.SH NAME +mcs \- macros for formatting cover sheets +.SH SYNOPSIS +.B troff -mcs +.I file ... +.SH DESCRIPTION +The +.I mcs +package of +.IR troff (1) +macros generates cover sheets for Bell Labs documents. +The macros were not meant for human production. +Use +.IR docgen (1) +to write them: +.IP +.L docgen -mcs +.PP +The +.I mcs +macros automatically load +the +.IR ms (6) +macros. +.PP +In the following description +macros marked +.L * +are mandatory; +all others are optional. +Optional arguments are enclosed in square brackets. +The macros must be used in the +order presented: +.PP +.TF \*a\ .MT\ type\ software\ +.TP +Request +Explanation +.PD +.TP +.BI "\*a .TI" " \fR[\fPdraft\fR]\fP" +Title text follows. +Unless there is an argument, the cover sheet will be shipped +automatically to the Bell Labs library ITDS. +Duplicate shipments are harmless. +.PD0 +.TP +.BI "\*a .AH" " author loc dept ext rm e-mailaddre co" +.TP +.BI "\*s .AP" " name" +Responsible AT&T person +.TP +.B \*a .SA +Begin Abstract +.TP +.B \*a .SE +End Abstract +.TP +.BI "\*s .KW" " \fR[\fPk1 ... k9\fR]\fP" +Keywords +.TP +.BI "\*a .TY" " type software" +Memo +.IR type : +.L TM +technical memorandum, +.L IM +internal memorandum, +.L TC +technical correspondence; +.IR software : +.L y +if memo is software related +.TP +.BI "\*a .NU" " org-date-seq filing_case work_project" +Document Number +.TP +.BI "\*s .ED" " doc_number" +Earlier document number. +.TP +.BI "\*a .MY" " \fR[\fPa1 ... a8 \fR]\fP" +Mercury Code, positional arguments, +.BR y - n , +at most 3 +.BR y : +1 Chemistry and Materials, 2 Communications, 3 Computing, +4 Electronics, 5 Life Science, 6 Mathematics and Statistics, +7 Physics, 8 Manufacturing +.TP +.BI "\*s .RL" " code" +.L y +release to any AT&T employee; +.L n +release only on approval of each request. +.TP +.BR "\*s .PR " [ BR ] +Proprietary Marking, default ATT-BL Proprietary, +.L 0 +unmarked, +.L BR +restricted +.TP +.B \*s .GS +Government Security +.TP +.B \*s .CO +Complete Copy Distribution List follows +.TP +.B \*s .CE +End distribution lists +.TP +.B \*s .CV +Cover Sheet Only Distribution List follows +.TP +.BI "\*a .SC" " pages" +Total +.I pages ; +do not include coversheet pages +(if old format of +.I pages +and +.I otherpages , +the arguments are added). +.PP +To turn the paper into released paper format put a +.B .RP +before the title macro. +To make it into a CSTR add a +.B .TR +before the title and +.B .AI +.B .MH +after the author macro. +.SH FILES +.F /usr/lib/tmac/tmac.cs +.br +.F /usr/lib/tmac/tmac.rscover +.SH "SEE ALSO" +.IR docgen (1), +.IR ms (6), +.IR sendcover (8) diff --git a/static/v10/man6/mille.6 b/static/v10/man6/mille.6 new file mode 100644 index 00000000..3a669173 --- /dev/null +++ b/static/v10/man6/mille.6 @@ -0,0 +1,223 @@ +.TH MILLE 6 +.SH NAME +mille \- card game +.SH SYNOPSIS +.B /usr/games/mille +[ +.I file +] +.SH DESCRIPTION +.I Mille +plays a two-handed game +reminiscent of +the Parker Brother's game of Mille Bournes. +If a file name is given on the command line, +the game saved in that file is started. +.PP +When a game is started up, +the bottom of the score window will contain a list of commands. +They are: +.TP +.B P +Pick a card from the deck. +This card is placed in the +.L P +slot in your hand. +.PD0 +.TP +.B D +Discard a card from your hand. +To indicate which card, +type the number of the card in the hand +(or +.L P +for the just-picked card) +followed by a newline or space. +.TP +.B U +Use a card. +The card is again indicated by its number. +.TP +.B O +Sort the cards in your hand. +This command toggles on and off. +.TP +.B Q +Quit the game. +.TP +.B S +Save the game in a file. +You will be asked for a file name. +A newline without a name terminates the command, but not the game. +.TP +.B R +Redraw the screen from scratch. +.TP +.B W +Toggle window type. +This switches the score window between the startup window +(with all the command names) +and the end-of-game window. +The end-of-game window +saves time by eliminating the switch at the end of the game +to show the final score. +.SS Cards +The number of such cards appears after the card name: +.PP +.nf +.ne 10 +.ta \w'Speed Limit (3)'u+3n \w'Speed Limit (3)'u+\w'End of Limit (6)'u+6n +Hazard Repair Safety +.sp +Out of Gas (2) Gasoline (6) Extra Tank (1) +Flat Tire (2) Spare Tire (6) Puncture Proof (1) +Accident (2) Repairs (6) Driving Ace (1) +Stop (4) Go (14) Right of Way (1) +Speed Limit (3) End of Limit (6) +.PP +.ce +25 \- (10), 50 \- (10), 75 \- (10), 100 \- (12), 200 \- (4) +.SS Rules +The object of the game is to get a total of 5000 points +in several hands. +Each hand is a race to put down exactly 700 miles +before your opponent does, making points on the way. +.PP +The game is played with a deck of 101 cards. +.I Distance +cards represent a number of miles traveled: +25, 50, 75, 100, and 200. +When one is played, +it adds that many miles to the player's trip so far this hand. +.I Hazard +cards prevent your opponent from putting down Distance cards. +They can only be played if your opponent has a +.I Go +card on top of the Battle pile. +The hazards are +`Out of Gas,' `Accident', `Flat Tire', +`Speed Limit and `Stop'. +.I Remedy +cards fix hazards: +`Gasoline', `Repairs', `Spare Tire', `End of Limit', +and `Go'. +.I Safety +cards prevent your opponent playing Hazard cards: +`Extra Tank', `Driving Ace', `Puncture Proof', +`Right of Way'. +.PP +The board is split into several areas. +From top to bottom, they are: +SAFETY AREA: +(unlabeled) where the safeties will be placed. +HAND: +The cards in your hand. +BATTLE: +This is the Battle pile. +where the Hazard and Remedy Cards are played, +excep Speed Limit and End of Limit. +Only the top card is displayed, +as it is the only effective one. +SPEED: +The Speed pile. +Speed Limit and End of Limit +cards are played here +to control the speed at which the player is allowed to put down miles. +MILEAGE : +Miles are placed. +The total of the numbers shown here is the distance traveled so far. +Not more than two 200-mile cards may be played in one turn. +.PP +The first pick alternates between the two players. +Each turn usually starts with a pick from the deck. +The player then plays a card, +or if this is not possible or desirable, +discards one. +Normally, a play or discard of a single card +constitutes a turn. +If the card played is a safety, +however, +the same player takes another turn immediately. +.PP +This repeats until one of the players reaches exactly 700 points +or the deck runs out. +If someone reaches 700, +they have the option of going for an `Extension', +which means that the play continues until 1000 miles. +.SS Hazards and Remedies +.IP Go +(Green Light) +must be the top card on your Battle pile +for you to play any mileage, +unless you have played Right of Way. +.IP Stop +is played on your opponent's +Go card. +.IP "Speed Limit" +is played on your opponent's Speed pile. +Until they play an End of Limit +they can only play 25 or 50 mile cards. +.IP "End of Limit" +is played on your Speed pile +to nullify a Speed Limit. +.IP "Out of Gas" +is played on your opponent's Go. +They must play Gasoline +and then Go before they can play any more mileage. +.IP "Flat Tire" +and Accident are played similarly. +.PP +.IP "Safety Cards" +prevent your opponent +from playing the corresponding Hazards +for the rest of the hand. +It cancels the hazard, +and entitles the player to an extra turn. +.IP "Right of Way" +prevents both Stop and Speed Limit cards and acts +as a permanent Go. +.PP +A hand ends whenever one player gets exactly 700 miles or the deck runs out. +In that case, play continues until someone reaches 700, +or neither player can use any cards in their hand. +If the trip is completed after the deck runs out, +this is called +.IR "Delayed Action" . +.PP +Coup Fourre: +This is a French fencing term for a counter-thrust move as part of a parry +to an opponents attack. +In Mille Bournes, +it is used as follows: +If an opponent plays a Hazard card, +and you have the corresponding Safety in your hand, +you play it immediately, +eve before +you draw. +This immediately removes the Hazard card from your Battle pile, +and protects you from that card for the rest of the game. +This +gives you more points. +.PP +.BR Scoring : +Scores are totaled at the end of each hand, +whether or not anyone completed the trip. +The terms used in the Score window are: +.PP +.nf +Milestones Played: sum of miles +Each Safety: 100 points +All 4 Safeties: 300 points +Each Coup Foure: +300 points for each Coup Fourre accomplished. +Trip Completed: 400 points +Safe Trip: 300 points bonus for completing trip without 200 mile +Delayed Action: +300 points for finishing after the deck was exhausted. +Extension: 200 points bonus for a 1000 mile trip. +Shut-Out: 500 points for completing while opponent has 0 miles +.PP +.SH AUTHOR +Ken Arnold +.SH "SEE ALSO" +.IR curses (3)
\ No newline at end of file diff --git a/static/v10/man6/mon.6 b/static/v10/man6/mon.6 new file mode 100644 index 00000000..b5fb5bd0 --- /dev/null +++ b/static/v10/man6/mon.6 @@ -0,0 +1,12 @@ +.th MON VI 11/1/73 +.sh NAME +mon \*- print calendar month +.sh SYNOPSIS +.bd mon +.sh DESCRIPTION +.it Mon +asks for a month and year. +The output is a calendar for that month and year. +.sh "SEE ALSO" +cal(VI) +.sh BUGS diff --git a/static/v10/man6/monop.6 b/static/v10/man6/monop.6 new file mode 100644 index 00000000..53860d16 --- /dev/null +++ b/static/v10/man6/monop.6 @@ -0,0 +1,181 @@ +.de Sc \" start command list macro +.ie n .PD 0 +.el .PD 0.5 +.sp +.. +.de Cm \" define command macro +.TP 10 +.ie t .BR "\\$1" +.el .IR "\\$1" +.. +.de Ec \" end command macro +.PD 1 +.. +.TH MONOP 6 +.SH NAME +monop \- monopoly game +.SH SYNOPSIS +.B /usr/games/monop +[ file ] +.SH DESCRIPTION +.I Monop +is reminiscent of the Parker Brother's game Monopoly, +and +monitors a game among 1 to 9 users. +It is assumed that the rules of Monopoly are known. +The game follows the standard rules, +with the exception that, +if a property would go up for auction +and there are only two solvent players, +no auction is held and the property remains unowned. +.PP +The game, in effect, +lends the player money, +so it is possible to buy something which you cannot afford. +However, as soon as a person goes into debt, +he must fix the problem, +.IR i.e. , +make himself solvent, +before play can continue. +If this is not possible, +the player's property reverts to his debtee, +either a player or the bank. +A player can resign at any time to any person +or the bank, +which puts the property back on the board, unowned. +.PP +Any time that the response to a question is a +.IR string , +e.g., a name, place or person, +you can type `?' +to get a list of valid answers. +It is not possible to input a negative number, +nor is it ever necessary. +.Sc +.IR "A Summary of Commands" : +.Cm quit +quit game: +This allows you to quit the game. +It asks you if you're sure. +.Cm print +print board: +This prints out the current board. +The columns have the following meanings +(column headings are the same for the +.BR where , +.BR "own holdings" , +and +.B holdings +commands): +.PP +.RS 10 +.TP "\w'Name\ \ 'u" +Name +The first ten characters of the name of the square +.TP +Own +The \fInumber\fR of the owner of the property. +.TP +Price +The cost of the property (if any) +.TP +Mg +This field has a `*' in it if the property is mortgaged +.TP +# +If the property is a Utility or Railroad, this is the number +of such owned by the owner. +If the property is land, this is the number of houses on it. +.TP +Rent +Current rent on the property. +If it is not owned, there is no rent. +.RE +.Cm where +where players are: +Tells you where all the players are. +A `*' indicates the current player. +.Cm "own\ holdings" +List your own holdings, +.IR i.e. , +money, get-out-of-jail-free cards, and property. +.Cm holdings +holdings list: +Look at anyone's holdings. +It will ask you whose holdings you wish to look at. +When you are finished, type `done'. +.Cm shell +shell escape: +Escape to a shell. +When the shell dies, +the program continues where you left off. +.Cm mortgage +mortgage property: +Sets up a list of mortgageable property, +and asks which you wish to mortgage. +.Cm unmortgage +unmortgage property: +Unmortgage mortgaged property. +.Cm buy +buy houses: +Sets up a list of monopolies on which you can buy houses. +If there is more than one, it asks you which you want to buy for. +It then asks you how many for each piece of property, +giving the current amount in parentheses after the property name. +If you build in an unbalanced manner +(a disparity of more than one house within the same monopoly), +it asks you to re-input things. +.Cm sell +sell houses: +Sets up a list of monopolies from which you can sell houses. +it operates in an analogous manner to +.I buy +.Cm card +card for jail: +Use a get-out-of-jail-free card to get out of jail. +If you're not in jail, +or you don't have one, +it tells you so. +.Cm pay +pay for jail: +Pay $50 to get out of jail, +from whence you are put on Just Visiting. +Difficult to do if you're not there. +.Cm trade +This allows you to trade with another player. +It asks you whom you wish to trade with, +and then asks you what each wishes to give up. +You can get a summary at the end, +and, in all cases, +it asks for confirmation of the trade before doing it. +.Cm resign +Resign to another player or the bank. +If you resign to the bank, +all property reverts to its virgin state, +and get-out-of-jail free cards revert to the deck. +.Cm save +save game: +Save the current game in a file for later play. +You can continue play after saving, +either by adding the file in which you saved the game after the +.I monop +command, +or by using the +.I restore +command (see below). +It will ask you which file you wish to save it in, +and, if the file exists, confirm that you wish to overwrite it. +.Cm restore +restore game: +Read in a previously saved game from a file. +It leaves the file intact. +.Cm roll +Roll the dice and move forward to your new location. +If you simply hit the <RETURN> key instead of a command, +it is the same as typing +.IR roll . +.Ec +.SH FILES +/usr/games/lib/cards.pck Chance and Community Chest cards +.SH BUGS +No command can be given an argument instead of a response to a query. diff --git a/static/v10/man6/moo.6 b/static/v10/man6/moo.6 new file mode 100644 index 00000000..7b95a185 --- /dev/null +++ b/static/v10/man6/moo.6 @@ -0,0 +1,26 @@ +.pa 1 +.he '3/15/72''MOO (VI)' +.ti 0 +NAME moo -- a game +.sp +.ti 0 +SYNOPSIS /usr/games/moo +.sp +.ti 0 +DESCRIPTION moo___ +is a guessing game imported from England. +.sp +.ti 0 +FILES -- +.sp +.ti 0 +SEE ALSO -- +.sp +.ti 0 +DIAGNOSTICS -- +.sp +.ti 0 +BUGS -- +.sp +.ti 0 +OWNER ken diff --git a/static/v10/man6/mpictures.6 b/static/v10/man6/mpictures.6 new file mode 100644 index 00000000..295b67a5 --- /dev/null +++ b/static/v10/man6/mpictures.6 @@ -0,0 +1,154 @@ +.TH MPICTURES 6 +.CT 1 writing_troff +.SH NAME +mpictures \- picture inclusion macros +.SH SYNOPSIS +.B troff -mpictures +[ +.I options +] +.I file ... +.SH DESCRIPTION +.I Mpictures +macros insert PostScript pictures into +.IR troff (1) +documents. +The macros are: +.TP +.BI .BP " source height width position offset flags label +Define a frame and place a picture in it. +Null arguments, represented by \f5""\fR, +are interpreted as defaults. +The arguments are: +.RS +.TP +.I source +Name of a PostScript picture file, optionally +suffixed with +.RI ( n ) +to select page number +.I n +from the file (first page by default). +.PD0 +.TP +.I height +Vertical size of the frame, default +.BR 3.0i . +.TP +.I width +Horizontal size of the frame, current line length by default. +.TP +.I position +.L l +(default), +.LR c , +or +.L r +to left-justify, center, or right-justify the frame. +.TP +.I offset +Move the frame horizontally from the original +.I position +by this amount, default +.BR 0i . +.TP +.I flags +One or more of: +.RS +.PD 0v +.TP +.BI a d +Rotate the picture clockwise +.I d +degrees, default +.IR d =90. +.TP +.B o +Outline the picture with a box. +.TP +.B s +Freely scale both picture dimensions. +.TP +.B w +White out the area to be occupied by the picture. +.TP +.BR l , r , t ,\fPb +Attach the picture to the left right, top, or bottom of the frame. +.RE +.TP +.I label +Place +.I label +at distance +.B 1.5v +below the frame. +.PD +.PP +If there's room, +.B .BP +fills text around the frame. +Everything destined for either side of the frame +goes into a diversion to be retrieved when the accumulated +text sweeps past the trap set by +.B .BP +or when the diversion is explicitly closed +by +.BR .EP . +.RE +.TP +.BI .PI " source height" , width , "yoffset\fB,\fPxoffset flags. +This low-level macro, used by +.BR .BP , +can help do more complex things. +The two arguments not already described are: +.RS +.TP +.I xoffset +Offset the frame from the left margin by this amount, default +.BR 0i . +.PD0 +.TP +.I yoffset +Offset the frame from the current baseline, +measuring positive downward, default +.BR 0i . +.PD +.RE +.TP +.B .EP +End a picture started by +.BR .BP ; +.B .EP +is usually called implicitly by a trap +at frame bottom. +.PP +If a PostScript file lacks page-delimiting comments, +the entire file is included. +If no +.B %%BoundingBox +comment is present, the picture is +assumed to fill an 8.5\(mu11-inch page. +Nothing prevents the picture from being placed off the page. +.SH FILES +.F /usr/lib/tmac/tmac.pictures +.SH SEE ALSO +.IR troff (1) +.SH DIAGNOSTICS +A picture file that can't be read by the PostScript +postprocessor is replaced by white space. +.SH BUGS +A picture and associated text silently disappear if +a diversion trap set by +.B .BP +isn't reached. +Call +.B .EP +at the end of the document to retrieve it. +.br +Macros in other packages may break the adjustments +made to the line length and indent when text is being placed +around a picture. +.br +A missing or improper +.B %%BoundingBox +comment may cause the frame to be filled incorrectly. diff --git a/static/v10/man6/mpm.6 b/static/v10/man6/mpm.6 new file mode 100644 index 00000000..f765bf7c --- /dev/null +++ b/static/v10/man6/mpm.6 @@ -0,0 +1,173 @@ +.TH MPM 6 +.CT 1 writing_troff +.SH NAME +mpm, mspe \- macros for page makeup +.SH SYNOPSIS +.B troff -mpm +.I file ... +.PP +.B troff -mspe +.I file ... +.SH DESCRIPTION +These +.IR troff (1) +macros, largely compatible with +.IR ms (6), +make better pages. +They silently invoke and provide information to a +postprocessor that moves floating figures, avoids widows, and justifies +pages vertically by stretching vertical spaces that result from +.BR .PP , +.BR .LP , +.BR .IP , +.BR .QP , +.BR .SH , +.BR .NH , +.BR .DS / .DE , +.BR .EQ / .EN , +.BR .TS / .TE , +.BR .PS / .PE , +.BR .P1 / .P2 , +and +.BR .QS / .QE . +The packages support different styles: +.TP +-mpm +generic +.TP +.B -mspe +.I Software\(emPractice and Experience +.PP +The following macros are different from or not part of +.BR -ms . +Values denoted +.I n +have default value +.BR 1v . +.TP +.BR .BP +Begin a new page. +.PD 0 +.TP +.B .FL +Flush: force out previous keeps. +.TP +.B .FC +Finish a two-column region and start a new one. +.TP +.BI .KF \ m +Floating keep, with preferred center at vertical position +.IR m . +Special values +.L top +(default) and +.L bottom +are permitted. +.TP +.BI .NE \ n +Start new page if remaining vertical space on this page +is less than +.I n . +.TP +.B .P1 +Begin a program display (Courier font). +.TP +.B .P2 +End a program display. +.TP +.BI .P3 +Insert optional break point in program display. +.TP +.BI .SP " n " exactly +.br +.ns +.TP +.BI .SP " n " +Insert vertical space of height +.I n, +stretchable unless +.B exactly +is present. +.TP +.BI .Tm " text" +Place page number and +.I text +on the standard error output. +.TP +.BI .X " text" +Present +.I text +to the hidden page-makeup program +as part of a device-dependent output sequence +.BR x +.BR X +.IR "text" . +Equivalent to +.BI \eX' text ' . +.PD +.PP +Useful number registers: +.PD 0 +.TP +.B HM +Header margin; default 1 inch. +.TP +.B FM +Footer margin; default 1 inch. +.TP +.B FO +Footer position; default 10 inches. +.TP +.B %# +Page number of current page. +.TP +.BR dP , dV +Shrinkage of point size and vertical spacing for +.BR .P1 , +in points. +.PD +.PP +Useful strings: +.PD 0 +.TP +.BR %e , %o +Even and odd page title commands, as +.BR .tl\ '''' . +.PD +.SH FILES +.F /usr/lib/tmac/tmac.pm +.br +.F /usr/lib/tmac/pm +.SH "SEE ALSO" +.IR ms (6), +.IR troff (1) +.br +B. W. Kernighan and C. J. Van Wyk, +`The \-mpm Macro Package', +this manual, Volume\ 2 +.SH BUGS +These features of +.B -ms +are missing: +.PD0 +.IP +Document styles other than the default +.BR .RP . +.br +Space between front matter and first paragraph. +Recover it with +.BR ".SP 2" . +.br +Separating rule above footnotes. +.br +Keeps assigned to a separate page. +.br +Pages with more than two columns. +.LP +.I Troff +option +.B -o +doesn't work with +.BR -mpm +because only the postprocessor knows the page numbers. +.PD diff --git a/static/v10/man6/ms.6 b/static/v10/man6/ms.6 new file mode 100644 index 00000000..d142e590 --- /dev/null +++ b/static/v10/man6/ms.6 @@ -0,0 +1,340 @@ +.hc % +.TH MS 6 +.CT 1 writing_troff +.SH NAME +ms \- macros for formatting manuscripts +.SH SYNOPSIS +.B "nroff \-ms" +[ +.I options +] +.I file ... +.br +.B "troff \-ms" +[ +.I options +] +.I file ... +.SH DESCRIPTION +This package of +.I nroff +and +.IR troff (1) +macro definitions provides a canned formatting +facility for tech%nical papers in various formats. +When producing 2-column output on a terminal, filter +the output through +.IR col ; +see +.IR column (1). +.PP +The macro requests are defined below. +Many +.I nroff +and +.I troff +requests are unsafe in conjunction with +this package, but the following requests may be used with +impunity after the first +.BR .PP : +.LR .bp , +.LR .br , +.LR .sp , +.LR .ls , +.LR .na . +.PP +Output of the +.IR eqn (1), +.I neqn, +.IR tbl (1), +.IR pic (1), +.IR refer (1), +and +.IR prefer (1) +preprocessors +for equations, tables, pictures, and references is acceptable as input. +.PP +Diacritical marks may be applied to letters, +as in these examples: +.ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i +.tr \'\'\`\` +.ds ' \h'\w'e'u*4/10'\z\(aa\h'-\w'e'u*4/10' +.ds ` \h'\w'e'u*4/10'\z\(ga\h'-\w'e'u*4/10' +.ds : \v'-0.6m'\h'(1u-(\\n(.fu%2u))*0.13m+0.06m'\z.\h'0.2m'\z.\h'-((1u-(\\n(.fu%2u))*0.13m+0.26m)'\v'0.6m' +.ds ^ \\k:\h'-\\n(.fu+1u/2u*2u+\\n(.fu-1u*0.13m+0.06m'\z^\h'|\\n:u' +.ds ~ \\k:\h'-\\n(.fu+1u/2u*2u+\\n(.fu-1u*0.13m+0.06m'\z~\h'|\\n:u' +.ds v \\k:\\h'+\\w'e'u/4u'\\v'-0.6m'\\s6v\\s0\\v'0.6m'\\h'|\\n:u' +.ds , \\k:\\h'\\w'c'u*0.4u'\\z,\\h'|\\n:u' +.IP +.L +\e*`e \e*`a \e*'e \e*^e \e*^o \e*:u \e*~n \e*,c \e*vc +.br +\*`e \*`a \*'e \*^e \*^o \*:u \*~n \*,c \*vc +.br +.tr \''\`` +.SH FILES +.F /usr/lib/tmac/tmac.s +.SH "SEE ALSO" +.br +M. E. Lesk, +`Typing Documents on the UNIX System: +Using the \-ms Macros with Troff and Nroff', +this manual, Volume 2 +.br +.IR eqn (1), +.IR troff (1), +.IR refer (1), +.IR prefer (1), +.IR tbl (1), +.IR pic (1), +.IR mcs (6) +.SH REQUESTS +.ta \w'..ND \fIdate\fR 'u +\w'Initial 'u +\w'Cause 'u +.br +.di x + \ka +.br +.di +.in \nau +.ti0 +Request Initial Cause Explanation +.ti0 + Value Break +.br +.in \nau +.ti0 +\f5\&.1C\fP yes yes One column format on a new page. +.ti0 +\f5\&.2C\fP no yes Two column format. +.ti0 +\f5\&.AB\fP no yes Begin abstract. +.ti0 +\f5\&.AE\fP - yes End abstract. +.ti0 +\f5\&.AI\fP no yes Author's institution follows. +Suppressed in +.BR .TM . +.ti0 +\f5\&.AT\fP no yes Print `Attached' and turn off line filling. +.ti0 +\f5\&.AU\fP\fP\fP \fIx y\fR no yes Author's name follows. +.IR x " is location and " y " is" +extension, ignored except in +.BR TM . +.ti0 +\f5\&.B\fP \fIx y\fR no no Print +.I x +in boldface, append +.IR y ; +if no argument switch to boldface. +.ti0 +\f5\&.B1\fP no yes Begin text to be enclosed in a box. +.ti0 +\f5\&.B2\fP no yes End boxed text. +.ti0 +\f5\&.BI\fP \fIx y\fR no no Print +.I x +in bold italic and append +.IR y ; +if no argument switch to bold italic. +.ti0 +\f5\&.BT\fP date no Bottom title, automatically invoked at +foot of page. +May be redefined. +.ti0 +\f5\&.BX\fP \fIx\fR no no Print +.I x +in a box. +.ti0 +\f5\&.CW\fP \fIx y\fR no no Constant width font for +.IR x , +append +.IR y ; +if no argument switch to CW. +.ti0 +\f5\&.CT\fP no yes Print `Copies to' and turn off line filling. +.ti0 +\f5\&.DA\fP \fIx\fR nroff no `Date line' at bottom of page +is +.IR x . +Default is today. +.ti0 +\f5\&.DE\fP - yes End displayed text. +Implies +.BR .KE . +.ti0 +\f5\&.DS\fP \fIx\fR no yes Start of displayed text, +to appear verbatim line-by-line: +.L I +indented (default), +.L L +left-justified, +.L C +centered, +.L B +(block) centered with straight left margin. +Implies +.BR .KS . +.ti0 +\f5\&.EG\fP no - Print document in BTL format for `Engineer's Notes.' Must be first. +.ti0 +\f5\&.EN\fP - yes Space after equation +produced by +.I neqn +or +.IR eqn (1). +.ti0 +\f5\&.EQ\fP \fIx y\fR - yes Display equation. +Equation number is +.IR y . +Optional +.I x +is +.BR I ", " L ", " C +as in +.BR .DS . +.ti0 +\f5\&.FE\fP - yes End footnote. +.ti0 +\f5\&.FP\fP \fIx\fR - no Set font positions for a family, e.g., +.L .FP palatino +.ti0 +\f5\&.FS\fP no no Start footnote. +The note will be moved to the bottom of the page. +.ti0 +\f5\&.HO\fP - no `AT&T Bell Laboratories, Holmdel, +New Jersey 07733'. +.ti0 +\f5\&.I\fP \fIx y\fR no no Italicize +.I x, +append +.IR y ; +if no argument switch to italic. +.ti0 +\f5\&.IH\fP no no `AT&T Bell Laboratories, Naperville, Illinois 60540' +.ti0 +\f5\&.IM\fP no no Print document in BTL format for an internal memorandum. Must be first. +.ti0 +\f5\&.IP\fP \fIx y\fR no yes Start indented paragraph, +with hanging tag +.IR x . +Indentation is +.I y +ens (default 5). +.ti0 +\f5\&.KE\fP - yes End keep. +Put kept text on next page if not enough room. +.ti0 +\f5\&.KF\fP no yes Start floating keep. +If the kept text must be moved to the next page, +float later text back to this page. +.ti0 +\f5\&.KS\fP no yes Start keeping following text. +.ti0 +\f5\&.LG\fP no no Make letters larger. +.ti0 +\f5\&.LP\fP yes yes Start left-blocked paragraph. +.ti0 +\f5\&.LT\fP \fIx r p\fP no yes Start a letter with today's date. If \fIx\fP is missing, use letterhead paper; +otherwise print letterhead with room \fIr\fP and +phone \fIp\fR; +address follows. +.ti0 +\f5\&.MF\fP - - Print document in BTL format for `Memorandum for File.' Must be first. +.ti0 +\f5\&.MH\fP - no `AT&T Bell Laboratories, Murray Hill, +New Jersey 07974'. +.ti0 +\f5\&.MR\fP - - Print document in BTL format for `Memorandum for Record.' Must be first. +.ti0 +\f5\&.ND\fP \fIdate\fR troff no Use date supplied (if any) only in +special BTL format positions; omit from page footer. +.ti0 +\f5\&.NH\fP \fIn\fR - yes Same as +.BR .SH , +with automatic section +numbers like `1.2.3'; +.I n +is subsection level (default 1). +.ti0 +\f5\&.NL\fP yes no Make letters normal size. +.ti0 +\f5\&.PE\fP - yes End picture; see +.IR pic (1). +.ti0 +\f5\&.PF\fP - yes End picture; restore vertical +position. +.ti0 +\f5\&.PP\fP no yes Begin paragraph. +First line indented. +.ti0 +\f5\&.PS\fP \fIh w\fR - yes Start picture; height +and width in inches. +.ti0 +\f5\&.PY\fP - no `AT&T Bell Laboratories, Piscataway, New Jersey 08854' +.ti0 +\f5\&.QE\fP - yes End quoted material. +.ti0 +\f5\&.QP\fP - yes Begin quoted paragraph (indent both margins). +.ti0 +\f5\&.QS\fP - yes Begin quoted material (indent both margins). +.ti0 +\f5\&.R\fP yes no Roman text follows. +.ti0 +\f5\&.RE\fP - yes End relative indent level. +.ti0 +\f5\&.RP\fP no - Cover sheet and first page for released +paper. +Must precede other requests. +.ti0 +\f5\&.RS\fP - yes Start level of relative indentation +from which subsequent indentation is measured. +.ti0 +\f5\&.SG\fP \fIx\fR no yes Insert signature(s). In +.B .TM +.I x +is initials of author and typist; in +.BR .LT +.I x +is author's name. +.ti0 +\f5\&.SH\fP - yes Section head follows, +font automatically bold. +.ti0 +\f5\&.SM\fP no no Make letters smaller. +.ti0 +\f5\&.TA\fP\ \fIx\fR... 5... no Set tabs in ens. +Default is 5 10 15 ... +.ti0 +\f5\&.TE\fP - yes End table; see +.IR tbl (1). +.ti0 +\f5\&.TH\fP - yes End heading section of table. +.ti0 +\f5\&.TL\fP no yes Title follows. +.ti0 +\f5\&.TM\fP\ \fIx\fR... no - Print document in BTL technical memorandum format. +Arguments are TM number, (quoted list of) case number(s), and file number. +Must precede other requests. +.ti0 +\f5\&.TR\fP \fIx\fR - - Print in BTL technical report format; report number is \fIx\fR. Must be first. +.ti0 +\f5\&.TS\fP \fIx\fR - yes Begin table; if +.I x +is +.B H +table heading is repeated on new pages. +.ti0 +\f5\&.UL\fP \fIx\fR - no Underline argument (even in troff). +.ti0 +\f5\&.UX\fP\ \fIy z\fP - no `\fIz\fRUNIX\fIy\fP'; +first use gives registered trademark notice. +.ti0 +\f5\&.WH\fP - no `AT&T Bell Laboratories, Whippany, +New Jersey 07981'. +.ti0 +\f5\&.[\fP - no Begin reference; see +.IR refer (1). +.ti0 +\f5\&.]\fP - no End reference. +.hc diff --git a/static/v10/man6/number.6 b/static/v10/man6/number.6 new file mode 100644 index 00000000..408691ae --- /dev/null +++ b/static/v10/man6/number.6 @@ -0,0 +1,14 @@ +.TH NUMBER 6 +.CT 1 inst_info +.SH NAME +number \(mi convert Arabic numerals to English +.SH SYNOPSIS +.B number +.SH DESCRIPTION +.I Number +copies the standard input to the standard output, +replacing all decimal numbers by their spelled-out +equivalent. +Punctuation is added to make the output sound well when +played through +voice synthesizers. diff --git a/static/v10/man6/ogre.6 b/static/v10/man6/ogre.6 new file mode 100644 index 00000000..85f962a7 --- /dev/null +++ b/static/v10/man6/ogre.6 @@ -0,0 +1,128 @@ +.TH OGRE 6 +.SH NAME +ogre \- war game +.SH SYNOPSIS +.B /usr/games/ogre +[ +.I type +] +.SH DESCRIPTION +Ogre is a game of tank warfare in the 21st century. +You command a force of infantry, armor, and howitzers pitted against a giant +cybernetic tank, the Ogre. +Your mission is to destroy the Ogre, or at least render it immobile, before it +reaches and destroys your command post. +.PP +A more complete reference on how to play can be found in the Ogre rule book for +the Metagaming MicroGame, now distributed by Steve Jackson's company. +Here's some very sketchy and incomplete documentation for Ogre players: +.PP +The game has the following phases: +.PP +1) Initialization. +The player's armor units, infantry, and command post are placed on the map. +Nothing can be placed on the leftmost 7 columns of hexes, or on craters (*'s), +or on any unit already placed. +Valid commands are: +.nf + w e + a d (hex movement keys) + z x + place a: + H howitzer + T heavy tank + M missile tank + G GEV + I Infantry unit (attack strength 3) + C Command Post +.fi +on the space currently pointed at by the cursor. +Note that these are capital letters. +.PP +Units are displayed as these characters, except infantry, which appear +as '1', '2', or '3' depending on their attack strength. +.PP +2) The Ogre (an O) now appears. +.PP +3) You are given the opportunity to move all your vehicles and infantry that +can move. +The cursor motion keys are used to move the unit indicated by the cursor. +Additionally, 's' or ' ' can be used to let a vehicle stay motionless. +No vehicle can move through a crater hex, or into a hex occupied by another +friendly unit on its last turn, although it can move through a friendly hex on +its way elsewhere. +Moving through the hex occupied by the Ogre is an attempt to ram the Ogre. +This reduces the Ogre's treads by some amount, and destroys the unit. +.PP +4) You now fire all your vehicles in range at designated targets on the Ogre. +The following commands are used: +.TP +.B m +fire at missiles +.TP +.B b +fire at main batteries +.TP +.B s +fire at secondary batteries +.TP +.B a +fire at anti-personnel guns +.TP +.B t +fire at treads +.PP +The odds of destroying the target are displayed, but no action is taken +until 'r' is used, or until you run out of attack points (except for attacks on +treads \- see below). +(In the odds display, '+' means a sure thing.) +.TP +.B p +Pass. +The unit is passed over, and given the opportunity to fire later. +.TP +.B r +resolve all allocations so far, and display the results. +This is implied by 't', as tread attacks cannot be grouped. +A resolve is done automatically when you run out of attacking units. +.PP +5) Second movement phase for GEVs. +Just like step 3, except that only GEVs can move. +.PP +6) The Ogre moves. +If it runs over any of your units, they are damaged or destroyed. +.PP +7) The Ogre fires at all units in range. +Destroyed units are removed from the map. +Disabled units are displayed in lower case, and may not move or fire until the +end of the NEXT Ogre attack. +.PP +Steps 3 through 7 are repeated until either +a) the Ogre has no movement points left, in which case you win, or +b) your command post is destroyed, in which case the Ogre wins. +.SH MISCELLANEOUS +.PP +The display "a/r Dd Mm" means the unit concerned attacks at a, at range r, +defends at d, and moves m hexes per turn. +.PP +The Ogre by default is a Mark III. +An argument of '5' on the command line makes it a Mark V, and gives you more +armor points. +.PP +The game can be interrupted at any point with a control-C. +There's now no way to restart. +.PP +The paper game is copyright (c) 1977 by Steve Jackson. +This computer implementation is copyright (c) 1984 by Michael Caplinger. +.SH AUTHOR +Michael Caplinger, Rice University (mike@rice.ARPA), from a Microgame of the +same name published by Metagaming of Austin, Texas, and written by Steve +Jackson. +This implementation is not authorized in any way by Mr. Jackson, and should not +be sold for profit. +.SH SEE ALSO +.IR termcap (5) +.SH BUGS +.PP +The Ogre sometimes gets confused and doesn't know where to go, so it oscillates +from one hex to another, and then back. diff --git a/static/v10/man6/ov.6 b/static/v10/man6/ov.6 new file mode 100644 index 00000000..3c1ac206 --- /dev/null +++ b/static/v10/man6/ov.6 @@ -0,0 +1,21 @@ +.th OV VI 6/12/72 +.sh NAME +ov \*- overlay pages +.sh SYNOPSIS +.bd ov +[ file ] +.sh DESCRIPTION +.it Ov +is a postprocessor for producing double column formatted +text when using nroff(I). +.it Ov +literally overlays successive pairs of 66-line pages. +.s3 +If the file argument is missing, +the standard input is used. +Thus +.it ov +may be used as a filter. +.sh "SEE ALSO" +nroff(I), pr(I) +.sh BUGS diff --git a/static/v10/man6/ptx.6 b/static/v10/man6/ptx.6 new file mode 100644 index 00000000..c79ba8b3 --- /dev/null +++ b/static/v10/man6/ptx.6 @@ -0,0 +1,36 @@ +.pa 1 +.he 'PTX (VI)'3/15/72'PTX (VI)' +.ti 0 +NAME ptx -- permuted index +.sp +.ti 0 +SYNOPSIS ptx___ input output +.sp +.ti 0 +DESCRIPTION ptx___ +generates a permuted index from file input_____ on file output______. +It has three phases: the first does the permutation, generating +one line for each keyword in an input line. The +keyword is rotated to the front. +The permuted file is then +sorted. +Finally the sorted lines are rotated so the keyword +comes at the middle of the page. + +input_____ should be edited to remove useless lines. +The following words are suppressed: "a", "and", "as", +"is", "for", "of", "on", "or", "the", "to", "up". + +The index for this manual was generated using ptx___. +.sp +.ti 0 +FILES -- +.sp +.ti 0 +SEE ALSO sort(I) +.sp +.ti 0 +DIAGNOSTICS some +.sp +.ti 0 +BUGS -- diff --git a/static/v10/man6/quiz.6 b/static/v10/man6/quiz.6 new file mode 100644 index 00000000..0a1ff4f1 --- /dev/null +++ b/static/v10/man6/quiz.6 @@ -0,0 +1,86 @@ +.TH QUIZ 6 +.CT 1 inst_info +.SH NAME +quiz \- test your knowledge +.SH SYNOPSIS +.B /usr/games/quiz +[ +.B \-i +.I file +] +[ +.B \-t +] +[ +.I category1 category2 +] +.SH DESCRIPTION +.I Quiz +gives associative +knowledge tests on various subjects. +It asks items chosen from +.I category1 +and expects answers from +.IR category2 . +If no categories are specified, +.I quiz +gives instructions +and lists the available categories. +.PP +.I Quiz +tells a correct answer whenever you type +a bare newline. +At the end of input, upon interrupt, +or when questions run out, +it reports a score and terminates. +.PP +The +.B \-t +flag specifies `tutorial' mode, +where missed questions are repeated +later, and material is gradually introduced as you learn. +.PP +The +.B \-i +flag causes the named file to be substituted for the +default index file. +The lines of these files have the syntax: +.IP +.nf +.ta \w'alternate 'u +line = category newline \(bv category `:' line +category = alternate \(bv category `|' alternate +alternate = empty \(bv alternate primary +primary = character \(bv `[' category `]' \(bv option +option = `{' category `}' +.fi +.PP +The first category on each +line of an index file names an information file. +The remaining categories specify the order and contents of +the data in each line of the +information file. +Information files have the same syntax. +Backslash +.L \e +is used as with +.IR sh (1) +to quote syntactically +significant characters or to insert transparent +newlines into a line. +When either a question or its answer is empty, +.I quiz +will refrain from asking it. +.SH FILES +.F /usr/games/lib/quiz.k/* +.SH BUGS +The construct +.L a|ab +doesn't work in an information +file. +Use +.LR a{b} +or +.LR ab|a . +.br +Case distinctions cannot be checked even when they count. diff --git a/static/v10/man6/rain.6 b/static/v10/man6/rain.6 new file mode 100644 index 00000000..6218f41f --- /dev/null +++ b/static/v10/man6/rain.6 @@ -0,0 +1 @@ +@(#)rain.6 1.3 diff --git a/static/v10/man6/redcode.6 b/static/v10/man6/redcode.6 new file mode 100644 index 00000000..3f9724d4 --- /dev/null +++ b/static/v10/man6/redcode.6 @@ -0,0 +1,80 @@ +.TH REDCODE 6 5/20/84 +.CM 3 +.SH NAME +redcode \- assembler for mars game +.SH SYNOPSIS +.I redcode +.I file ... +.SH DESCRIPTION +.I Redcode +is an assembler for the +assembly language given by Kee Dewdney in the +`Computer Recreations', +.I Scientific American, +May, 1984. +The command line lists of source file names ending in +.LR .red . +They are assembled into corresponding +object files with names ending in +.LR .obj . +.PP +A source file consists of a +.L name +directive giving the program's name, +then any number of program and data statements, +then an +.L end +directive that gives the starting location of the program. +Statements have the following syntax: +.IP +[label] opcode arg1 [arg2] [; comment] +.PP +There are three addressing modes; +all address calculations are done modulo 8000. +.LP +.nf +.I +Syntax Meaning +#[0-9]+ immediate +[0-9]+ relative +@[0-9]+ indirect, relative +.PP +The following opcodes are implemented, along with the corresponding +semantics specified in pseudo-C: +.PP +.nf +.I +Instruction Mnem Opcode Args Explanation +Move mov 1 A B B=A +Add add 2 A B B+=A +Subtract sub 3 A B B-=A +Jump jmp 4 A PC=A +Jump if zero jmz 5 A B PC=(B==0)?A:PC+1 +Jump if greater jmg 6 A B PC=(B<4000)?A:PC+1 +Dec, Jmp if 0 djz 7 A B PC=(--B==0)?A:PC+1 +Compare cmp 8 A B PC=(A==B)?PC+1:PC+2 +.PP +The following non-executable directives may be used +to reserve and initialize data space: +.PP +.I +Directive Mnem Arg Explanation +Buffer space bss n Reserve n words +Data data A Initialize 1 word +Name name 't' Name of program +End end start Specify starting location +.PP +The program was written by Paul Milazzo at Rice. +For documentation on the object code format, see +.IR mars (6). +.SH EXAMPLES +.EX + name 'dwarf' +site data -1 ; address of last 0 'bomb' +start add #5 site ; move site forward + mov #0 @site ; write 0 'bomb' + jmp start ; loop + end start +.EE +.SH SEE ALSO +.IR mars (6) diff --git a/static/v10/man6/sail.6 b/static/v10/man6/sail.6 new file mode 100644 index 00000000..132acef2 --- /dev/null +++ b/static/v10/man6/sail.6 @@ -0,0 +1,560 @@ +.. @(#)sail.m 1.1 83/03/17 +.TH SAIL 6 +.UC 4 +.SH NAME +sail \- multi-user wooden ships and iron men +.SH SYNOPSIS +.B sail +[ +.B \-x +] [ +.B num +] +.br +.fi +.SH DESCRIPTION +.I Sail +is a computer version of Avalon Hill's game of fighting sail +originally developed by S. Craig Taylor. +.SH NOTES +.I Sail +is really two programs in one. Each player keeps track of his +own ship plus a +.I DRIVER +program is execl'd (by the first player) to keep track of the +computer's ships. +.PP +The player is given the first available ship in a scenario and the +computer takes the rest. Obviously the more ships in your game, the +longer the +.I DRIVER +will take to move them. If additional players join the game, they +will be given ships and the +.I DRIVER +will have less work to do. +.SH HISTORICAL INFO +Old Square Rigger's were very maneuverable ships capable of intricate +sailing. Their one main disadvantage was being unable to sail very +close to the wind. The design of wooden ship allowed only for the +guns to bear to the left and right sides. A few guns of small +aspect (usually 6 or 9 pounders) could point forward, but their +effect would be small compared to a 68 gun broadside of 24 pounders. +The guns bear approximately like so: +.nf + + \\ + b---------------- + ---0 + \\ + \\ + \\ up to a range of ten (for round shot) + \\ + \\ + \\ + +.fi +.bp +An interesting phenomenon occurred when a broadside could fire +down the length of an enemy ship. The shot tended to bounce along +the deck and did several times more damage. This phenomenon was called +a rake. It happened that a stern rake (firing from the stern to the +bow) occasioned more damage than a bow rake, so that was the most +desirable. +.nf + + \\ + b---------------- + ---0 + \\ + \\ 0a --- Stern rake! + \\ + \\ + \\ + \\ + \\ + +.fi +Most ships were equipped with Carronades which were very large, close +range cannons. The carronades have a range of two in this game and can +considerably add to your fire-power when they come to bear. +If the distance to the target ship is greater than 6, the guns +can only fire at the rigging. +A ship's guns could fire a variety of ammunition. For example: +.SH ROUND +Range of 10. Good for hull or rigging hits. +.SH DOUBLE +Range of 1. Extra good for hull or rigging hits. +Double takes two turns to load. +.SH CHAIN +Range of 3. Excellent for tearing down rigging. +Cannot damage hull or guns, though. +.SH GRAPE +Range of 1. Devastating against enemy crews. +.PP +When a ship has been battered into a hulk (zero hull), it has no +choice but to surrender to the firing ship. This ceremony is called +\'striking your colours.\' A struck ship has a chance of exploding or +sinking after a while. When a ship surrenders, its point value is +given to the aggressor. When a ship is captured, twice the point +value is awarded the victor. +.PP +Normally, ships sailed into battle with greatly shortened sail to +avoid excessive damage to the precious rigging. However, in this game +the player can increase to full sails and move much faster if he wishes. +But, all rigging hits incurred with full sails set are doubled. +The direction rose displayed on the sample screen gives the maximum +speeds possible for a specific ship at all attitudes to the wind. +The full sail speeds are in parenthesis. +.PP +Repairs can be made at the slow rate of two (hull, gun, or rigging) +hits restored per three turns. +.PP +Ships of class 3 or greater drift when there is wind at the rate of +one \'square\' per turn. Ships of the Line drift one \'square\' +every other turn. +.SH INSTRUCTIONS +.I Sail +follows the Avalon Hill advanced rules very closely using the +optional rules for 'exploding ships', 'full sails', and some others. +A few unique commands have been added which seemed to be helpful on +the reduced screen. 'i' is such a command. +.PP +Boarding had to go through a major revision. To prevent immediate +capture of an unprepared crew (fouling is often not reported until +after boarding has commenced) the boarded ship automatically fights +defensively (at a small disadvantage) if no DBP's have been prepared. +.PP +The Order of Play has been eliminated for the player, but the +.I DRIVER +still abides by it. +.PP +The commands for the player were designed to be as intelligent as +possible to save typing. Some of the nuances I developed should be +explained. +.nf + + ~ Your prompt + +The others I will illustrate with examples. + + move(3, 2): r1l /* 3 movements max, of which two + may be 45' turns. */ + + move(3,'2): 1r1 /* 3 movements max of which two may + be 45' turns, but the ship must + move ahead before turning (there + is a loss of headway after + drifting) */ + + move(0,'0): r /* You can always make one turn + even when you can't move straight + ahead. */ + +.fi +If you are grappled, fouled, or out of crew, you cannot move of course. +.bp +.SH COMMANDS +.nf + + 'f' Fire broadsides if they bear + 'l' Reload + 'm' Move (see above & below) + 'i' Ask lookout for closest ship + 'I' Ask lookout for closest enemy ship + 's' Send a message around the fleet + 'b' Attempt to board an enemy ship + 'L' Unload broadsides (to change ammo) + 'B' Recall boarding parties + 'c' Change set of sail + 'r' Repair + 'u' Attempt to unfoul + 'g' Grapple/ungrapple + '^L' Redraw screen + 'q' Quit + +.fi +.bg +.SH SCENARIOS +.br +.SH Ranger vs. Drake: +.nf +Wind from the N, blowing a fresh breeze. + +(a) Ranger 19 gun Sloop (crack crew) (7 pts) +(b) Drake 17 gun Sloop (crack crew) (6 pts) +.SH The Battle of Flamborough Head: +.nf +Wind from the S, blowing a fresh breeze. + +.fi +This is John Paul Jones' first famous battle. Aboard the Bonhomme +Richard, he was able to overcome the Serapis's greater firepower +by quickly boarding her. +.nf + +(a) Bonhomme Rich 42 gun Corvette (crack crew) (11 pts) +(b) Serapis 44 gun Frigate (crack crew) (12 pts) +.SH Arbuthnot and Des Touches: +.nf +Wind from the N, blowing a gale. + +(b) America 64 gun Ship of the Line (crack crew) (20 pts) +(b) Befford 74 gun Ship of the Line (crack crew) (26 pts) +(b) Adamant 50 gun Ship of the Line (crack crew) (17 pts) +(b) London 98 gun 3 Decker SOL (crack crew) (28 pts) +(b) Royal Oak 74 gun Ship of the Line (crack crew) (26 pts) +(f) Neptune 74 gun Ship of the Line (average crew) (24 pts) +(f) Duc Bougogne 80 gun 3 Decker SOL (average crew) (27 pts) +(f) Conquerant 74 gun Ship of the Line (average crew) (24 pts) +(f) Provence 64 gun Ship of the Line (average crew) (18 pts) +(f) Romulus 44 gun Ship of the Line (average crew) (10 pts) +.SH Suffren and Hughes: +.nf + +Wind from the S, blowing a fresh breeze. + +(b) Monmouth 74 gun Ship of the Line (average crew) (24 pts) +(b) Hero 74 gun Ship of the Line (crack crew) (26 pts) +(b) Isis 50 gun Ship of the Line (crack crew) (17 pts) +(b) Superb 74 gun Ship of the Line (crack crew) (27 pts) +(b) Burford 74 gun Ship of the Line (average crew) (24 pts) +(f) Flamband 50 gun Ship of the Line (average crew) (14 pts) +(f) Annibal 74 gun Ship of the Line (average crew) (24 pts) +(f) Severe 64 gun Ship of the Line (average crew) (18 pts) +(f) Brilliant 80 gun Ship of the Line (crack crew) (31 pts) +(f) Sphinx 80 gun Ship of the Line (average crew) (27 pts) +.SH Nymphe vs. Cleopatre: +.nf +Wind from the S, blowing a fresh breeze. + +(b) Nymphe 36 gun Frigate (crack crew) (11 pts) +(f) Cleopatre 36 gun Frigate (average crew) (10 pts) +.SH Mars vs. Hercule: +Wind from the S, blowing a fresh breeze. +.nf +(b) Mars 74 gun Ship of the Line (crack crew) (26 pts) +(f) Hercule 74 gun Ship of the Line (average crew) (23 pts) +.SH Ambuscade vs. Baionnaise: +.nf +Wind from the N, blowing a fresh breeze. + +(b) Ambuscade 32 gun Frigate (average crew) (9 pts) +(f) Baionnaise 24 gun Corvette (average crew) (9 pts) +.SH Constellation vs. Insurgent: +.nf +Wind from the S, blowing a gale. + +(a) Constellation 38 gun Corvette (elite crew) (17 pts) +(f) Insurgent 36 gun Corvette (average crew) (11 pts) +.SH Constellation vs. Vengeance: +.nf +Wind from the S, blowing a fresh breeze. + +(a) Constellation 38 gun Corvette (elite crew) (17 pts) +(f) Vengeance 40 gun Frigate (average crew) (15 pts) +.SH The Battle of Lissa: +.nf +Wind from the S, blowing a fresh breeze. + +(b) Amphion 32 gun Frigate (elite crew) (13 pts) +(b) Active 38 gun Frigate (elite crew) (18 pts) +(b) Volage 22 gun Frigate (elite crew) (11 pts) +(b) Cerberus 32 gun Frigate (elite crew) (13 pts) +(f) Favorite 40 gun Frigate (average crew) (15 pts) +(f) Flore 40 gun Frigate (average crew) (15 pts) +(f) Danae 40 gun Frigate (crack crew) (17 pts) +(f) Bellona 32 gun Frigate (green crew) (9 pts) +(f) Corona 40 gun Frigate (green crew) (12 pts) +(f) Carolina 32 gun Frigate (green crew) (7 pts) +.SH Constitution vs. Guerriere: +.nf +Wind from the SW, blowing a gale. + +(a) Constitution 44 gun Corvette (elite crew) (24 pts) +(b) Guerriere 38 gun Frigate (crack crew) (15 pts) +.SH United States vs. Macedonian: +.nf +Wind from the S, blowing a fresh breeze. + +(a) United States 44 gun Frigate (elite crew) (24 pts) +(b) Macedonian 38 gun Frigate (crack crew) (16 pts) +.SH Constitution vs. Java: +.nf +Wind from the S, blowing a fresh breeze. + +(a) Constitution 44 gun Corvette (elite crew) (24 pts) +(b) Java 38 gun Corvette (crack crew) (19 pts) +.SH Chesapeake vs. Shannon: +.nf +Wind from the S, blowing a fresh breeze. + +(a) Chesapeake 38 gun Frigate (average crew) (14 pts) +(b) Shannon 38 gun Frigate (elite crew) (17 pts) +.SH The Battle of Lake Erie: +.nf +Wind from the S, blowing a light breeze. + +(a) Lawrence 20 gun Sloop (crack crew) (9 pts) +(a) Niagara 20 gun Sloop (elite crew) (12 pts) +(b) Lady Prevost 13 gun Brig (crack crew) (5 pts) +(b) Detroit 19 gun Sloop (crack crew) (7 pts) +(b) Q. Charlotte 17 gun Sloop (crack crew) (6 pts) +.SH Wasp vs. Reindeer: +.nf +Wind from the S, blowing a light breeze. + +(a) Wasp 20 gun Sloop (elite crew) (12 pts) +(b) Reindeer 18 gun Sloop (elite crew) (9 pts) +.SH Constitution vs. Cyane and Levant: +.br +Wind from the S, blowing a moderate breeze. + +(a) Constitution 44 gun Corvette (elite crew) (24 pts) +(b) Cyane 24 gun Sloop (crack crew) (11 pts) +(b) Levant 20 gun Sloop (crack crew) (10 pts) +.br +.SH Pellew vs. Droits de L'Homme: +.nf +Wind from the N, blowing a gale. + +(b) Indefatigable 44 gun Frigate (elite crew) (14 pts) +(b) Amazon 36 gun Frigate (crack crew) (14 pts) +(f) Droits L'Hom 74 gun Ship of the Line (average crew) (24 pts) +.SH Algeciras: +.nf +Wind from the SW, blowing a moderate breeze. + +(b) Caesar 80 gun Ship of the Line (crack crew) (31 pts) +(b) Pompee 74 gun Ship of the Line (crack crew) (27 pts) +(b) Spencer 74 gun Ship of the Line (crack crew) (26 pts) +(b) Hannibal 98 gun 3 Decker SOL (crack crew) (28 pts) +(s) Real-Carlos 112 gun 3 Decker SOL (green crew) (27 pts) +(s) San Fernando 96 gun 3 Decker SOL (green crew) (24 pts) +(s) Argonauta 80 gun Ship of the Line (green crew) (23 pts) +(s) San Augustine 74 gun Ship of the Line (green crew) (20 pts) +(f) Indomptable 80 gun Ship of the Line (average crew) (27 pts) +(f) Desaix 74 gun Ship of the Line (average crew) (24 pts) +.SH Lake Champlain: +.nf +Wind from the N, blowing a fresh breeze. + +(a) Saratoga 26 gun Sloop (crack crew) (12 pts) +(a) Eagle 20 gun Sloop (crack crew) (11 pts) +(a) Ticonderoga 17 gun Sloop (crack crew) (9 pts) +(a) Preble 7 gun Brig (crack crew) (4 pts) +(b) Confiance 37 gun Frigate (crack crew) (14 pts) +(b) Linnet 16 gun Sloop (elite crew) (10 pts) +(b) Chubb 11 gun Brig (crack crew) (5 pts) +.SH Last Voyage of the USS President: +.nf +Wind from the N, blowing a fresh breeze. + +(a) President 44 gun Frigate (elite crew) (24 pts) +(b) Endymion 40 gun Frigate (crack crew) (17 pts) +(b) Pomone 44 gun Frigate (crack crew) (20 pts) +(b) Tenedos 38 gun Frigate (crack crew) (15 pts) +.SH Hornblower and the Natividad: +.nf +Wind from the E, blowing a gale. + +.fi +A scenario for you Horny fans. Remember, he sank the Natividad +against heavy odds and winds. Hint: don't try to board the Natividad, +her crew is much bigger, albeit green. +.nf + +(b) Lydia 36 gun Frigate (elite crew) (13 pts) +(s) Natividad 50 gun Ship of the Line (green crew) (14 pts) +.SH Curse of the Flying Dutchman: +.nf +Wind from the S, blowing a fresh breeze. + +Just for fun, take the Piece of cake. + +(s) Piece of Cake 24 gun Corvette (average crew) (9 pts) +(f) Flying Dutchy 120 gun 3 Decker SOL (elite crew) (43 pts) +.SH The South Pacific: +.nf +Wind from the S, blowing a strong breeze. + +(a) USS Scurvy 136 gun 3 Decker SOL (mutinous crew) (27 pts) +(b) HMS Tahiti 120 gun 3 Decker SOL (elite crew) (43 pts) +(s) Australian 32 gun Frigate (average crew) (9 pts) +(f) Bikini Atoll 7 gun Brig (crack crew) (4 pts) +.SH Hornblower and the battle of Rosas bay: +.nf +Wind from the E, blowing a fresh breeze. + +The only battle Hornblower ever lost. He was able to dismast one +ship and stern rake the anothers though. See if you can do as well. +.nf + +(b) Sutherland 74 gun Ship of the Line (crack crew) (26 pts) +(f) Turenne 80 gun 3 Decker SOL (average crew) (27 pts) +(f) Nightmare 74 gun Ship of the Line (average crew) (24 pts) +(f) Paris 112 gun 3 Decker SOL (green crew) (27 pts) +(f) Napolean 74 gun Ship of the Line (green crew) (20 pts) +.SH Cape Horn: +.nf +Wind from the NE, blowing a strong breeze. + +(a) Concord 80 gun Ship of the Line (average crew) (27 pts) +(a) Berkeley 98 gun 3 Decker SOL (crack crew) (28 pts) +(b) Thames 120 gun 3 Decker SOL (elite crew) (43 pts) +(s) Madrid 112 gun 3 Decker SOL (green crew) (27 pts) +(f) Musket 80 gun 3 Decker SOL (average crew) (27 pts) +.SH New Orleans: +.nf +Wind from the SE, blowing a fresh breeze. + +Watch that little Cypress go! + +(a) Alligator 120 gun 3 Decker SOL (elite crew) (43 pts) +(b) Firefly 74 gun Ship of the Line (crack crew) (27 pts) +(b) Cypress 44 gun Frigate (elite crew) (14 pts) +.SH Botany Bay: +.nf +Wind from the N, blowing a fresh breeze. + +(b) Shark 64 gun Ship of the Line (average crew) (18 pts) +(f) Coral Snake 44 gun Corvette (elite crew) (24 pts) +(f) Sea Lion 44 gun Frigate (elite crew) (24 pts) +.SH Voyage to the Bottom of the Sea: +.nf +Wind from the NW, blowing a fresh breeze. + +This one is dedicated to David Hedison. + +(a) Seaview 120 gun 3 Decker SOL (elite crew) (43 pts) +(a) Flying Sub 40 gun Frigate (crack crew) (17 pts) +(b) Mermaid 136 gun 3 Decker SOL (mutinous crew) (27 pts) +(s) Giant Squid 112 gun 3 Decker SOL (green crew) (27 pts) +.SH Frigate Action: +.nf +Wind from the E, blowing a fresh breeze. + +(a) Killdeer 40 gun Frigate (average crew) (15 pts) +(b) Sandpiper 40 gun Frigate (average crew) (15 pts) +(s) Curlew 38 gun Frigate (crack crew) (16 pts) +.SH The Battle of Midway: +.nf +Wind from the E, blowing a moderate breeze. + +(a) Enterprise 80 gun Ship of the Line (crack crew) (31 pts) +(a) Yorktown 80 gun Ship of the Line (average crew) (27 pts) +(a) Hornet 74 gun Ship of the Line (average crew) (24 pts) +(f) Akagi 112 gun 3 Decker SOL (green crew) (27 pts) +(f) Kaga 96 gun 3 Decker SOL (green crew) (24 pts) +(f) Soryu 80 gun Ship of the Line (green crew) (23 pts) +.SH EXAMPLE OF MOVE: +.nf + + / Max distance (including turns) + / Max number of 45 degree turns (one at a time only) + / / +Move(3, 2): r1l /* move right, ahead, left + * + * 0 START + * b + *-------------------------- + * + * b0 RIGHT + *-------------------------- + * + * b0 ONE + *-------------------------- + * 0 + * b LEFT + *-------------------------- + +.fi +.SH SAMPLE GAME: +.nf + +% sail +Choose a scenario: + + +NUMBER SHIPS IN PLAY TITLE +0): 2 no Ranger vs. Drake +1): 2 no The Battle of Flamborough Head +2): 10 no Arbuthnot and Des Touches +3): 10 no Suffren and Hughes +4): 2 no Nymphe vs. Cleopatre +5): 2 no Mars vs. Hercule +6): 2 no Ambuscade vs. Baionnaise +7): 2 no Constellation vs. Insurgent +8): 2 no Constellation vs. Vengeance +9): 10 no The Battle of Lissa +10): 2 no Constitution vs. Guerriere +11): 2 no United States vs. Macedonian +12): 2 no Constitution vs. Java +13): 2 no Chesapeake vs. Shannon +14): 5 no The Battle of Lake Erie +15): 2 no Wasp vs. Reindeer +16): 3 no Constitution vs. Cyane and Levant +17): 3 no Pellew vs. Droits de L'Homme +18): 10 no Algeciras +19): 7 no Lake Champlain +20): 4 no Last Voyage of the USS President +21): 2 no Hornblower and the Natividad +22): 2 no Curse of the Flying Dutchman +23): 4 no The South Pacific +24): 5 no Hornblower and the battle of Rosas bay +25): 5 no Cape Horn +26): 3 no New Orleans +27): 3 no Botany Bay +28): 4 no Voyage to the Bottom of the Sea +29): 3 no Frigate Action +30): 6 no The Battle of Midway + +Scenario number? 21 +Your ship is the Lydia, a 36 gun Frigate (elite crew). +Your name, Captain? Dave #1 + +Initial broadside left (grape, chain, round, double): d + +Initial broadside right (grape, chain, round, double): r + +Class 3 (36 guns) Frigate 'Lydia' (b0) Points: 0 Fouls: 0 Grapples: 0 +-------------------------------------------------------------------------------- +| | +| | +| ~0 -- a sinking ship | +| 0 | +| b #1 -- an exploding ship | +| ^ | +| bow of Lydia |----------------------| +| | wind speed -5+| +| | and direction | +| | (blowing from right) | +| ! -- a struck ship S0 |----------------------| +| 1 \\ | +| stern of Natividad | +| Natividad has full sails set. | +| | +------------------------------------Turn 0-------------------------------------- +Aye aye, Sir load: port and starboard - Load D! R! 0 1(1) +~ Hull 9 \|/ + crew: 3 sections --------- Crew 4 4 2 -^-1(1) + guns: port and starboard - Guns 4 4 /|\ + carronades: port and starboard --- Carr 2 2 | 3(5) + rigging 4 masts ---------- Rigg 5 5 5 5 2(4) +.fi +.SH "Ken Arnold Code" +curses library (pu!) +.SH Author +Dave Riggle +.SH "Bug-author" +Ed Wang (pronounced Wong) +.SH Refitting +Craig Leres +.SH Consultants +.nf +Chris Guthrie +Captain Happy +Nancy Reagan +.fi +.SH "SEE ALSO" +midway(PUBLIC) +.SH BUGS diff --git a/static/v10/man6/sfs.6 b/static/v10/man6/sfs.6 new file mode 100644 index 00000000..9c45cb25 --- /dev/null +++ b/static/v10/man6/sfs.6 @@ -0,0 +1,43 @@ +.th SFS VI 6/25/73 +.sh NAME +sfs \*- structured file scanner +.sh SYNOPSIS +.bd sfs +filename [ \*- ] +.sh DESCRIPTION +.it Sfs +provides an interactive program for scanning and pactching a structured +file. If the second argument is supplied, the file is block addressed. +.s3 +Some features of +.it sfs +include. +.br +.lp +5 3 +1. It provides interactive and preprogramed operation. +.br +.lp +5 3 +2. It provides expression evaluation (32 bit precision) and branching. +.br +.lp +5 3 +3. It provides the ability to assimulate a large set of +heirarchical structure definitions. +.br +.lp +5 3 +4. It provides the ability to locate, to dump, and to patch +specific instances of structure in the file. +Furthermore, +in the +dump and patch operations the external form of the structure +is selected by the user. +.br +.lp +5 3 +5. It provides the ability to escape to the +UNIX +command level to allow the use of other +UNIX +debugging aids. +.i0 +.sh "SEE ALSO" +``SFS reference manual'' (internal memorandum) +.sh BUGS diff --git a/static/v10/man6/sky.6 b/static/v10/man6/sky.6 new file mode 100644 index 00000000..eb6fdf19 --- /dev/null +++ b/static/v10/man6/sky.6 @@ -0,0 +1,81 @@ +.th SKY VI 9/22/73 +.sh NAME +sky \*- obtain ephemerides +.sh SYNOPSIS +.bd sky +.sh DESCRIPTION +.it Sky +predicts the apparent locations +of the Sun, the Moon, the planets out to Saturn, +stars of magnitude at least 2.5, +and certain other celestial objects +including comet Kohoutek and M31. +.it Sky +reads the standard input to obtain +a GMT time typed +on one line with blanks separating +year, month number, day, hour, and minute; +if the year is missing the current year is used. +If a blank line is typed the current time is used. +The program prints the +azimuth, elevation, and magnitude +of objects which are above the horizon +at the ephemeris location of Murray Hill +at the indicated time. +.s3 +Placing a ``1'' input after the minute entry +causes the program to print out the Greenwich Sidereal +Time at the indicated moment and +to print for each body +its right ascension and +declination as well as its azimuth and elevation. +Also, instead of the magnitude, +the geocentric distance of the body, in units the program +considers convenient, is printed. +(For planets the unit is essentially A. U.) +.s3 +The magnitudes of Solar System bodies are not calculated +and are given as 0. +The effects of atmospheric extinction +are not included; +the mean magnitudes +of variable stars are marked with ``*''. +.s3 +For all bodies, the program takes into account +precession and nutation of the equinox, +annual (but not diurnal) aberration, diurnal +parallax, +and the proper motion of stars (but not annual parallax). +In no case is refraction included. +.s3 +The program takes into account perturbations +of the Earth due to the Moon, Venus, Mars, and Jupiter. +The expected accuracies +are: +for the Sun and other stellar bodies +a few tenths of seconds of arc; +for the Moon (on which particular care is lavished) +likewise a few tenths of seconds. +For the Sun, Moon and stars the accuracy is sufficient +to predict the circumstances of eclipses and occultations +to within a few seconds of time. +The planets may be off by several minutes of arc. +.s3 +Information about the program +may be obtained from its author. +.sh FILES +/usr/lib/startab, /usr/lib/moontab +.sh "SEE ALSO" +azel (VI) +.br +.ft I +American Ephemeris and Nautical Almanac, +.ft R +for the appropriate years; +also, the +.ft I +Explanatory Supplement to the American Ephemeris +and Nautical Almanac. +.ft R +.sh AUTHOR +R. Morris diff --git a/static/v10/man6/snake.6 b/static/v10/man6/snake.6 new file mode 100644 index 00000000..9578871b --- /dev/null +++ b/static/v10/man6/snake.6 @@ -0,0 +1,45 @@ +.TH SNAKE 6 +.CT 1 games +.SH NAME +snake, worm \- display chase games +.SH SYNOPSIS +.B /usr/games/snake +.PP +.B /usr/games/worm +.SH DESCRIPTION +.I Snake +must be played on +a HP2621 terminal or equivalent. +The object of the game is to make as much money as possible without +getting eaten by the snake. +.PP +You are represented on the screen by +.BR I . +The snake is 6 squares long, each marked +.BR S . +The money is +.BR $ +and an exit is +.BR # . +Your score is posted in the upper left hand corner. +.PP +You can move around using keys +.L h j k l +for left, up, down, right. +To earn money, move to the same square the money is on. +A new +.B $ +will appear when you earn the current one. +As you get richer, the snake gets hungrier. +To leave the game, move to the exit. +.PP +.I Worm +also requires a 2621-compatible terminal. +Once started, with +.L h j k l +keys as for +.I snake, +the worm moves forward unless directed otherwise. +The object is to collect points displayed on the screen +without running into the wall or any part of the worm itself. +The points are added to the worm's length. diff --git a/static/v10/man6/spline.6 b/static/v10/man6/spline.6 new file mode 100644 index 00000000..e2f2ec71 --- /dev/null +++ b/static/v10/man6/spline.6 @@ -0,0 +1,57 @@ +.th SPLINE VI 10/20/73 +.sh NAME +spline \*- interpolate smooth curve +.sh SYNOPSIS +.bd spline +[ option ] ... +.sh DESCRIPTION +.it Spline +takes pairs of numbers from the standard input as abcissas and ordinates +of a function. +It produces a similar set, which +is approximately equally spaced and +includes the input set, on the standard output. +The cubic spline output +(R. W. Hamming, +.ft I +Numerical Methods for Engineers and Scientists, +.ft R +2nd ed., 349ff) +has two continuous derivatives, +and sufficiently many points to look smooth when plotted, for +example by +.it plot +(I). +.s3 +The following options are recognized, +each as a separate argument. +.s3 +.lp +5 5 +\fBa\fR Supply abscissas automatically (they are missing from +the input); spacing is given by the next +argument, or is assumed to be 1 if next argument is not a number. +.s3 +.lp +5 5 +\fBn\fR Output approximately +.it n +points, where +.it n +is given by the next argument. +(Default +.it n += 100.) +.s3 +.lp +5 5 +\fBp\fR Make output periodic, i.e. match +derivatives at ends. +First and last input values should normally agree. +.s3 +.lp +5 5 +\fBx\fR Next 1 (or 2) arguments are lower (and upper) \fIx\fR limits. +.i0 +.sh "SEE ALSO" +plot(I) +.sh AUTHOR +M. D. McIlroy +.sh BUGS +A limit of 1000 input points is enforced silently. diff --git a/static/v10/man6/term.6 b/static/v10/man6/term.6 new file mode 100644 index 00000000..4354df9a --- /dev/null +++ b/static/v10/man6/term.6 @@ -0,0 +1,71 @@ +.TH TERM 6 +.CT 1 comm_term +.SH NAME +terminals \- conventional names +.SH DESCRIPTION +These names +are used by certain commands and are maintained +as part of the shell environment; see +.IR sh (1), +.IR environ (5). +.TF dumb +.TP +.B 2621 +Hewlett-Packard HP262? series terminals +.TP +.B 1620 +DIABLO 1620 (and others using HyType II) +.TP +.B 33 +Teletype Model 33 +.TP +.B 37 +Teletype Model 37 +.TP +.B 43 +Teletype Model 43 +.TP +.B 5620 +Teletype Model 5620 dotmap display +.TP +.B dumb +terminals with no special features +.TP +.B 4014 +Tektronix 4014 +.TP +.B vt52 +Digital Equipment Corp. VT52 +.PD +.PP +The list goes on and on. +Consult +.F /etc/termcap +(see +.IR termcap (5)) +for the whole truth. +.PP +Commands whose behavior may depend on the terminal +typically consult +.L TERM +in the environment +or accept arguments of the form +.BI -T term, +where +.I term +is one of the names given above. +.SH SEE ALSO +.IR stty (1), +.IR tabs (1), +.IR plot (1), +.IR sh (1), +.IR environ (5), +.IR ul (1), +.IR column (1), +.IR termcap (5), +.I nroff +in +.IR troff (1) +.SH BUGS +The programs that ought to adhere to this nomenclature +do so only fitfully. diff --git a/static/v10/man6/tmg.6 b/static/v10/man6/tmg.6 new file mode 100644 index 00000000..0ab963b6 --- /dev/null +++ b/static/v10/man6/tmg.6 @@ -0,0 +1,48 @@ +.th TMG VI 10/21/72 +.sh NAME +tmg \*- compiler-compiler +.sh SYNOPSIS +.bd tmg +name +.sh DESCRIPTION +.it Tmg +produces a translator for the language whose parsing +and translation rules are described in file name.t. +The new translator appears +in a.out and may be used thus: +.s3 +.bd a.out +input [ output ] +.s3 +Except in rare cases input must be a randomly +addressable file. +If no output file is specified, the standard output file +is assumed. +.sh FILES +/sys/tmg/tmgl.o the compiler-compiler +.br +/sys/tmg[abc] libraries +.br +alloc.d table storage +.sh "SEE ALSO" +A Manual for the Tmg Compiler-writing Language, +internal memorandum. +.sh DIAGNOSTICS +Syntactic errors result in "???" followed by the +offending line. +.br +Situations such as space overflow +with which the Tmg processor or a Tmg-produced +processor can not cope result in a descriptive comment and +a dump. +.sh AUTHOR +M. D. McIlroy +.sh BUGS +9.2 footnote 1 is not enforced, causing trouble. +.br +Restrictions (7.) against mixing bundling primitives +should be lifted. +.br +Certain hidden reserved words exist: gpar, classtab, trans. +.br +Octal digits include 8=10 and 9=11. diff --git a/static/v10/man6/trek.man.6 b/static/v10/man6/trek.man.6 new file mode 100644 index 00000000..9ac7755b --- /dev/null +++ b/static/v10/man6/trek.man.6 @@ -0,0 +1,802 @@ +.de ul +.. +.sp 15 +.tr ^ +.ce 88 +^****^^^^*****^^^^^^*^^^^^^****^ +*^^^^^^^^^^*^^^^^^^*^*^^^^^*^^^* +^***^^^^^^^*^^^^^^*****^^^^****^ +^^^^*^^^^^^*^^^^^^*^^^*^^^^*^^*^ +****^^^^^^^*^^^^^^*^^^*^^^^*^^^* + + +*****^^^^****^^^^^*****^^^^*^^^* +^^*^^^^^^*^^^*^^^^*^^^^^^^^*^^*^ +^^*^^^^^^****^^^^^***^^^^^^***^^ +^^*^^^^^^*^^*^^^^^*^^^^^^^^*^^*^ +^^*^^^^^^*^^^*^^^^*****^^^^*^^^* + + +by + +Eric Allman +University of California +Berkeley +.sp 4 +Preliminary Version +.ce 0 +.tr ^^ +.de HE +'sp 4 +'tl 'STAR TREK''%' +'sp 3 +.. +.de FO +'bp +.. +.wh 0 HE +.wh -5 FO +.de pp +.sp +.ti +4 +.. +.bp 1 +.ce +INTRODUCTION +.pp +Well, the federation is once again at war with the Klingon empire. +It is up to you, +as captain of the U.S.S. Enterprise, +to wipe out the invasion fleet and save the Federation. +.pp +For the purposes of the game +the galaxy is divided into 64 quadrants +on an eight by eight grid, +with quadrant 0,0 in the upper left hand corner. +Each quadrant is divided into 100 sectors +on a ten by ten grid. +Each sector contains one object +(e.g., the Enterprise, a Klingon, or a star). +.pp +Navigation is handled in degrees, +with zero being straight up +and ninty being to the right. +Distances are measured in quadrants. +One tenth quadrant is one sector. +.pp +The galaxy contains starbases, +at which you can dock to refuel, +repair damages, etc. +The galaxy also contains stars. +Stars usually have a knack for getting in your way, +but they can be triggered into going nova +by shooting a photon torpedo at one, +thereby (hopefully) destroying any adjacent Klingons. +This is not a good practice however, +because you are penalized for destroying stars. +Also, a star will sometimes go supernova, +which obliterates an entire quadrant. +You must never stop in a supernova quadrant, +although you may "jump over" one. +.pp +Some starsystems +have inhabited planets. +Klingons can attack inhabited planets +and enslave the populace, +which they then put to work building more Klingon battle cruisers. +.bp +.ce +STARTING UP THE GAME +.pp +To request the game, issue the command +.sp +.ti +12 +/usr/games/trek +.sp +from the shell. +If a filename is stated, +a log of the game is written +onto that file. +If omitted, +the file is not written. +If the "-a" flag is stated before the filename, +that file is appended to +rather than created. +.pp +The game will ask you what length game +you would like. +Valid responses are "short", "medium", and "long". +Ideally the length of the game does not +affect the difficulty, +but currently the shorter games +tend to be harder than the longer ones. +.pp +You will then be prompted for the skill, +to which you must respond +"novice", "fair", "good", or "expert". +You should start out with a novice +and work up, +but if you really want to see how fast +you can be slaughtered, +start out with an expert game. +.pp +In general, +throughout the game, +if you forget what is appropriate +type ? and a list of valid responses will be typed. +.pp +To get a copy of these rules, +execute the command +.sp +.ti +12 +nroff -h /usr/games/trek.inst +.sp +.bp +.ce +ISSUING COMMANDS +.pp +If the game expects you to enter a command, +.hc ^ +it will say ^"Command:\ " +and wait for your response. +Most commands can be abbreviated. +.pp +At almost any time you can type more than one thing on a line. +For example, +to move straight up one quadrant, +you ccn typ% +.ti +12 +move 0 1 +.br +or you could just type +.ti +12 +move +.br +and the game would prompt you with +.ti +12 +Course: +.br +to which you could type +.ti +12 +0 1 +.br +The "1" is the distance, +which could be put on still another line. +Also, the "move" command +could have been abbreviated +"mov", "mo", or just "m". +.pp +If you are partway through a command +and you change your mind, +an interrupt +will cancel the command. +.pp +Klingons generally cannot hit you +if you don't consume anything +(e.g., time or energy), +so some commands are considered "free". +As soon as you consume anything though -- POW! +.bp +.de ** +.if \\n+l .** +.as x * +.. +.de bl +.nr l \\w'\\$1'/\\w'*' -1 +.ds x **** +.** +.sp 3 +.ne 3 +\\*x +.br +* \\$1 * +.br +\\*x +.sp +.in +8 +.nf +.. +.de FF +.in -8 +.fi +.. +.ta 16 +.ce +THE COMMANDS +.bl "Short Range Scan" +Mnemonic: srscan +Shortest Appreviation: s +Full Commands: srscan + srscan yes/no +Consumes: nothing +.FF +.pp +The short range scan +gives you a picture +of the quadrant you are in, +and (if you say "yes") +a status report +which tells you +a whole bunch +of interesting stuff. +You can get a status report alone +by using the +.ul +status +command. +An example follows: +.sp +.nf +.in +4 + 0 1 2 3 4 5 6 7 8 9 S.R. sensor scan for quadrant 0,3 +0 . . . . . . . * . * 0 stardate 3702.16 +1 . . E . . . . . . . 1 condition RED +2 . . . . . . . . . * 2 position 0,3/1,2 +3 * . . . . # . . . . 3 warp factor 5.0 +4 . . . . . . . . . . 4 total energy 4376 +5 . . * . * . . . . . 5 torpedoes 9 +6 . . . @ . . . . . . 6 shields down, 78% +7 . . . . . . . . . . 7 Klingons left 3 +8 . . . K . . . . . . 8 time left 6.43 +9 . . . . . . * . . . 9 life support damaged, reserves = 2.4 + 0 1 2 3 4 5 6 7 8 9 +Distressed Starsystem Marcus XII + +.in +8 +.ti -8 +The cast of characters is as follows: +E the hero +K the villain +# the starbase +* stars +@ inhabited starsystem +\&. empty space +.in -12 +.fi +.pp +The name of the starsystem is listed underneath +the short range scan. +The word "distressed", if present, +means that the starsystem +is under attack. +.pp +Short range scans are absolutely free. +They use no time, no energy, +and they don't give the Klingons +another chance to hit you. +.bl "Status Report" +Mnemonic: status +Shortest Abbreviation: st +Consumes: nothing +.FF +.pp +This command gives you information +about the current status +of the game and your ship, as follows: +.in +8 +.de qq +.sp +.ti -4 +.. +.qq +Stardate -- The current stardate. +.qq +Condition -- as follows: +.in +4 +.nf +RED -- in battle +YELLOW -- low on energy +GREEN -- normal state +DOCKED -- docked at starbase +CLOAKED -- the cloaking device is activated +.fi +.in -4 +.qq +Position -- Your current quadrant and sector. +.qq +Warp Factor -- The speed you will move at +when you move under warp power +(with the +.ul +move +command). +.qq +Total Energy -- Your energy reserves. +If they drop to zero, +you die. +Energy regenerates, +but the higher the skill of the game, +the slower it regenerates. +.qq +Torpedoes -- How many photon torpedoes you have left. +.qq +Shields -- Whether your shields are up or down, +and how effective they are if up +(what percentage of a hit they will absorb). +.qq +Klingons Left -- Guess. +.qq +Time Left -- How long the Federation can hold out +if you sit on your fat ass and do nothing. +If you kill Klingons quickly, +this number goes up, +otherwise, +it goes down. +If it hits zero, +the Federation is conquered. +.qq +Life Support -- If "active", everything is fine. +If "damaged", your reserves tell you +how long you have +to repair your life support +or get to a starbase +before you starve, suffocate, +or something equally unpleasant. +.qq +Current Crew -- The number of crew members +left. +This figures does not include officers. +.qq +Brig Space -- The space left in your brig +for Klingon captives. +.in -8 +.pp +Status information is absolutely free. +.bl "Long Range Scan" +Mnemonic: lrscan +Shortest Abbreviation: l +Consumes: nothing +.FF +.pp +Long range scan gives you information about the +eight quadrants +that surround the quadrant +you're in. +A sample long range scan follows: +.sp +.in +12 +.nf + -2- -3- -4- Long range scan for quadrant 0,3 + * * * +0 108 E6 19 +1 9 /// 8 +.sp +.in -12 +.fi +.pp +The three digit numbers +tell the number of objects +in the quadrants. +The units digit tells the number of stars, +the tens digit the number of starbases, +and the hundreds digit is the number of Klingons. +"*" indicates the negative energy barrier +at the edge of the galaxy, +which you cannot enter. +"///" means that that is a supernova quadrant +and must not be entered. +.bl "Damage Report" +Mnemonic: damages +Shortest Abbreviation: da +Consumes: nothing +.FF +.pp +A damage report tells you what devices are damaged +and how long it will take to repair them. +Repairs proceed faster +when you are docked +at a starbase. +.bl "Set Warp Factor" +Mnemonic: warp +Shortest Abbreviation: w +Full Command: warp factor +Consumes: nothing +.FF +.pp +The warp factor tells the speed of your starship +when you move under warp power +(with the +.ul +move +command). +The higher the warp factor, +the faster you go, +and the more energy you use. +.pp +The minimum warp factor is 1.0 +and the maximum is 10.0. +At speeds above warp 6 +there is danger of the warp engines +being damaged. +The probability of this +increases at higher warp speeds. +Above warp 9.0 there is a chance of entering +a time warp. +.bl "Move Under Warp Power" +Mnemonic: move +Shortest Abbreviation: m +Full Command: move course distance +Consumes: time and energy +.FF +.pp +This is the usual way of moving. +The course is in degrees and the distance is in quadrants. +To move one sector specify a distance of 0.1. +.pp +Time is consumed proportionately to +the inverse of the warp factor squared, +and directly to the distance. +Energy is consumed as the warp factor cubed, +and directly to the distance. +If you move with your shields up +it doubles the amount of energy consumed. +.pp +When you move in a quadrant containing Klingons, +they get a chance to attack you. +.pp +The computer detects navigation errors. +If the computer is out, +you run the risk of running into things. +.pp +The course is determined by the +Space Inertial Navigation System +[SINS]. +As described in +Star Fleet Technical Order TO:02:06:12, +the SINS is calibrated, +after which it becomes the base for navigation. +If damaged, +navigation becomes inaccurate. +When it is fixed, +Spock recalibrates it, +however, +it cannot be calibrated extremely accurately +until you dock at starbase. +.bl "Move Under Impulse Power" +Mnemonic: impulse +Shortest Abbreviation: i +Full Command: impulse course distance +Consumes: time and energy +.FF +.pp +The impulse engines give you a chance to maneuver +when your warp engines are damaged; +however, they are incredibly slow +(0.095 quadrants/stardate). +They require 20 units of energy to engage, +and ten units per sector to move. +.pp +The same comments about the computer and the SINS +apply as above. +.pp +There is no penalty to move under impulse power +with shields up. +.bl "Deflector Shields" +Mnemonic: shields +Shortest Abbreviation: sh +Full Command: shields up/down +Consumes: energy +.FF +.pp +Shields protect you from Klingon attack +and nearby novas. +As they protect you, +they weaken. +A shield which is 78% effective +will absorb 78% of a hit +and let 22% in to hurt you. +.pp +The Klingons have a chance to attack you +every time you raise or lower shields. +Shields do not rise and lower +instantaneously, +so the hit you receive +will be computed with the shields +at an intermediate effectiveness. +.pp +It takes energy to raise shields, +but not to drop them. +.bl "Cloaking Device" +Mnemonic: cloak +Shortest Abbreviation: cl +Full Command: cloak up/down +Consumes: energy +.FF +.pp +When you are cloaked, +Klingons cannot see you, +and hence they do not fire at you. +They are useful for entering +a quadrant +and selecting a good position, +however, +weapons cannot be fired through +the cloak +due to the huge energy drain +that it requires. +.pp +The cloak up command +only starts the cloaking process; +Klingons will continue +to fire at you +until you do something +which consumes time. +.bl "Fire Phasers" +Mnmemonic: phasers +Shortest Abbreviation: p +Full Commands: phasers automatic amount + phasers manual amt1 amt2 ... amtn +Consumes: energy +.FF +.pp +Phasers are energy weapons; +the energy comes from your ship's reserves +("total energy" on a srscan). +It takes about 250 units of hits +to kill a Klingon. +Hits are cumulative as long as you stay +in the quadrant. +.pp +Phasers become less effective +the further from a Klingon you are. +Adjacent Klingons receive about +90% of what you fire, +at five sectors about 60%, +and at ten sectors about 35%. +They have no effect outside of the quadrant. +.pp +Phasers cannot be fired while shields are up; +to do so would fry you. +They have no effect on starbases or stars. +.pp +In automatic mode +the computer decides how to divide up the energy +among the Klingons present; +in manual mode you do that yourself, +specifying nearest Klingon first. +.bl "Fire Photon Torpedoes" +Mnemonic: torpedo +Shortest Abbreviation: t +Full Command: torpedo course [yes/no] [burst angle] +Consumes: torpedoes +.FF +.pp +Torpedoes are projectile weapons -- there are no partial hits. +You either hit your target or you don't. +A hit on a Klingon destroys him. +A hit on a starbase destroys that starbase +(woops!). +Hitting a star usually causes it to go nova, +and occasionally supernova. +.pp +Photon torpedoes cannot be aimed precisely. +They can be fired with shields up, +but they get even more random +as they pass through the shields. +.pp +Torpedoes may be fired in bursts of three. +If this is desired, +the burst angle is the angle +between the three shots, +which may vary from one to fifteen. +The word "no" +says that a burst is not wanted; +the word "yes" +(which may be omitted +if stated on the same line as the burst angle) +says that a burst is wanted. +.pp +Photon torpedoes +have no effect +outside the quadrant. +.bl "Onboard Computer Request" +Mnemonic: computer +Shortest Abbreviation: c +Full Command: computer request; request;... +Consumes: nothing +.FF +.pp +The computer command gives you access to the facilities +of the onboard computer, +which allows you to do all sorts of fascinating stuff. +Computer requests are: +.in +8 +.qq +score -- Shows your current score. +.qq +course [quad] [/] sect -- Computes the course and distance from whereever +you are to the given location. +The quadrant may be omitted if / is present; in this +case the current quadrant is assumed. +.qq +record -- prints the computer record of the known galaxy, +i.e., +everything that you have seen with a long range scan. +The format is the same as on a long range scan, +except that "..." means +that you don't yet know what is there, +and ".#." means that you know that a starbase +exists, but you don't know anything else. +.qq +trajectory -- prints the course and distance +to all the Klingons in the quadrant. +.qq +warpcost dist warp_factor -- computes the cost in time and energy +to move `dist' quadrants at warp `warp_factor'. +.qq +impcost dist -- same as warpcost for impulse engines. +.qq +pheff range -- tells how effective your phasers are +at a given range. +.qq +distresslist -- gives a list of currently distressed +starbases +and starsystems. +.in -8 +.pp +More than one request may be stated +on a line +by seperating them +with semicolons. +.bl "Dock at Starbase" +Mnemonic: dock +Shortest Abbreviation: do +Consumes: nothing +.FF +.pp +You may dock at a starbase +when you are in one of the eight +adjacent sectors. +Your shields must be down to dock. +.pp +When you dock you are resupplied +with energy, photon torpedoes, and life support reserves. +Repairs are also done faster at starbase. +.pp +Starbases have their own deflector shields, +so you are safe from attack while docked. +.bl "Undock from Starbase" +Mnemonic: undock +Shortest Abbreviation: u +Consumes: nothing +.FF +.pp +This just allows you to leave starbase +so that you may proceed on your way. +.bl "Rest" +Mnemonic: rest +Shortest Abbreviation: r +Full Command: rest time +Consumes: time +.FF +.pp +This command allows you to rest to repair damages. +It is not advisable to rest while under attack. +.bl "Call Starbase For Help" +Mnemonic: help +Shortest Abbreviation: help +Consumes: nothing +.FF +.pp +You may call starbase for help via your subspace radio. +Starbase has long range transporter beams to get you. +Problem is, +they can't always rematerialize you. +.pp +You should avoid using this command unless absolutely necessary, +for the above reason and because it counts heavily against you +in the scoring. +.bl "Visual Scan" +Mnemonic: visual +Shortest Abbreviation: v +Full Command: visual course +Consumes: time +.FF +.pp +When your short range scanners are out, +you can still see what is out "there" +by doing a visual scan. +Unfortunately, +you can only see three sectors at one time, +and it takes 0.005 stardates to perform. +.pp +The three sectors in the general direction +of the course specified +are examined +and displayed. +.bl "Abandon Ship" +Mnemonic: abandon +Shortest Abbreviation: abandon +Consumes: nothing +.FF +.pp +The officers escape the Enterprise in the shuttlecraft. +If the transporter is working +and there is an inhabitable starsystem +in the area, +the crew beams down, +otherwise you leave them to die. +You are given an old but still usable ship, +the Faire Queene. +.bl "Terminate the Game" +Mnemonic: quit +Shortest Abbreviation: quit +Full Command: quit +.FF +.pp +Cancels the current game. +No score is computed. +If you answer yes, +a new game will be started, +otherwise trek exits. +.bl "Call the Shell" +Mnemonic: ! +Shortest Abbreviation: ! +.FF +.pp +Temporarily escapes to the shell. +When you log out of the shell +you will return to the game. +.bp +.ce +SCORING +.in +4 +.pp +The scoring algorithm is rather complicated. +Basically, +you get points for each Klingon you kill, +for your Klingon per stardate kill rate, +and a bonus if you win the game. +You lose +points for the number of Klingons left +in the galaxy +at the end of the game, +for getting killed, +for each star, starbase, or inhabited starsystem +you destroy, +for calling for help, +and for each casualty you incur. +.pp +You will be promoted +if you play very well. +You will never get a promotion if you +call for help, +abandon the Enterprise, +get killed, +destroy a starbase or inhabited starsystem, +or destroy too many stars. +.bp +.ce +REFERENCE PAGE +.sp 2 +.ta 36 56 +.nf +.ul +Command Uses Consumes + +ABANDON shuttlecraft, - + transporter +CLoak Up/Down cloaking device energy +Computer request; request;... computer - +DAmages - - +DESTRUCT computer - +DOck - - +HELP subspace radio - +Impulse course distance impulse engines, time, energy + computer, SINS +Lrscan L.R. sensors - +Move course distance warp engines, time, energy + computer, SINS +Phasers Automatic amount phasers, computer energy +Phasers Manual amt1 amt2... amtn phasers energy +Torpedo course [Yes] angle/No torpedo tubes torpedoes +Rest time - time +SHELL - - +SHields Up/Down shields energy +Srscan [Yes/No] S.R. sensors - +STatus - - +QUIT Yes/No - - +Undock - - +Visual course - time +Warp warp_factor - - +.fi diff --git a/static/v10/man6/ttt.6 b/static/v10/man6/ttt.6 new file mode 100644 index 00000000..f9b78c7b --- /dev/null +++ b/static/v10/man6/ttt.6 @@ -0,0 +1,29 @@ +.pa 1 +.he '3/15/72''TTT (VI)' +.ti 0 +NAME ttt -- tic-tac-toe +.sp +.ti 0 +SYNOPSIS /usr/games/ttt +.sp +.ti 0 +DESCRIPTION ttt___ +is the X's and O's game +popular in 1st grade. +This is a learning program that never +makes the same mistake twice. +.sp +.ti 0 +FILES ttt.k -- old mistakes +.sp +.ti 0 +SEE ALSO -- +.sp +.ti 0 +DIAGNOSTICS -- +.sp +.ti 0 +BUGS -- +.sp +.ti 0 +OWNER ken diff --git a/static/v10/man6/warp.6 b/static/v10/man6/warp.6 new file mode 100644 index 00000000..51d1ad18 --- /dev/null +++ b/static/v10/man6/warp.6 @@ -0,0 +1,13 @@ +.TH warp 6 +.CT 1 games +.SH NAME +warp \- war games +.SH SYNOPSIS +.B /usr/games/warp +.SH DESCRIPTION +.I Warp +is a space-war game; it volunteers instructions. +.PP +.I Battle +is the classic grid game of battleship. +It needs a cursor-addressed terminal. diff --git a/static/v10/man6/worms.6 b/static/v10/man6/worms.6 new file mode 100644 index 00000000..8443e386 --- /dev/null +++ b/static/v10/man6/worms.6 @@ -0,0 +1 @@ +@(#)worms.6 1.3 diff --git a/static/v10/man6/wump.6 b/static/v10/man6/wump.6 new file mode 100644 index 00000000..16d9a0c8 --- /dev/null +++ b/static/v10/man6/wump.6 @@ -0,0 +1,29 @@ +.th WUMP VI 11/25/73 +.sh NAME +wump \*- hunt the wumpus +.sh SYNOPSIS +.bd /usr/games/wump +.sh DESCRIPTION +.it Wump +plays the game of ``Hunt the Wumpus.'' +A Wumpus is a creature that lives in a cave with several rooms +connected by tunnels. +You wander among the rooms, trying to +shoot the Wumpus with an arrow, meanwhile avoiding +being eaten by the Wumpus and falling +into +Bottomless Pits. +There are also Super Bats which are likely to pick you up +and drop you in some random room. +.s3 +The program asks various questions which you answer +one per line; +it will give a more detailed description +if you want. +.s3 +This program is based on one described in +.it "People's Computer Company," +.it 2, +2 (November 1973). +.sh BUGS +It will never replace Space War. diff --git a/static/v10/man6/yacc.6 b/static/v10/man6/yacc.6 new file mode 100644 index 00000000..2abc64a6 --- /dev/null +++ b/static/v10/man6/yacc.6 @@ -0,0 +1,43 @@ +.pa 1 +.he 'YACC (VI)'1/20/73'YACC (VI)' +.ti 0 +NAME yacc -- yet another compiler compiler +.sp +.ti 0 +SYNOPSIS _____________/crp/scj/yacc [ <grammar ] +.sp +.ti 0 +DESCRIPTION Yacc converts a context-free grammar into a set of +tables for a simple automaton which executes an LR(1) parsing +algorithm. +The tables are provided in readable form on the standard output +and in b-compiler format on file actn.b; the program +/crp/scj/bpar.b will parse strings using the actn.b file. +.sp +If your grammar is too big for yacc, you may +try /crp/scj/bigyacc, +some of whose size limits are +larger, and others smaller. +.sp +.ti 0 +FILES actn.b output tables +.br +actn.tmp temporary storage +.br +Note that these files are created in the invoker's +directory. +The file actn.tmp is only created by /crp/scj/bigyacc +(see above). +.sp +.ti 0 +SEE ALSO Yacc manual, by scj (available from ek); +"LR Parsing", by A. V. Aho and S. C. Johnson, to be published. +.sp +.ti 0 +DIAGNOSTICS There are various diagnostics, but only +one can be obtained in each run. +.sp +.ti 0 +BUGS The maximum number of terminal and non-terminal symbols +is 50 each, and this is not checked. There are +undoubtedly other bugs too. |
