Also fix the completely incorrect code that was inteded to look for
the closing bracket (but clearly wouldn't work and wasn't hit in my
previous testing).
Changelog:
Version 4.8.0 (05/02/2020)
* Improve startup time by only polling for files to close
Fixes:
- Fix for segfault if termcap doesn't have Km entry
- Make screen exit code be 0 when checking --version
- Fix potential memory corruption when using OSC 49
pkglint --only "https instead of http" -r -F
With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.
This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
Version 4.7.0 (02/10/2019)
* Add support for SGR (1006) mouse mode
* Add support for OSC 11
* Update Unicode ambiguous and wide tables to 12.1.0
* Fixes:
- cross-compilation support (bug #43223)
- a lot of manpage fixes and cleanups
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
Version 4.6.1 (10/07/2017):
* Fixes:
- problems with starting session in some cases
- parallel make install
- segfault when querying info on nonUTF locale
Version 4.6.0 (28/06/2017):
* Update Unicode wide tables to 9.0
* Support more serial speeds
* Improved namespaces support
* Migrate from fifos to sockets
* Start viewing scrollback at first line of output
Changelog:
Version 4.4.0 (19/06/2016):
* Support up to 24 function keys
* Fix runtime issues
* 'logfile' command, starts logging into new file upon changing
Problems found locating distfiles:
Package colorls: missing distfile ls.tar.gz
Package molden: missing distfile molden-4.6/molden4.6.tar.gz
Package softmaker-office-demo: missing distfile ofl06trial.tgz
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
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
which already tweaked the tty.sh file, name it according to the new rules.
This is to actually get the netbsd-5 branch working with this, since
realpath() insists on a non-NULL second argument.
Version 4.2.1 (28/04/2014):
* allow for terminal with long $TERM (up to 32 characters)
* allow to use long logins
* documentation fixes
* runtime fixes
Version 4.2.0 (17/04/2014):
New Commands:
* 'unbindall' to unbind all commands
* 'up', 'down', 'left', 'right' sub-commands for 'focus'
* 'rendition' to specify rendition to use in caption/hardstatus for
window-names that have bell/monitor/silence/so turned on.
* 'layout', with the following sub-commands
- 'title'
- 'number'
- 'autosave' ('autosave on' or 'autosave off')
- 'new'
- 'save' ('save <name>')
- 'select'
- 'next'
- 'prev'
- 'attach'
- 'show'
- 'remove'
- 'dump'
* 'group' for moving window(s) into a group.
* 'defmousetrack' and 'mousetrack', to turn on/off mouse-tracking for
displays. It's turned off by default. With mouse-tracking turned on, it's
possible to switch to a region ('focus') using mouse clicks. It's also
possible to select a text region in copy-mode using a mouse click to place
a mark and the scroll wheel to scroll through the buffer. Additional
features might be to allow clicking on window-titles in the caption to
switch to that window.
* All commands prefixed '@' are treated as 'quiet', i.e. '@'-prefixed commands
do not trigger any display messages.
Changed Commands:
* '-v' parameter to 'split' command for vertical splits.
* 'sorendition' deprecated in favour of 'rendition so'.
* 'digraph' can take a second parameter to specify custom digraphs. For
example,
'digraph >= ≥' or 'digraph >= U+2265'
Using '0' as the second parameter will remove the digraph.
* 'stuff' will prompt for input if there's nothing to stuff.
* The argument to ":number" can be prefixed with '+' or '-' to use it as a
relative argument.
* '-g' parameter to 'windowlist' to show nested list of windows.
* '//group' parameter to 'screen' to create a grouped window.
* 'blankerprg' shows the currently set command on no argument.
* 'maxwin' can now be used to increase the number of maximum windows.
.screenrc:
* $PID expands to the PID of the screen session.
* $PWD expands to the current working directory of the session.
* $STY expands to the session name.
* Tilde-expansion in pathnames (e.g. for the 'source' command)
* C-style escapes can be used (e.g. "\n" to get a newline with 'stuff')
* '%p' in caption/hardstatus string expands to the PID of the backend, and
'%+p' expands to the PID of the frontend (display).
* '%S' in caption/hardstatus string expands to the session name.
* '%P' in the caption string evaluates to true if the region is in copy mode.
* '%E' in the caption string evaluates to true if the escape character has
currently been pressed.
Window List:
* Nested views when there are window groups (with 'windowlist -g').
* Press 'm' to toggle the most-recent view.
* Press 'g' to toggle nestedness.
* Press 'a' to view all windows in the list.
* Press '/' to search in the list.
* Press ',' and '.' to re-order windows in the list.
* Press 'K' to kill a window (requires confirmation).
Display List:
* Press 'd' to detach a display, 'D' to power-detach.
Others:
* Start using 'ChangeLog' for logging changes again.
* Terminfo update for 256-color support.
* Multiple input history (partially from Romain Francoise).
* vi-like fFtT;, searching in copy mode.
* In copy mode, search in reverse direction when 'N' is pressed.
* Tab-completion for command input.
* Some more readline-like bindings in input mode (e.g. ^W, ^D, ^P, ^N etc.)
* Fix displaying unicode characters in the caption/hardstatus on UTF8 locale.
* A revamped displays list (for 'displays' command)
* Increased default maximum number of windows from 40 to 100.
* Increased number color/attribute changes in caption/hardstatus string from 16 to 256.
* Some commands can be remotely queried using the -Q command-line flag.
In-Progress:
* Scripting support (thanks to Google Summer of Code 2009 project by Rui Guo)
set to 'curses' and use the canonical path to tic(1M) rather than the
obsolete '/usr/5bin' PATH which is no longer valid on some newer OS
releases.
Bump PKGREVISION.
This commit changes patch-aa so that the patched version
of pty.c contains:
... other OS-specific code
... NetBSD-specific openpty() code (from patch-aa)
... generic openpty() code
... last resort code
instead of the previous:
... other OS-specific code
... generic openpty() code
... NetBSD-specific openpty() code (from patch-aa)
... last resort code
History behind this problem:
The NetBSD-specific openpty() code was added in revision 1.1
of misc/screen/patches/patch-aa. (See PR pkg/16901.) At that
time, pkgsrc used screen-3.9.11, and the upstream version of
screen did not use openpty() at all. The patch added an "#if
defined(__NetBSD__)" block as the last OS-specific section in
pty.c, which then had:
... other OS-specific code
... NetBSD-specific openpty() code (from patch-aa)
... last resort code
In screen-3.9.15, upstream added code in pty.c to use openpty().
This was imported to pkgsrc on 2003-03-15. At that time, pkgsrc's
patch-aa accidentally inserted the NetBSD-specific code below
instead of above the new code, so the patched version of pty.c
had:
... other OS-specific code
... generic openpty() code (from upstream)
... NetBSD-specific openpty() code (from patch-aa)
... last resort code
The above is obviously wrong because the generic openpty() code
would be used instead of the NetBSD-specific code, assuming
HAVE_OPENPTY was defined by the configure script.
This problem was reported in PR pkg/25317, but the patch in the PR
was not understood so it was not applied.
This commit changes patch-aa so that the patched version of pty.c
contains:
... other OS-specific code
... NetBSD-specific openpty() code (from patch-aa)
... generic openpty() code (from upstream)
... last resort code
However, it still doesn't work on NetBSD with ptyfs mounted.
NetBSD-current added dwarf.h and that made the code assume that sys/stropts.h
was present without greater need, since configure also checks for
HAVE_SYS_STROPTS_H.