| 1 | <?xml version='1.0' encoding='UTF-8'?> |
1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.6 2008/04/15 06:17:47 nightmorph Exp $ --> |
3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.7 2008/04/15 14:28:47 vapier Exp $ --> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/openrc-migration.xml"> |
5 | <guide link="/doc/en/openrc-migration.xml"> |
| 6 | <title>Baselayout and OpenRC Migration Guide</title> |
6 | <title>Baselayout and OpenRC Migration Guide</title> |
| 7 | |
7 | |
| 8 | <author title="Author"> |
8 | <author title="Author"> |
| … | |
… | |
| 22 | |
22 | |
| 23 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
23 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 24 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
24 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 25 | <license/> |
25 | <license/> |
| 26 | |
26 | |
| 27 | <version>1.3</version> |
27 | <version>1.4</version> |
| 28 | <date>2008-04-14</date> |
28 | <date>2008-04-15</date> |
| 29 | |
29 | |
| 30 | <chapter> |
30 | <chapter> |
| 31 | <title>Background</title> |
31 | <title>Background</title> |
| 32 | <section> |
32 | <section> |
| 33 | <title>What's baselayout?</title> |
33 | <title>What's baselayout?</title> |
| … | |
… | |
| 286 | </impo> |
286 | </impo> |
| 287 | |
287 | |
| 288 | </body> |
288 | </body> |
| 289 | </section> |
289 | </section> |
| 290 | <section> |
290 | <section> |
| 291 | <title>EDITOR</title> |
291 | <title>EDITOR / PAGER</title> |
| 292 | <body> |
292 | <body> |
| 293 | |
293 | |
| 294 | <p> |
294 | <p> |
| 295 | The EDITOR variable is no longer found in <path>/etc/rc.conf</path>, and at this |
295 | The EDITOR variable is no longer found in <path>/etc/rc.conf</path>. Both |
| 296 | time is not provided by any other package. Users are encouraged to set it as |
296 | EDITOR and PAGER are set by default in /etc/profile. You should change this as |
| 297 | needed in their <path>~/.bashrc</path> file or create |
297 | needed in your <path>~/.bashrc</path> (or equivalent) file or create |
| 298 | <path>/etc/env.d/99editor</path> and set it there. |
298 | <path>/etc/env.d/99editor</path> and set the system default there. |
| 299 | </p> |
299 | </p> |
| 300 | |
300 | |
| 301 | <impo> |
301 | <impo> |
| 302 | You must run <c>env-update</c> after creating a file in <path>/etc/env.d</path>, |
302 | You must run <c>env-update</c> after creating a file in <path>/etc/env.d</path>, |
| 303 | and then logout and login for it to take effect. If you set the variable in |
303 | and then logout and login for it to take effect. If you set the variable in |