head 1.3; access; symbols pkgsrc-2014Q4:1.2.0.4 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.2 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.1.0.38 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.36 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.34 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.32 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.30 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.28 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.26 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.24 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.22 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.20 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.18 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.16 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.14 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.12 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.10 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.8 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.6 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.4 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.2 pkgsrc-2009Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2015.01.13.08.27.28; author he; state dead; branches; next 1.2; commitid gWbXjIzrnoNR5Q5y; 1.2 date 2014.08.25.20.02.32; author kim; state Exp; branches 1.2.4.1; next 1.1; commitid g8Qatp6FH7pJtMNx; 1.1 date 2010.01.01.19.38.44; author spz; state Exp; branches; next ; 1.2.4.1 date 2015.01.14.08.37.34; author tron; state dead; branches; next ; commitid wDXqM8cGQXzl8Y5y; desc @@ 1.3 log @Remove patch for a generated(!) file. Remove the old-style-named patch 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. @ text @$NetBSD: patch-as,v 1.2 2014/08/25 20:02:32 kim Exp $ --- tty.sh.orig 2014-04-26 16:29:40.000000000 +0000 +++ tty.sh 2014-08-25 19:44:59.000000000 +0000 @@@@ -812,7 +812,8 @@@@ /* * Under BSD we have to set the controlling terminal again explicitly. */ -# if (defined(__FreeBSD_kernel__) || defined(__GNU__)) && defined(TIOCSCTTY) +# if (defined(__FreeBSD_kernel__) || defined(__GNU__) || (BSD >= 199103)) \ + && defined(TIOCSCTTY) ioctl(fd, TIOCSCTTY, (char *)0); # endif @ 1.2 log @Upgrade screen to version 4.2.1. 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 ') - '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) @ text @d1 1 a1 1 $NetBSD$ @ 1.2.4.1 log @Pullup ticket #4589 - requested by he misc/screen: portability patch Revisions pulled up: - misc/screen/Makefile 1.91-1.92 - misc/screen/distinfo 1.35-1.36 - misc/screen/patches/patch-as deleted - misc/screen/patches/patch-tty.sh 1.1 --- Module Name: pkgsrc Committed By: he Date: Mon Jan 12 14:24:40 UTC 2015 Modified Files: pkgsrc/misc/screen: Makefile distinfo Added Files: pkgsrc/misc/screen/patches: patch-tty.c Log Message: The NetBSD -5 branch's version of realpath() insists on a non-NULL second argument, so make the usage cater for that. Bump PKGREVISION. --- Module Name: pkgsrc Committed By: he Date: Tue Jan 13 08:27:28 UTC 2015 Modified Files: pkgsrc/misc/screen: Makefile distinfo Added Files: pkgsrc/misc/screen/patches: patch-tty.sh Removed Files: pkgsrc/misc/screen/patches: patch-as patch-tty.c Log Message: Remove patch for a generated(!) file. Remove the old-style-named patch 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. @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.2 2014/08/25 20:02:32 kim Exp $ @ 1.1 log @Fix build failure: 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. @ text @d3 11 a13 10 --- tty.sh.orig 2003-09-08 14:24:25.000000000 +0000 +++ tty.sh @@@@ -76,7 +76,7 @@@@ exit 0 #endif #include "config.h" -#ifdef SVR4 +#ifdef HAVE_SYS_STROPTS_H #include /* for I_POP */ #endif @