(all): Depend on info. Flatten info directory. This undoes the move to one subdirectory per chapter, which was done during Empire 2. The structure doesn't buy us much, as the info name space is flat, and it complicates makefiles. Overhaul info.pl: - It now wants to run in the root of the build tree. - Information on source files and subjects is now stored in makefiles, thus info.pl no longer picks up random junk from the file system. - Clean up Perl anachronisms, in particular use subroutine arguments and results rather than global variables where convenient. - Change format of diagnostics to the common format used by GNU tools, so that Emacs and the like can parse it. - Catch missing .SA. - When creating a new subject file, cowardly refuse to overwrite an existing file. - Subject files contain topics sorted by chapter, then by name. The order of chapters used to depend on how Perl sorts hash keys. Fix it.
44 lines
1.2 KiB
Raku
44 lines
1.2 KiB
Raku
.TH Command PATH
|
|
.NA path "Show the distribution path of a sector"
|
|
.LV Expert
|
|
.SY "path <SECT>"
|
|
The path command generates a map
|
|
of the distribution path for a specific sector.
|
|
.s1
|
|
The <SECT> argument is a single sector, as described in \*Qinfo syntax\*U.
|
|
|
|
The distribution paths are indicated with \*Qgo-to\*Us
|
|
exactly as for the "route" command:
|
|
.NF
|
|
.sp
|
|
m/ up-right (u in level)
|
|
m> right (j in level)
|
|
m\e down-right (n in level)
|
|
/m down-left (b in level)
|
|
<m left (g in level)
|
|
\em up-left (y in level)
|
|
.FI
|
|
.sp
|
|
An example:
|
|
.sp
|
|
.EX path -2,0
|
|
.NF
|
|
.eo
|
|
- - - 0 0 0 0 0 0 0 0 0 0 1 1
|
|
3 2 1 0 1 2 3 4 5 6 7 8 9 0 1
|
|
-5 . . a a . . . a -5
|
|
-4 . k o . . . 1 -4
|
|
-3 a h j a . . +/ . -3
|
|
-2 ^ a a a . a/ a -2
|
|
-1 . a a a b +/ + . -1
|
|
0 0\ c u> t> i/ . . 0
|
|
1 . a> l/ ^ a a . . 1
|
|
2 . a a a . a . 2
|
|
- - - 0 0 0 0 0 0 0 0 0 0 1 1
|
|
3 2 1 0 1 2 3 4 5 6 7 8 9 0 1
|
|
.ec
|
|
.FI
|
|
.sp
|
|
where -2,0 distributes to 10,-4 along the path shown.
|
|
.sp
|
|
.SA "distribute, census, Syntax, route, map, Distribution"
|