X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=manual%2Fhtml_node%2FLoad-and-Save-options.html;h=eb36128d346d569a4ac00fa3637d943e9179ceb0;hb=f8e035410d7c94ad891763384096e500f91646b1;hp=5ae89238d8391cbbeb494a5c2bb52336fe57dbf3;hpb=10173187bb807a7194df200fef7a0e5efe47688f;p=xboard.git diff --git a/manual/html_node/Load-and-Save-options.html b/manual/html_node/Load-and-Save-options.html index 5ae8923..eb36128 100644 --- a/manual/html_node/Load-and-Save-options.html +++ b/manual/html_node/Load-and-Save-options.html @@ -32,11 +32,11 @@ Up: Options
-

3.4 Load and Save options

+

4.5 Load and Save options

-

+

-
-lgf or -loadGameFile file
-lgi or -loadGameIndex index
If the loadGameFile option is set, XBoard loads the specified +
-lgf or -loadGameFile file
-lgi or -loadGameIndex index
If the loadGameFile option is set, XBoard loads the specified game file at startup. The file name - specifies the standard input. If there is more than one game in the file, XBoard pops up a menu of the available games, with entries based on their PGN @@ -59,16 +59,16 @@ first game of the file when it has reached a specified value. positions or games in auto-increment matchMode. See loadPositionIndex and loadGameIndex. default: 0 (no rewind). -
-td or -timeDelay seconds
Time delay between moves during ‘Load Game’. Fractional seconds -are allowed; try ‘-td 0.4’. A time delay value of -1 tells -XBoard not to step through game files automatically. Default: 1 -second. -
-sgf or -saveGameFile file
If this option is set, XBoard appends a record of every game +
-td or -timeDelay seconds
Time delay between moves during ‘Load Game’ or ‘Analyze File’. +Fractional seconds are allowed; try ‘-td 0.4’. +A time delay value of -1 tells +XBoard not to step through game files automatically. Default: 1 second. +
-sgf or -saveGameFile file
If this option is set, XBoard appends a record of every game played to the specified file. The file name - specifies the standard output. -
-autosave/-xautosave or -autoSaveGames true/false
Sets the Auto Save menu option. See Options Menu. Default: false. +
-autosave/-xautosave or -autoSaveGames true/false
Sets the Auto Save menu option. See Options Menu. Default: false. Ignored if saveGameFile is set. -
-lpf or -loadPositionFile file
-lpi or -loadPositionIndex index
If the loadPositionFile option is set, XBoard loads the +
-lpf or -loadPositionFile file
-lpi or -loadPositionIndex index
If the loadPositionFile option is set, XBoard loads the specified position file at startup. The file name - specifies the standard input. If the loadPositionIndex option is set to N, the Nth position found in the file is loaded; otherwise the @@ -81,21 +81,47 @@ causes the index to be incremented every two games, so that each position in the file is used twice (with the engines playing opposite colors). The rewindIndex option causes the index to be reset to the first position of the file when it has reached a specified value. -
-spf or -savePositionFile file
If this option is set, XBoard appends the final position reached +
-spf or -savePositionFile file
If this option is set, XBoard appends the final position reached in every game played to the specified file. The file name - specifies the standard output. -
-pgnExtendedInfo true/false
If this option is set, XBoard saves depth, score and time used for each +
-pgnExtendedInfo true/false
If this option is set, XBoard saves depth, score and time used for each move that the engine found as a comment in the PGN file. Default: false. -
-pgnEventHeader string
Sets the name used in the PGN event tag to string. +
-pgnEventHeader string
Sets the name used in the PGN event tag to string. Default: "Computer Chess Game". -
-saveOutOfBookInfo true/false
Include the information on how the engine(s) game out of its opening book in a special 'annotator' tag with the PGN file. -
-oldsave/-xoldsave or -oldSaveStyle true/false
Sets the Old Save Style menu option. See Options Menu. Default: false. -
-gameListTags string
The character string lists the PGN tags that should be printed in the +
-pgnNumberTag true/false
Include the (unique) sequence number of a tournament game into the saved +PGN file as a 'number' tag. +Default: false. +
-saveOutOfBookInfo true/false
Include the information on how the engine(s) game out of its opening book +in a special 'annotator' tag with the PGN file. +Default: true. +
-oldsave/-xoldsave or -oldSaveStyle true/false
Sets the Old Save Style menu option. See Options Menu. Default: false. +
-gameListTags string
The character string lists the PGN tags that should be printed in the Game List, and their order. The meaning of the codes is e=event, s=site, d=date, o=round, p=players, r=result, w=white Elo, b=black Elo, -t=time control, v=variant, a=out-of-book info. +t=time control, v=variant, a=out-of-book info, c=result comment. Default: "eprd" +
-ini or -settingsFile filename
-saveSettingsFile filename
@filename
When XBoard encounters an option -settingsFile (or -ini for short), +or @filename, it tries to read the mentioned file, +and substitutes the contents of it (presumaby more command-line options) +in place of the option. +In the case of -ini or -settingsFile, the name of a successfully read +settings file is also remembered as the file to use for saving settings +(automatically on exit, or on user command). +An option of the form @filename does not affect saving. +The option -saveSettingsFile does specify a name of the file to use +for saving, without reading any options from it, and is thus also effective +when the file did not exist yet. +So the settings will be saved to the file specified in the last +-saveSettingsFile or succesfull -settingsFile / -ini command, +if any, and in /etc/xboard/xboard.conf otherwise. +Usualy the latter is only accessible for the system administrator, though, +and will be used to contain system-wide default setings, amongst which +a -saveSettingsFile and -settingsFile options to specify a settings file +accessible to the individual user, such as ~/.xboardrc in the user's +home directory. +
-saveSettingsOnExit true/false
Controls saving of options on the settings file. See Options Menu. +Default: true.