source: branches/tree/HELP_SOURCE/source/arb_envar.hlp

Last change on this file was 18776, checked in by westram, 3 years ago
  • do not copy result of GB_getenvDOCPATH/GB_getenvHTMLDOCPATH (result is static and immutable).
  • use GB_getenvDOCPATH to access helpfiles.
    • Might fix some problems in situations where ARB_DOC is set.
    • Update documentation for environment variables.
  • DRY definition of development documentation path.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.7 KB
Line 
1#Please insert up references in the next lines (line starts with keyword UP)
2UP      arb.hlp
3UP      glossary.hlp
4
5#Please insert subtopic references  (line starts with keyword SUB)
6#SUB    subtopic.hlp
7
8# Hypertext links in helptext can be added like this: LINK{ref.hlp|http://add|bla@domain}
9
10#************* Title of helpfile !! and start of real helpfile ********
11TITLE           ARB environment variables
12
13OCCURRENCE      Anywhere
14
15DESCRIPTION     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
126NOTES           Short description of how to set an environment variable:
127
128                        1. for bash users (add to .bashrc):
129
130                           ARB_GS='my_special_postscript_viewer'
131                           export  ARB_GS
132
133                        2. for tcsh users (add to .cshrc):
134
135                           setenv ARB_GS 'my_special_postscript_viewer'
136
137                If you are using OSX please also refer to
138                LINK{https://github.com/arb-project/homebrew-arb#configuration}
139
140EXAMPLES        None
141
142WARNINGS        None
143
144BUGS            No bugs known
Note: See TracBrowser for help on using the repository browser.