X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Futilities.texi;h=6882aa2165f525aa2b12ae466da5d762eabe95af;hb=163b1639eab9b48eab64752205d75f951547b5c7;hp=314c435e37d1a1985202f4738ea5bf007815ad24;hpb=a9acce47d67e0ab35ce1690e4f1b1ac0121c2d78;p=pspp-builds.git diff --git a/doc/utilities.texi b/doc/utilities.texi index 314c435e..6882aa21 100644 --- a/doc/utilities.texi +++ b/doc/utilities.texi @@ -334,6 +334,7 @@ SET /MXERRS=max_errs /MXWARNS=max_warnings /PROMPT='prompt' + /WORKSPACE=workspace_size (program execution) /MEXPAND=@{ON,OFF@} @@ -373,8 +374,10 @@ SET /COMPRESSION=@{ON,OFF@} /SCOMPRESSION=@{ON,OFF@} -(security) +(miscellaneous) /SAFER=ON + /LOCALE='string' + (obsolete settings accepted for compatibility, but ignored) /BOXSTRING=@{'xxx','xxxxxxxxxxx'@} @@ -390,7 +393,6 @@ SET /SCRIPTTAB='c' /TB1=@{'xxx','xxxxxxxxxxx'@} /TBFONTS='string' - /WORKSPACE=workspace_size /XSORT=@{YES,NO@} @end display @@ -414,10 +416,13 @@ default. Any real value may be assigned. @item DECIMAL @anchor{SET DECIMAL} -The default DOT setting causes the decimal point character to be -@samp{.} and the grouping character to be @samp{,}. A setting of COMMA +This value may be set to DOT or COMMA. +Setting it to DOT causes the decimal point character to be +@samp{.} and the grouping character to be @samp{,}. +Setting it to COMMA causes the decimal point character to be @samp{,} and the grouping character to be @samp{.}. +The default value is determined from the system locale. @item FORMAT Allows the default numeric input/output format to be specified. The @@ -554,6 +559,17 @@ RANDOM, which will obtain an initial seed from the current time of day. @item UNDEFINED Currently not used. + +@item WORKSPACE +The maximum amount of memory that PSPP will use to store data being processed. +If memory in excess of the workspace size is required, then PSPP will start +to use temporary files to store the data. +Setting a higher value will, in general, mean procedures will run faster, +but may cause other applications to run slower. +On platforms without virtual memory management, setting a very large workspace +may cause PSPP to abort. +@cindex workspace +@cindex memory, amount used to store cases @end table Data output subcommands affect the format of output data. These @@ -687,6 +703,37 @@ Be aware that this setting does not guarantee safety (commands can still overwrite files, for instance) but it is an improvement. When set, this setting cannot be reset during the same session, for obvious security reasons. + +@item LOCALE +@cindex locale +@cindex encoding, characters +This item is used to set the default character encoding. +The encoding may be specified either as an encoding name or alias +(see @url{http://www.iana.org/assignments/character-sets}), or +as a locale name. +If given as a locale name, only the character encoding of the +locale is relevant. + +System files written by PSPP will use this encoding. +System files read by PSPP, for which the encoding is unknown, will be +interpreted using this encoding. + +The full list of valid encodings and locale names/alias are operating system +dependent. +The following are all examples of acceptable syntax on common GNU/Linux +systems. +@example + +SET LOCALE='iso-8859-1'. + +SET LOCALE='ru_RU.cp1251'. + +SET LOCALE='japanese'. + +@end example + +Contrary to the intuition, this command does not affect any aspect +of the system's locale. @end table @node SHOW @@ -773,4 +820,3 @@ on the output device. Specify a title as a string in quotes. The alternate syntax that did not require quotes is now obsolete. If it is used then the title is converted to all uppercase. -@setfilename ignored