$NetBSD: patch-ap,v 1.6 2015/09/01 13:34:47 kim Exp $ Replace configurable paths with tags. BE CAREFUL IF YOU WANT TO REGENERATE THIS PATCH! YOU MUST RUN DIFF BEFORE SUBSTITUTIONS! % make clean && make extract && make pre-patch && make do-patch RUNNING "make patch" TAKES YOU TOO FAR. --- doc/screen.1.orig 2015-06-28 21:39:33.000000000 +0000 +++ doc/screen.1 2015-09-01 13:12:22.000000000 +0000 @@ -636,7 +636,7 @@ .SH CUSTOMIZATION The \*Qsocket directory\*U defaults either to $HOME/.screen or simply to -/tmp/screens or preferably to /usr/local/screens chosen at compile-time. If +/tmp/screens. This is chosen at compile-time. If .I screen is installed setuid-root, then the administrator should compile @@ -649,7 +649,7 @@ When .I screen is invoked, it executes initialization commands from the files -\*Q/usr/local/etc/screenrc\*U and +\*Q@PKG_SYSCONFDIR@/screenrc\*U and \*Q.screenrc\*U in the user's home directory. These are the \*Qprogrammer's defaults\*U that can be overridden in the following ways: for the global screenrc file @@ -679,7 +679,7 @@ protected from variable substitution. .PP Two configuration files are shipped as examples with your screen distribution: -\*Qetc/screenrc\*U and \*Qetc/etcscreenrc\*U. They contain a number of +\*Q@EXAMPLES@/screenrc\*U and \*Q@EXAMPLES@/etcscreenrc\*U. They contain a number of useful examples for various commands. .PP Customization can also be done 'on-line'. To enter the command mode type @@ -4903,14 +4903,14 @@ .I screen distribution package for private and global initialization files. .IP $SYSSCREENRC -.IP /usr/local/etc/screenrc +.IP @PKG_SYSCONFDIR@/screenrc .I screen initialization commands .IP $SCREENRC .IP $HOME/.screenrc -Read in after /usr/local/etc/screenrc +Read in after @PKG_SYSCONFDIR@/screenrc .IP $SCREENDIR/S\- -.IP /local/screens/S\- +.IP /tmp/screens/S\- Socket directories (default) .IP /usr/tmp/screens/S\- Alternate socket directories.