SETUP IGR DEFAULT

The user can edit the setup file resources.res on the igr source directory.
Then he must recompile the igr source code in order for igr to make use of it.

This list shows all settings that can be in the file resources.res .
The recommended value is written after the : .

Igr*mappingDelay: 0
workaround for a bug in motif 1.2.3

Igr*fontList:: *-b&h-lucidatypewriter-bold-r-normal-*-14-*-75-75-m-*-iso8859-1
default font for the igr client
for avalable fonts on your computer use the xlsfonts command

Igr*background: grey70
default background color for all igr windows

Igr*foreground:: black
default forground color for all igr windows

Igr*CurrentQuantity*.background:: grey70
background color for the Quantity Dialog , ( Select->Quantity )

Igr*debug_text*fontList:: *-b&h-lucidatypewriter-medium-r-normal-*-12-*-75-75-m-*-iso8859-1
default font for debug text , ( Help->Debug->DebugHelp )

Igr*newtime_text*fontList:: *-b&h-lucidatypewriter-bold-r-normal-*-12-*-75-75-m-*-iso8859-1
default font for the New Time Dialog , ( Req->NewTime )

Igr*newtime_text*background: grey74
background color for the New Time Dialog , ( Req->NewTime )

Igr*IgrColorSelect*fontList::* -b&h-lucidatypewriter-bold-r-normal-*-12-*-75-75-m-*-iso8859-1
default font for the IgrColorSelect dialog, Gaphics->Panel->Color->Spectra , colors for the spectra

Igr*keyboardFocusPolicy: pointer
pointer means the keyboard focus follows the mouse pointer

Igr.formWidth: 1202
default size of the igr window

Igr.formHeight: 750
default size of the igr window
If the igr window is to big for your screen you ought to decrase the Igr.formWidth and Igr.formHeight .

Igr.qtyMax: 132
maximum number of quantities read by the igr client
Not recommended to change

Igr.spectraMax: 30
maximum number of spectra supported
Not recommended to change

Igr.plotMax: 132
maximum number of plots supported by the igr client
Not recommended to change

Igr.rowMax: 10
number of panel rows
Not recommended to change

Igr.columnMax: 2
number of panel columns
Not recommended to change

Igr.curveMax: 6
maximum number of plots in each panel
Not recommended to change

Igr.colorMax: 256
maximum number of colors supported by the igr client
If the igr client occupies to many colors then decrease this to Igr.colorMax: 64

Igr.commonScale: 1
default is common scale for all plots in same panel

Igr.undoTimeLevels: 8
number of levels stored in zooming time axis

Igr.pushButtonPosition: 1
0 : upper left corner
1 : upper right corner
2 : lower right corner
3 : lower left corner
Position of the button linked to each plot.

Igr.pushButtonTextOn: 1
1: plot numbers is printed
0: plot numbers is not printed
This option specifies if the plot numbers are printed after each of the button linked to each plot

Igr*PushButton*.fontList: 6x13
specification for the button linked to each plot

Igr*PushButton*.foreground: black
specification for the button linked to each plot

Igr*PushButton*.selectColor: black
specification for the button linked to each plot

Igr*PushButton*.topShadowColor: white
specification for the button linked to each plot

Igr.scatterCrossSize: 2000
scatterCrossSize is the default size * 1e3 of the cross at screen
This can be changed in the Plot Control Dialog , marker

Igr.scatterCrossSizeP: 2000
scatterCrossSizeP is the default size * 1e6 of the cross in postscript This can be changed in the Plot Control Dialog , marker

Igr.scatterDotSizeP: 720
catterDotSizeP is the default size * 1e6 of the dot in postscript (radius of circle) This can be changed in the Plot Control Dialog , dotsize

Igr.printCommand: ppr
Print command for postcript output when Which Device printer is selected in Print Dialog
When nothing is specified in the "Printer name:"
line in the PrintDialog the printer command will be: 'lp'
When a name of a printer e.g. 'myprinter' is
written in the "Printer name:" line the printer
command will be: 'lp -d myprinter'

Igr.printOption: -v
Print option for postscript output Which Device printer is selected in Print Dialog

Igr.printBlock: 0
Igr*printBlock: 1 ; wait until it read the response from the system (default)
Igr*printBlock: 0 ; does not wait until it read the response from the system

Igr.postXlow: 70
Igr.postXhigh: 550
Igr.postYlow: 36
Igr.postYhigh: 780
   .postXlow, .postXhigh, .postYlow and .postYhigh specifies the margins of the postscript page
    
   y
   |
   |
   |  (unit is 1/72 inch , i.e 2.54 / 72 cm )
   |
 0 |___________ x
   0

Igr.maxVertBars: 32
Maximum number of vertical bars drawn in spectrogram when closed time gaps is selected

Igr.batchDeltaTime: 300
default time between each batch loops (s)

Igr.setLC_Numeric: 1
force to standard C settings, setlocale(LC_NUMERIC, "C"), see man setlocale, 1 is the default
when Igr.setLC_Numeric: 0 the setlocale(LC_NUMERIC, "C") is not used

Igr.zoomAllowed: 1
allowed to do zooming

Igr.panelMaxText:
Number of text items allowed in each panel, see Edit->Text

Igr.warningMask: 8192
The warning mask determines if the warning messages from the ISDAT data base server (dbh)
are printed in the panel. The hex number in this field are AND'ed with the warning
number from the dbh. The resulting warning message is displayed. The warning messages are:
DbBAD_DROP 0x0001 "data drop"
DbBAD_GAP 0x0016 "data gap"
DbWARN_DROP 0x0001 "data drop"
DbWARN_PART 0x0002 "mode change"
DbWARN_EOF 0x0004 "end of file"
DbWARN_GAP 0x0016 "data gap"
DbWARN_CORR 0x1000 "data corrected"
DbWARN_CAL 0x2000 "uncertain calibration"
The default warning_mask is 0x2000. In this case the default is only to print
"uncertain calibration" warning messages in the panel.
When 0x0000 is entered, no warning messages are printed.
When 0xFFFF is entered, all warning messages are printed.
The user can change the warning mask in the Page Control Dialog .


Extra on ctm :

If the user thinks the fonts in the ISDAT ctm time manager are to big,
he can change it in the file isdat_root/clients/tm/ctm/Ctm.res
Change the 14 to 12 in :
Ctm*fontList: \
*-b&h-lucidatypewriter-bold-r-normal-*-14-*-75-75-m-*-iso8859-1,\
-*-courier-medium-r-*-*-14-*-75-75-m-*-iso8859-1=charset1

If recompile of igr is not useful :

If the user do not want to recompile he can also do on the igr source directory.
cat resources.res calc_gui.res iff_gui.res > Igr.res


Updated Mar 21, 2011 by Bjørn Lybekk