From 36594bc0f99d1a28476d3d5213a4dae0de1a5785 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Mon, 8 Jun 2009 15:23:58 -0700 Subject: [PATCH] added gamelisttag option to xboard also updated documentation. --- xboard.c | 4 ++++ xboard.texi | 10 +++++++++- 2 files changed, 13 insertions(+), 1 deletions(-) diff --git a/xboard.c b/xboard.c index a292a9f..ba45445 100644 --- a/xboard.c +++ b/xboard.c @@ -1216,6 +1216,9 @@ XtResource clientResources[] = { { "defaultFrcPosition", "defaultFrcPositon", XtRInt, sizeof(int), XtOffset(AppDataPtr, defaultFrcPosition), XtRImmediate, (XtPointer) -1}, + { "gameListTags", "gameListTags", XtRString, + sizeof(String), XtOffset(AppDataPtr, gameListTags), + XtRImmediate, (XtPointer) GLT_DEFAULT_TAGS }, // [HGM] 4.3.xx options { "boardWidth", "boardWidth", XtRInt, @@ -1684,6 +1687,7 @@ XrmOptionDescRec shellOptions[] = { { "-defaultCacheSizeEGTB", "defaultCacheSizeEGTB", XrmoptionSepArg, NULL }, { "-defaultPathEGTB", "defaultPathEGTB", XrmoptionSepArg, NULL }, { "-defaultFrcPosition", "defaultFrcPosition", XrmoptionSepArg, NULL }, + { "-gameListTags", "gameListTags", XrmoptionSepArg, NULL }, // [HGM] I am sure AS added many more options, but we have to fish them out, from the list in winboard.c /* [HGM,HR] User-selectable board size */ diff --git a/xboard.texi b/xboard.texi index 89f469b..3d8bfff 100644 --- a/xboard.texi +++ b/xboard.texi @@ -1771,10 +1771,18 @@ Sets the name used in the PGN event tag to string. Default: "Computer Chess Game". @item -saveOutOfBookInfo true/false @cindex saveOutOfBookInfo, option` -Include the information on how the engine(s) game out of its opening book in a special 'annotator' tag with the PGN file.@item -oldsave/-xoldsave or -oldSaveStyle 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. +@item -oldsave/-xoldsave or -oldSaveStyle true/false @cindex oldsave, option @cindex oldSaveStyle, option Sets the Old Save Style menu option. @xref{Options Menu}. Default: false. +@item -gameListTags string +@cindex gameListTags, option +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. +Default: "eprd" @end table @node User interface options -- 1.7.0.4