empserver/info/toggle.t
Markus Armbruster 4ea4a01fd5 (info, html): Implement.
(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.
2005-12-22 10:09:17 +00:00

46 lines
1.8 KiB
Perl

.TH Command TOGGLE
.NA toggle "Toggle client flags"
.LV Expert
.SY "toggle [inform|flash|beep|coastwatch|sonar|techlists] [on|off]"
You use the toggle command to set various user-interface flags for
your country. The server will remember which flags you have set
between sessions. If you do not specify the second argument ("on" or
"off"), then the server will just flip the switch from on to off or
vice versa.
.s1
.EX "toggle inform"
Will toggle the "inform" flag (default off) for your country. When
inform is on, the server will inform you immediately whenever you
receive a telegram.
.s1
.EX "toggle flash"
Will toggle the "flash" flag (default on) for your country. When
flash is on, you can receive instantaneous messages from your allies when
they use the "flash" and "wall" commands.
.s1
.EX "toggle beep"
Will toggle the "beep" flag (default on) for your country. When beep
is on, your terminal will beep whenever there's a big explosion in
the game (shells, bombs, torpedoes...). You might want to turn beep
off if you don't want to disturb others.
.s1
.EX "toggle coastwatch"
Will toggle the "coastwatch" flag (default on) for your country. When
coastwatch is on, then you will receive telegrams informing you of any
new ship sightings. Note that allied and friendly ships do not show up
in these automatic sightings.
.s1
.EX "toggle sonar"
Will toggle the "sonar" flag (default on) for your country. When
sonar is on, then you will receive telegrams whenever any of your
sonar-equipped ships detect a sonar ping.
.s1
.EX "toggle techlists"
Will toggle the "techlists" flag (default off) for your country. When
techlists is on, when you do a "show" command, the lists shows will be
in order of tech instead of grouping order.
.s1
.EX "toggle"
Will list all your flags and show whether they are on or off.
.s1
.SA "telegram, flash, wall, Communication"