head 1.12; access; symbols pkgsrc-2024Q4:1.11.0.12 pkgsrc-2024Q4-base:1.11 pkgsrc-2024Q3:1.11.0.10 pkgsrc-2024Q3-base:1.11 pkgsrc-2024Q2:1.11.0.8 pkgsrc-2024Q2-base:1.11 pkgsrc-2024Q1:1.11.0.6 pkgsrc-2024Q1-base:1.11 pkgsrc-2023Q4:1.11.0.4 pkgsrc-2023Q4-base:1.11 pkgsrc-2023Q3:1.11.0.2 pkgsrc-2023Q3-base:1.11 pkgsrc-2023Q2:1.10.0.48 pkgsrc-2023Q2-base:1.10 pkgsrc-2023Q1:1.10.0.46 pkgsrc-2023Q1-base:1.10 pkgsrc-2022Q4:1.10.0.44 pkgsrc-2022Q4-base:1.10 pkgsrc-2022Q3:1.10.0.42 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.10.0.40 pkgsrc-2022Q2-base:1.10 pkgsrc-2022Q1:1.10.0.38 pkgsrc-2022Q1-base:1.10 pkgsrc-2021Q4:1.10.0.36 pkgsrc-2021Q4-base:1.10 pkgsrc-2021Q3:1.10.0.34 pkgsrc-2021Q3-base:1.10 pkgsrc-2021Q2:1.10.0.32 pkgsrc-2021Q2-base:1.10 pkgsrc-2021Q1:1.10.0.30 pkgsrc-2021Q1-base:1.10 pkgsrc-2020Q4:1.10.0.28 pkgsrc-2020Q4-base:1.10 pkgsrc-2020Q3:1.10.0.26 pkgsrc-2020Q3-base:1.10 pkgsrc-2020Q2:1.10.0.22 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.10.0.2 pkgsrc-2020Q1-base:1.10 pkgsrc-2019Q4:1.10.0.24 pkgsrc-2019Q4-base:1.10 pkgsrc-2019Q3:1.10.0.20 pkgsrc-2019Q3-base:1.10 pkgsrc-2019Q2:1.10.0.18 pkgsrc-2019Q2-base:1.10 pkgsrc-2019Q1:1.10.0.16 pkgsrc-2019Q1-base:1.10 pkgsrc-2018Q4:1.10.0.14 pkgsrc-2018Q4-base:1.10 pkgsrc-2018Q3:1.10.0.12 pkgsrc-2018Q3-base:1.10 pkgsrc-2018Q2:1.10.0.10 pkgsrc-2018Q2-base:1.10 pkgsrc-2018Q1:1.10.0.8 pkgsrc-2018Q1-base:1.10 pkgsrc-2017Q4:1.10.0.6 pkgsrc-2017Q4-base:1.10 pkgsrc-2017Q3:1.10.0.4 pkgsrc-2017Q3-base:1.10 pkgsrc-2017Q2:1.9.0.16 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.14 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.12 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.10 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.8 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.6 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.4 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.2 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.8.0.4 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.8.0.2 pkgsrc-2015Q1-base:1.8 pkgsrc-2014Q4:1.7.0.4 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.2 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.6.0.28 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.26 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.24 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.22 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.20 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.18 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.16 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.14 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.12 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.10 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.8 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.6 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.4 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.2 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.5.0.26 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.24 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.22 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.20 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.18 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.16 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.14 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.12 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.10 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.8 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.6 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.4 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.2 pkgsrc-2008Q1:1.4.0.20 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.18 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.16 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.14 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.12 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.10 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.8 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.6 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.4 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.3.0.10 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.8 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.6 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.4 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.2 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.2.0.2 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.1.0.6 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.4 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.12 date 2025.01.09.20.07.03; author ktnb; state dead; branches; next 1.11; commitid 5NUIjIRACTuMGQEF; 1.11 date 2023.09.06.16.00.15; author vins; state Exp; branches; next 1.10; commitid e34oKDMk5MFd6JDE; 1.10 date 2017.07.18.23.02.18; author kim; state Exp; branches; next 1.9; commitid 78qXotVKMo9gtLZz; 1.9 date 2015.09.01.13.34.47; author kim; state Exp; branches; next 1.8; commitid xYtSZkEz6Ivdmyzy; 1.8 date 2015.02.13.04.44.40; author rodent; state Exp; branches; next 1.7; commitid zVIVi2ODO8jkSN9y; 1.7 date 2014.08.25.20.02.32; author kim; state Exp; branches; next 1.6; commitid g8Qatp6FH7pJtMNx; 1.6 date 2011.03.14.06.15.23; author rumko; state Exp; branches; next 1.5; 1.5 date 2008.04.04.21.09.16; author tonnerre; state Exp; branches; next 1.4; 1.4 date 2005.09.28.19.35.36; author rillig; state Exp; branches; next 1.3; 1.3 date 2004.07.15.04.05.40; author atatat; state Exp; branches; next 1.2; 1.2 date 2004.06.16.21.35.00; author christos; state Exp; branches; next 1.1; 1.1 date 2002.09.15.06.51.38; author kim; state Exp; branches; next ; desc @@ 1.12 log @screen: update to 5.0.0 - Rewriten autentication mechanism - Add escape %T to show current tty for window - Add escape %O to show number of currently open windows - Use wcwdith() instead of UTF-8 hard-coded tables - New commands: - auth [on|off] Provides password protection - status [top|up|down|bottom] [left|right] The status window by default is in bottom-left corner This command can move status messages to any corner of the screen. - truecolor [on|off] - multiinput Input to multiple windows at the same time - Removed commands: - time - debug - password - maxwin - nethack - Fixes: - Screen buffers ESC keypresses indefinitely - Crashes after passing through a zmodem transfer - Fix double -U issue @ text @$NetBSD: patch-aj,v 1.11 2023/09/06 16:00:15 vins Exp $ Include curses header when testing tgetent in order to prevent crash on 64-bit architectures. Detect getutent correctly on NetBSD with utmpx. --- configure.ac.orig 2023-08-16 00:29:26.000000000 +0000 +++ configure.ac @@@@ -904,9 +904,16 @@@@ AC_CHECKING(getutent) AC_TRY_LINK([ #include /* to get time_t on SCO */ #include -#if defined(SVR4) && !defined(DGUX) + #include +#if (defined(SVR4) && !defined(DGUX)) \ + || (defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 106050000)) \ + || (defined(__DragonFly__) && (__DragonFly_version >= 200902)) #include #define utmp utmpx +# if defined(__NetBSD__) || defined(__DragonFly__) +# define pututline pututxline +# define getutent getutxent +# endif #else #include #endif @ 1.11 log @misc/screen: update to 4.9.1. # Changes Version 4.9.1 (20/08/2023): * Support stop/parity bits on serial port (#23952) * Add needed system headers in checks and return values for implicit function declarations * Fixes: - Avoid zombies after shell exit (#25089) - Missed signal sending permission check on failed query messages (CVE-2023-24626) - manpage fixes - source code fixes during cleanup - UTF-8 encoding can emit invalid UTF-8 sequences for out of range unicode values (#62097) @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.10 2017/07/18 23:02:18 kim Exp $ @ 1.10 log @Upgrade misc/screen to version 4.6.1 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 @ text @d1 1 a1 1 $NetBSD$ d8 3 a10 12 --- configure.ac.orig 2017-07-10 19:26:25.000000000 +0000 +++ configure.ac 2017-07-18 22:50:46.000000000 +0000 @@@@ -661,6 +661,8 @@@@ AC_MSG_ERROR(!!! no tgetent - no screen))))))))) AC_TRY_RUN([ +#include + main() { exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1); @@@@ -812,9 +814,16 @@@@ d12 2 a13 2 #include /* to get time_t on SCO */ #include d15 1 a15 1 +#include d17 3 a19 3 + || (defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 106050000)) \ + || (defined(__DragonFly__) && (__DragonFly_version >= 200902)) #include d26 1 a26 1 #include @ 1.9 log @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 @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.8 2015/02/13 04:44:40 rodent Exp $ d8 3 a10 3 --- configure.ac.orig 2015-06-28 21:22:55.000000000 +0000 +++ configure.ac 2015-09-01 12:49:26.000000000 +0000 @@@@ -687,6 +687,8 @@@@ d19 1 a19 1 @@@@ -838,9 +840,16 @@@@ @ 1.8 log @Add patch which includes to fix build on OpenBSD. Defuzz patchset. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.7 2014/08/25 20:02:32 kim Exp $ d8 3 a10 3 --- configure.in.orig 2014-04-26 10:58:35.000000000 +0000 +++ configure.in @@@@ -686,6 +686,8 @@@@ AC_TRY_LINK(,tgetent((char *)0, (char *) d19 1 a19 1 @@@@ -837,9 +839,16 @@@@ AC_CHECKING(getutent) @ 1.7 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: patch-aj,v 1.6 2011/03/14 06:15:23 rumko Exp $ d9 2 a10 2 +++ configure.in 2014-08-25 18:20:27.000000000 +0000 @@@@ -686,6 +686,8 @@@@ d19 1 a19 1 @@@@ -837,9 +839,16 @@@@ @ 1.6 log @misc/screen: DragonFly BSD 2.9+ support Make screen use utmpx on DragonFly BSD 2.9+ so that it compiles again. Patch submitted by Matthias Rampke ( https://gist.github.com/823307 ). ok@@ wiz @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.5 2008/04/04 21:09:16 tonnerre Exp $ a2 1 Detect getutent correctly on NetBSD with utmpx. d6 6 a11 4 --- configure.in.orig 2003-06-03 07:58:24.000000000 -0400 +++ configure.in 2004-06-16 16:11:55.000000000 -0400 @@@@ -664,6 +664,8 @@@@ AC_MSG_ERROR(!!! no tgetent - no screen)))))) d19 1 a19 1 @@@@ -815,9 +817,16 @@@@ a36 8 @@@@ -1209,6 +1218,7 @@@@ AC_TRY_LINK(,[vsprintf(0,0,0);], AC_MSG_RESULT(yes);AC_DEFINE(USEVARARGS), AC_MSG_RESULT(no)) AC_HEADER_DIRENT +AC_CHECK_HEADERS(sys/stropts.h) AC_MSG_CHECKING(for setenv) AC_TRY_LINK(,[setenv((char *)0,(char *)0);unsetenv((char *)0);], AC_MSG_RESULT(yes);AC_DEFINE(USESETENV), @ 1.5 log @Include curses header for screen configure script when testing tgetent in order to prevent crash on 64-bit architectures. Otherwise the result of termcap/terminfo detection is wrong, causing the infamous "bad format 'p'" messages, or "OOPSOOPSOOPS" when SSHing from MacOS. Fixes PR 33808 Approved-by: joerg @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.4 2005/09/28 19:35:36 rillig Exp $ d18 1 a18 1 @@@@ -815,9 +817,15 @@@@ d25 2 a26 1 + || (defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 106050000)) d29 1 a29 1 +# ifdef __NetBSD__ d36 1 a36 1 @@@@ -1209,6 +1217,7 @@@@ @ 1.4 log @Fixed pkglint warnings. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.3 2004/07/15 04:05:40 atatat Exp $ d4 2 d9 10 a18 1 @@@@ -815,9 +815,15 @@@@ d35 1 a35 1 @@@@ -1209,6 +1215,7 @@@@ @ 1.3 log @Put the config.h.in patch into its own patch file and add more to it that forces varargs to be used on NetBSD. Some gcc 3.3 instances (specifically 3.3.3nb1 on NetBSD/alpha) fail one of the configure tests making it think we don't have sprintf() (and therefore no varargs) causing unmentionably evil things to be done instead. This usually leads to core dumps. Fix a pointer-to-integer cast warning by casting to long in between. The actual use case is harmless, but the compiler can't tell that. Bump PKGREVISION to 1 for the gcc workaround (affects at least NetBSD/alpha which can now build a better screen). Addresses PR pkg/25937. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.2 2004/06/16 21:35:00 christos Exp $ a31 1 @ 1.2 log @Fix a compile issue under /current. Screen wrongly detects that we have svr4 ptys because of /dev/ptmx, but erroneously wants because of that define. Fix properly, by detecting the presense of before including it. I am not bumping the nb number because nothing realy changes; you'll get the same binary if you recompile. XXX: The utmp stuff is still completely broken, that is why this is still setuid. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.1 2002/09/15 06:51:38 kim Exp $ d3 1 a3 2 1. Detect getutent correctly on NetBSD with utmpx. 2. Check sys/stropts.h header a32 14 --- config.h.in.orig 2003-12-05 08:59:39.000000000 -0500 +++ config.h.in 2004-06-16 15:58:52.000000000 -0400 @@@@ -431,6 +431,11 @@@@ #undef HAVE_DIRENT_H /* + * Define HAVE_SYS_STROPTS_H if your system has + */ +#undef HAVE_SYS_STROPTS_H + +/* * If your system has getutent(), pututline(), etc. to write to the * utmp file, define GETUTENT. */ @ 1.1 log @Handle utmpx on NetBSD-current. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 1 Detect getutent correctly on NetBSD with utmpx. d6 3 a8 3 --- configure.in.orig Sat Sep 14 23:22:33 2002 +++ configure.in Sat Sep 14 23:37:06 2002 @@@@ -798,9 +798,15 @@@@ d25 23 @