pkgsrc/misc/screen/patches/patch-ap
kim 841323cd44 Upgrade misc/screen to version 4.3.1 and address stack overflog bug 45713.
Ref: https://savannah.gnu.org/bugs/?45713

Changes since version 4.2.1
---------------------------

Version 4.3.1 (28/06/2015):
  * Fix resize bug

Version 4.3.0 (13/06/2015):
  * Introduce Xx string escape showing the executed command of a window
  * Implement dead/zombie window polling, allowing for auto reconnecting
  * Allow setting hardstatus on first line

  New Commands:
  * 'sort' command sorting windows by title
  * 'bumpleft', 'bumpright' - manually move windows on window list
  * 'collapse' removing numbering 'gaps' between windows, by renumbering
  * 'windows' command now accepts arguments for use with querying
2015-09-01 13:34:47 +00:00

58 lines
1.9 KiB
Text

$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\-<login>
-.IP /local/screens/S\-<login>
+.IP /tmp/screens/S\-<login>
Socket directories (default)
.IP /usr/tmp/screens/S\-<login>
Alternate socket directories.