/[gentoo]/xml/htdocs/doc/en/handbook/hb-working-variables.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-working-variables.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.20 Revision 1.21
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-variables.xml,v 1.20 2006/10/28 09:17:55 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-variables.xml,v 1.21 2007/04/02 09:41:49 neysx Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12With Gentoo you can easily manage the environment variables for your system. 12With Gentoo you can easily manage the environment variables for your system.
13This chapter explains how you do that, and also describes frequently used 13This chapter explains how you do that, and also describes frequently used
14variables. 14variables.
15</abstract> 15</abstract>
16 16
17<version>1.14</version> 17<version>1.15</version>
18<date>2005-09-28</date> 18<date>2007-04-02</date>
19 19
20<section> 20<section>
21<title>Environment Variables?</title> 21<title>Environment Variables?</title>
22<subsection> 22<subsection>
23<title>What they are</title> 23<title>What they are</title>
102<tr> 102<tr>
103 <ti>KDEDIRS</ti> 103 <ti>KDEDIRS</ti>
104 <ti> 104 <ti>
105 This variable contains a colon-separated list of directories which contain 105 This variable contains a colon-separated list of directories which contain
106 KDE-specific material. 106 KDE-specific material.
107 </ti>
108</tr>
109<tr>
110 <ti>CLASSPATH</ti>
111 <ti>
112 This variable contains a colon-separated list of directories which contain
113 Java classes.
114 </ti> 107 </ti>
115</tr> 108</tr>
116<tr> 109<tr>
117 <ti>CONFIG_PROTECT</ti> 110 <ti>CONFIG_PROTECT</ti>
118 <ti> 111 <ti>
140MANPATH="/usr/share/man:/usr/local/share/man" 133MANPATH="/usr/share/man:/usr/local/share/man"
141INFODIR="/usr/share/info:/usr/local/share/info" 134INFODIR="/usr/share/info:/usr/local/share/info"
142PAGER="/usr/bin/less" 135PAGER="/usr/bin/less"
143EDITOR="/usr/bin/vim" 136EDITOR="/usr/bin/vim"
144KDEDIRS="/usr" 137KDEDIRS="/usr"
145CLASSPATH="/opt/blackdown-jre-1.4.1/lib/rt.jar:."
146CONFIG_PROTECT="/usr/X11R6/lib/X11/xkb /opt/tomcat/conf \ 138CONFIG_PROTECT="/usr/X11R6/lib/X11/xkb /opt/tomcat/conf \
147 /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ \ 139 /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ \
148 /usr/share/texmf/tex/platex/config/ /usr/share/config" 140 /usr/share/texmf/tex/platex/config/ /usr/share/config"
149CONFIG_PROTECT_MASK="/etc/gconf" 141CONFIG_PROTECT_MASK="/etc/gconf"
150</pre> 142</pre>
237PATH="/bin:/usr/bin:/usr/kde/3.2/bin:/usr/local/bin" 229PATH="/bin:/usr/bin:/usr/kde/3.2/bin:/usr/local/bin"
238</pre> 230</pre>
239 231
240<p> 232<p>
241The concatenation of variables does not always happen, only with the following 233The concatenation of variables does not always happen, only with the following
242variables: <c>KDEDIRS</c>, <c>PATH</c>, <c>CLASSPATH</c>, <c>LDPATH</c>, 234variables: <c>KDEDIRS</c>, <c>PATH</c>, <c>LDPATH</c>, <c>MANPATH</c>,
243<c>MANPATH</c>, <c>INFODIR</c>, <c>INFOPATH</c>, <c>ROOTPATH</c>, 235<c>INFODIR</c>, <c>INFOPATH</c>, <c>ROOTPATH</c>, <c>CONFIG_PROTECT</c>,
244<c>CONFIG_PROTECT</c>, <c>CONFIG_PROTECT_MASK</c>, <c>PRELINK_PATH</c> and 236<c>CONFIG_PROTECT_MASK</c>, <c>PRELINK_PATH</c> and <c>PRELINK_PATH_MASK</c>.
245<c>PRELINK_PATH_MASK</c>. For all other variables the latest defined value (in 237For all other variables the latest defined value (in alphabetical order of the
246alphabetical order of the files in <path>/etc/env.d</path>) is used. 238files in <path>/etc/env.d</path>) is used.
247</p> 239</p>
248 240
249<p> 241<p>
250When you run <c>env-update</c>, the script will create all environment variables 242When you run <c>env-update</c>, the script will create all environment variables
251and place them in <path>/etc/profile.env</path> (which is used by 243and place them in <path>/etc/profile.env</path> (which is used by

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20