1 diff -Nru pinfo-0.6.8.orig/doc/pinfo.1 pinfo-0.6.8/doc/pinfo.1
2 --- pinfo-0.6.8.orig/doc/pinfo.1 Thu Aug 21 11:20:06 2003
3 +++ pinfo-0.6.8/doc/pinfo.1 Thu Oct 16 07:48:48 2003
6 .SH COLOR AND KEY DEFINITIONS
8 -There are configuration files called ~/.pinforc and
9 +There are configuration files called $HOME_ETC/.pinforc or ~/.pinforc and
10 [prefix]/etc/pinforc, for local and global configuration (where prefix is the
11 prefix of the directory, where pinfo is installed, i.e. /usr/local, or /).
12 Here's an example of such a file; we'll discuss the contents below:
13 diff -Nru pinfo-0.6.8.orig/doc/pinfo.1.in pinfo-0.6.8/doc/pinfo.1.in
14 --- pinfo-0.6.8.orig/doc/pinfo.1.in Thu Aug 21 11:18:00 2003
15 +++ pinfo-0.6.8/doc/pinfo.1.in Thu Oct 16 07:50:39 2003
18 .SH COLOR AND KEY DEFINITIONS
20 -There are configuration files called ~/.pinforc and
21 +There are configuration files called $HOME_ETC/.pinforc or ~/.pinforc and
22 [prefix]/etc/pinforc, for local and global configuration (where prefix is the
23 prefix of the directory, where pinfo is installed, i.e. /usr/local, or /).
24 Here's an example of such a file; we'll discuss the contents below:
25 diff -Nru pinfo-0.6.8.orig/doc/pinfo.info pinfo-0.6.8/doc/pinfo.info
26 --- pinfo-0.6.8.orig/doc/pinfo.info Thu Aug 21 11:20:11 2003
27 +++ pinfo-0.6.8/doc/pinfo.info Thu Oct 16 07:51:51 2003
29 file::, and at the key descriptions, *Note Keys::. Keys available in
30 manual viewer differ a bit from the keys available in info viewer.
32 - There are configuration files called `~/.pinforc' and
33 -`[prefix]/etc/pinforc', for local and global configuration (where
34 + There are configuration files called `$HOME_ETC/.pinforc' or `~/.pinforc'
35 +and `[prefix]/etc/pinforc', for local and global configuration (where
36 prefix is the prefix of the directory, where `pinfo' is installed, i.e.
37 `/usr/local', or `/usr').
39 diff -Nru pinfo-0.6.8.orig/doc/pinfo.texi pinfo-0.6.8/doc/pinfo.texi
40 --- pinfo-0.6.8.orig/doc/pinfo.texi Thu Oct 16 07:41:25 2003
41 +++ pinfo-0.6.8/doc/pinfo.texi Thu Oct 16 07:52:47 2003
43 file}, and at the key descriptions, @xref{Keys}. Keys available in
44 manual viewer differ a bit from the keys available in info viewer.
46 -There are configuration files called @file{~/.pinforc} and
47 -@file{[prefix]/etc/pinforc}, for local and global configuration (where
48 +There are configuration files called @file{$HOME_ETC/.pinforc} or @file{~/.pinforc}
49 +and @file{[prefix]/etc/pinforc}, for local and global configuration (where
50 prefix is the prefix of the directory, where @value{PROGRAM} is
51 installed, i.e. @file{/usr/local}, or @file{/usr}).
53 diff -Nru pinfo-0.6.8.orig/src/parse_config.c pinfo-0.6.8/src/parse_config.c
54 --- pinfo-0.6.8.orig/src/parse_config.c Thu Aug 21 11:16:01 2003
55 +++ pinfo-0.6.8/src/parse_config.c Thu Oct 16 07:44:46 2003
60 - if (getenv ("HOME"))
61 + if (getenv ("HOME_ETC"))
62 + home = strdup (getenv ("HOME_ETC"));
63 + else if (getenv ("HOME"))
64 home = strdup (getenv ("HOME"));