| 1 | # main topics: |
|---|
| 2 | UP arb.hlp |
|---|
| 3 | UP glossary.hlp |
|---|
| 4 | |
|---|
| 5 | # sub topics: |
|---|
| 6 | #SUB subtopic.hlp |
|---|
| 7 | |
|---|
| 8 | # format described in ../help.readme |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | TITLE ARB environment variables |
|---|
| 12 | |
|---|
| 13 | OCCURRENCE Anywhere |
|---|
| 14 | |
|---|
| 15 | DESCRIPTION Arb is aware of several environment variables: |
|---|
| 16 | |
|---|
| 17 | ARBHOME |
|---|
| 18 | |
|---|
| 19 | Should be set to the arb install directory |
|---|
| 20 | (usually /usr/arb) |
|---|
| 21 | |
|---|
| 22 | LD_LIBRARY_PATH |
|---|
| 23 | |
|---|
| 24 | path to system libraries (should contain $ARBHOME/lib (i.e. /usr/arb/lib if $ARBHOME is /usr/arb)). |
|---|
| 25 | Set by the 'arb' script. |
|---|
| 26 | (Note: unused/does not work under OSX, because of SIP) |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | ARB_TEXTEDIT |
|---|
| 30 | |
|---|
| 31 | The NAME (e.g. "gedit") of the editor you like to use |
|---|
| 32 | when editing textlike files via ARB |
|---|
| 33 | (used by script arb_textedit. auto-detected if undefined). |
|---|
| 34 | |
|---|
| 35 | On macOS, it defaults to TextEdit. |
|---|
| 36 | If you have set a different default text editor for macOS and |
|---|
| 37 | want to use it with arb, too, set the environment variable to |
|---|
| 38 | 'open -t'. If you want to use a specific app when opening text |
|---|
| 39 | files from within ARB, use 'open -a <app name>', e.g. |
|---|
| 40 | 'open -a BBEdit' to open text files in BBEdit. |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | ARB_XTERM |
|---|
| 44 | |
|---|
| 45 | The call which is needed to create a normal xterm |
|---|
| 46 | (default: xterm -sl 1000 -sb -geometry 150x60 |
|---|
| 47 | Note: until arb-6.0.x geometry defaulted to "120x50") |
|---|
| 48 | |
|---|
| 49 | |
|---|
| 50 | ARB_XCMD |
|---|
| 51 | |
|---|
| 52 | The call which is needed to create a xterm invoking external programs |
|---|
| 53 | (default: $ARB_XTERM -e ). |
|---|
| 54 | |
|---|
| 55 | USER |
|---|
| 56 | |
|---|
| 57 | your username (normally set by shell). |
|---|
| 58 | |
|---|
| 59 | PRINTER |
|---|
| 60 | |
|---|
| 61 | if PRINTER is defined, it may contain the name of your printer. ARB will |
|---|
| 62 | then automatically use it in the printer command. |
|---|
| 63 | |
|---|
| 64 | ARB_PID |
|---|
| 65 | |
|---|
| 66 | internal PID for communication (set by the 'arb' script) |
|---|
| 67 | |
|---|
| 68 | ARBMACRO |
|---|
| 69 | |
|---|
| 70 | directory name where global ARB-macros may be provides by system administrator |
|---|
| 71 | (default: $ARBHOME/lib/macros ) |
|---|
| 72 | |
|---|
| 73 | ARB_PROP |
|---|
| 74 | |
|---|
| 75 | directory name where your local ARB-properties will be saved to/loaded from |
|---|
| 76 | (default: $HOME/.arb_prop ). |
|---|
| 77 | Allows to use different ARB configurations in the same user account. |
|---|
| 78 | |
|---|
| 79 | ARBMACROHOME |
|---|
| 80 | |
|---|
| 81 | directory name where your local ARB-macros will be saved to/loaded from |
|---|
| 82 | (default: $ARB_PROP/macros ) |
|---|
| 83 | |
|---|
| 84 | ARBCONFIG |
|---|
| 85 | |
|---|
| 86 | directory name where your local ARB-configs will be saved to/loaded from |
|---|
| 87 | (default: $ARB_PROP/cfgSave ) |
|---|
| 88 | |
|---|
| 89 | ARB_GS |
|---|
| 90 | |
|---|
| 91 | name of postscript viewer used by ARB |
|---|
| 92 | (default: 'xreader' or 'gv' or 'ghostview'on Linux, 'open -W' on macOS). |
|---|
| 93 | |
|---|
| 94 | If you want to use a different app to open postscript files on macOS from within ARB, |
|---|
| 95 | use 'open -W -a <app name>', e.g. 'open -a "Affinity Designer"' to open postscript |
|---|
| 96 | files in Affinity designer. Please make sure that you add the -W option to the open |
|---|
| 97 | command. Otherwise, arb might delete the file before the other program reads it. |
|---|
| 98 | |
|---|
| 99 | ARB_PDFVIEW |
|---|
| 100 | |
|---|
| 101 | name of pdf viewer used by ARB |
|---|
| 102 | (default: 'xreader' or 'epdfview' or 'acroread' or 'gv' on Linux, 'open -W' on macOS). |
|---|
| 103 | |
|---|
| 104 | If you want to use a different app to open postscript files on macOS from within ARB, |
|---|
| 105 | use 'open -W -a <app name>', e.g. 'open -a "Affinity Designer"' to open postscript |
|---|
| 106 | files in Affinity designer. Please make sure that you add the -W option to the open command. |
|---|
| 107 | Otherwise, arb might delete the file before the other program reads it. |
|---|
| 108 | |
|---|
| 109 | ARB_WORKDIR |
|---|
| 110 | |
|---|
| 111 | extra directory appearing in ARB-File-Browsers |
|---|
| 112 | (default: none) |
|---|
| 113 | |
|---|
| 114 | ARB_DOC |
|---|
| 115 | |
|---|
| 116 | directory where ARB searches for documentation |
|---|
| 117 | i.e. *.hlp, *.ps, *.ps.gz, *.pdf and *.pdf.gz |
|---|
| 118 | (default: $ARBHOME/lib/help) |
|---|
| 119 | |
|---|
| 120 | ARB_HTMLDOC |
|---|
| 121 | |
|---|
| 122 | directory where ARB searches for documentation |
|---|
| 123 | in hypertext format, i.e. *.html |
|---|
| 124 | (default: $ARBHOME/lib/help_html) |
|---|
| 125 | |
|---|
| 126 | ARB_SCRIPTED_SECS_WAIT_ON_ERROR |
|---|
| 127 | |
|---|
| 128 | use to control how long the arb script waits for a keypress |
|---|
| 129 | after ARB exits unexpectedly. Set it to the number of seconds you want the script to |
|---|
| 130 | pause before timing out when running macros from the command-line interface. |
|---|
| 131 | |
|---|
| 132 | |
|---|
| 133 | NOTES Short description of how to set an environment variable: |
|---|
| 134 | |
|---|
| 135 | 1. for bash users (add to .bashrc): |
|---|
| 136 | |
|---|
| 137 | ARB_GS='my_special_postscript_viewer' |
|---|
| 138 | export ARB_GS |
|---|
| 139 | |
|---|
| 140 | 2. for tcsh users (add to .cshrc): |
|---|
| 141 | |
|---|
| 142 | setenv ARB_GS 'my_special_postscript_viewer' |
|---|
| 143 | |
|---|
| 144 | If you are using OSX please also refer to |
|---|
| 145 | LINK{https://github.com/arb-project/homebrew-arb#configuration} |
|---|
| 146 | |
|---|
| 147 | EXAMPLES None |
|---|
| 148 | |
|---|
| 149 | WARNINGS None |
|---|
| 150 | |
|---|
| 151 | BUGS No bugs known |
|---|