Changeset 706


Ignore:
Timestamp:
Dec 4, 2009 5:10:39 PM (14 years ago)
Author:
toby
Message:

# on 2003/05/22 22:05:22, toby did:
change to GSAS.CONFIG for Windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/expgui_cfg.html

    • Property rcs:date changed from 2003/04/10 22:26:27 to 2003/05/22 22:05:22
    • Property rcs:lines changed from +4 -4 to +48 -15
    • Property rcs:rev changed from 1.25 to 1.26
    r681 r706  
    4848<UL>
    4949<LI><FONT FACE="COURIER">localconfig</FONT>
    50 <LI><FONT FACE="COURIER">.gsas_config</FONT>
    51 </UL>
     50<LI>UNIX: <FONT FACE="COURIER">.gsas_config</FONT>
     51or Windows: <FONT FACE="COURIER">c:\gsas.config</FONT></UL>
    5252<P>The first three files,
    5353(<FONT FACE="COURIER">readexp.tcl</FONT>, <FONT FACE="COURIER">gsascmds.tcl</FONT>, <FONT FACE="COURIER">gsasmenu.tcl</FONT>)
    5454must be located in the same directory where the <FONT FACE="COURIER">expgui</FONT> file is found.
    5555The <FONT FACE="COURIER">localconfig</FONT> file also is read from this directory, if it exists.
    56 The final file, <FONT FACE="COURIER">.gsas_config</FONT>, is read from the user's login directory (UNIX) or <FONT FACE="COURIER">C:\</FONT> (Windows).
    57 The <FONT FACE="COURIER">localconfig</FONT> and <FONT FACE="COURIER">.gsas_config</FONT> are intended to
     56The final file, <FONT FACE="COURIER">.gsas_config</FONT>
     57(or <FONT FACE="COURIER">c:\gsas.config</FONT>),
     58is read from the user's login directory (UNIX) or
     59<FONT FACE="COURIER">C:\</FONT> (Windows).
     60The <FONT FACE="COURIER">localconfig</FONT> and
     61<FONT FACE="COURIER">.gsas_config</FONT>
     62(or <FONT FACE="COURIER">c:\gsas.config</FONT>)
     63files are intended to
    5864contain system-wide and user-level default values for parameters
    5965that are described in this document. Most routines have
    6066a "Save Options" command that writes some of the current parameters to
    61 file  <FONT FACE="COURIER">.gsas_config</FONT>. Note that information in <FONT FACE="COURIER">.gsas_config</FONT>
     67file  <FONT FACE="COURIER">.gsas_config</FONT>
     68(or <FONT FACE="COURIER">c:\gsas.config</FONT>).
     69Note that information in <FONT FACE="COURIER">.gsas_config</FONT>
     70(or <FONT FACE="COURIER">c:\gsas.config</FONT>)
    6271overrides that in <FONT FACE="COURIER">localconfig</FONT>.
    6372No error occurs if either of these files are not found.
     
    7584are designed to be modified and extended by users, either by editing the file,
    7685or by overriding definitions in the <FONT FACE="COURIER">localconfig</FONT> or
    77 <FONT FACE="COURIER">.gsas_config</FONT> files.
     86<FONT FACE="COURIER">.gsas_config</FONT>
     87(or <FONT FACE="COURIER">c:\gsas.config</FONT>)
     88files.
    7889
    7990The important variables defined in the <FONT FACE="COURIER">gsasmenu.tcl</FONT> file are:
     
    106117   set expgui(buttonlist) {expnam expedt genles ortep fourier forsrh forplot lstview}
    107118</PRE></FONT>
    108 is placed in the <FONT FACE="COURIER">localconfig</FONT> or <FONT FACE="COURIER">.gsas_config</FONT> files this will
     119is placed in the <FONT FACE="COURIER">localconfig</FONT> or
     120<FONT FACE="COURIER">.gsas_config</FONT>
     121(or <FONT FACE="COURIER">c:\gsas.config</FONT>)
     122files this will
    109123redefine the contents of the button bar.
    110124</DL></DL>
     
    147161Defines commands to be executed by EXPGUI after all other commands
    148162have been run. This is used to define initialization commands in
    149 the <FONT FACE="COURIER">localconfig</FONT> or <FONT FACE="COURIER">.gsas_config</FONT> files that cannot be
     163the <FONT FACE="COURIER">localconfig</FONT> or
     164<FONT FACE="COURIER">.gsas_config</FONT>
     165(or <FONT FACE="COURIER">c:\gsas.config</FONT>)
     166files that cannot be
    150167run at the time when the files are sourced. <I>(added in EXPGUI v1.21)</I>
    151168</DL></DL>
    152169
    153 The following variables are written to <font face="courier">.gsas_config</font> when
     170The following variables are written to
     171<font face="courier">.gsas_config</font>
     172(or <FONT FACE="COURIER">c:\gsas.config</FONT>)
     173when
    154174"Save Options" is used. These variables are all set from the GUI and therefore
    155175do not need to be edited manually.
     
    337357
    338358<HR><H3>LSTVIEW</H3>
    339 The <FONT FACE="COURIER">localconfig</FONT> and <FONT FACE="COURIER">.gsas_config</FONT> files are read, if present.
     359The <FONT FACE="COURIER">localconfig</FONT> and
     360<FONT FACE="COURIER">.gsas_config</FONT>
     361(or <FONT FACE="COURIER">c:\gsas.config</FONT>)
     362files are read, if present.
    340363The following options are available for customization in these files:
    341364<DL><DL>
     
    358381</DL></DL>
    359382
    360 The following variables are written to <font face="courier">.gsas_config</font> when
     383The following variables are written to
     384<font face="courier">.gsas_config</font>
     385(or <FONT FACE="COURIER">c:\gsas.config</FONT>)
     386when
    361387"Save Options" is used. These variables can be set from the GUI and therefore
    362388do not need to be edited manually.
     
    412438defines the range the function is valid.
    413439<P>
    414 The following variables are written to <font face="courier">.gsas_config</font> when
     440The following variables are written to
     441<font face="courier">.gsas_config</font>
     442(or <FONT FACE="COURIER">c:\gsas.config</FONT>)
     443when
    415444"Save Options" is used. These variables are all set from the GUI and therefore
    416445do not need to be edited manually.
     
    470499To make this customization, put the above in the <FONT FACE="COURIER">localconfig</FONT>
    471500file or the
    472 <FONT FACE="COURIER">~/.gsas_config</FONT> or (or <FONT FACE="COURIER">C:\GSAS\EXPGUI\localconfig</FONT>)
     501<FONT FACE="COURIER">~/.gsas_config</FONT> or
     502(or <FONT FACE="COURIER">c:\gsas.config</FONT>)
    473503file.
    474504<hr>
     
    539569To make this customization, put the above in the <FONT FACE="COURIER">localconfig</FONT>
    540570file or the
    541 <FONT FACE="COURIER">~/.gsas_config</FONT> or (or <FONT FACE="COURIER">C:\GSAS\EXPGUI\localconfig</FONT>)
     571<FONT FACE="COURIER">~/.gsas_config</FONT> or
     572(or <FONT FACE="COURIER">c:\gsas.config</FONT>)
    542573file.
    543574<P>
     
    613644The fonts used in EXPGUI can be customized by adding some code to the
    614645<FONT FACE="COURIER">localconfig</FONT> file or the
    615 <FONT FACE="COURIER">~/.gsas_config</FONT> or (or <FONT FACE="COURIER">C:\GSAS\EXPGUI\localconfig</FONT>) file.
     646<FONT FACE="COURIER">~/.gsas_config</FONT> or
     647(or <FONT FACE="COURIER">c:\gsas.config</FONT>)
     648file.
    616649By default, fonts are 14 point for the menus, buttons, labels,... and
    61765012 point for the histogram and atom lists.
Note: See TracChangeset for help on using the changeset viewer.