1 diff -burN elinks-0.11.0.orig/doc/man/man1/elinks.1.in elinks-0.11.0/doc/man/man1/elinks.1.in
2 --- elinks-0.11.0.orig/doc/man/man1/elinks.1.in 2006-01-01 21:59:35.921524250 +0100
3 +++ elinks-0.11.0/doc/man/man1/elinks.1.in 2006-01-01 22:01:19.884021500 +0100
5 The path to the users home directory\&. Used when expanding ~/\&.
9 +If set the location of the directory containing configuration files
10 +is \fI$HOME_ETC/.elinks/\fR instead of \fI~/.elinks/\fR.
14 Homepage location (as in lynx(1))
16 diff -burN elinks-0.11.0.orig/src/config/home.c elinks-0.11.0/src/config/home.c
17 --- elinks-0.11.0.orig/src/config/home.c 2006-01-01 21:59:35.845519500 +0100
18 +++ elinks-0.11.0/src/config/home.c 2006-01-01 22:00:36.489309500 +0100
22 unsigned char *home_elinks;
23 - unsigned char *envhome = getenv("HOME");
24 + unsigned char *envhome = getenv("HOME_ETC") ? getenv("HOME_ETC") : getenv("HOME");
25 unsigned char *home = envhome ? stracpy(envhome)
26 : elinks_dirname(program.path);