head 1.9; access; symbols pkgsrc-2024Q4:1.8.0.60 pkgsrc-2024Q4-base:1.8 pkgsrc-2024Q3:1.8.0.58 pkgsrc-2024Q3-base:1.8 pkgsrc-2024Q2:1.8.0.56 pkgsrc-2024Q2-base:1.8 pkgsrc-2024Q1:1.8.0.54 pkgsrc-2024Q1-base:1.8 pkgsrc-2023Q4:1.8.0.52 pkgsrc-2023Q4-base:1.8 pkgsrc-2023Q3:1.8.0.50 pkgsrc-2023Q3-base:1.8 pkgsrc-2023Q2:1.8.0.48 pkgsrc-2023Q2-base:1.8 pkgsrc-2023Q1:1.8.0.46 pkgsrc-2023Q1-base:1.8 pkgsrc-2022Q4:1.8.0.44 pkgsrc-2022Q4-base:1.8 pkgsrc-2022Q3:1.8.0.42 pkgsrc-2022Q3-base:1.8 pkgsrc-2022Q2:1.8.0.40 pkgsrc-2022Q2-base:1.8 pkgsrc-2022Q1:1.8.0.38 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.8.0.36 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.8.0.34 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.8.0.32 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.30 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.8.0.28 pkgsrc-2020Q4-base:1.8 pkgsrc-2020Q3:1.8.0.26 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.22 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.2 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.8.0.24 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.20 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.18 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.16 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.14 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.12 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.10 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.8 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.6 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.4 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.7.0.10 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.8 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.6 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.4 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.2 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.6.0.6 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.4 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.2 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.5.0.4 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.2 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.4.0.4 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.2 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.3.0.28 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.26 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.24 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.22 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.20 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.18 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.16 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.14 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.12 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.10 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.8 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.6 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.4 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.2 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.2.0.46 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.44 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.42 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.40 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.38 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.36 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.34 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.32 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.30 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.28 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.26 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.24 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.22 pkgsrc-2008Q1:1.2.0.20 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.18 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.16 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.14 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.12 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.10 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.8 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.6 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.4 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.2 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.1.0.18 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.16 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.14 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.12 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.10 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.8 pkgsrc-2004Q2-base:1.1 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.9 date 2025.01.09.20.07.03; author ktnb; state dead; branches; next 1.8; commitid 5NUIjIRACTuMGQEF; 1.8 date 2017.07.18.23.02.18; author kim; state Exp; branches; next 1.7; commitid 78qXotVKMo9gtLZz; 1.7 date 2016.06.20.16.04.44; author ryoon; state Exp; branches; next 1.6; commitid yvAOkbv4XSAqNdbz; 1.6 date 2015.09.01.13.34.47; author kim; state Exp; branches; next 1.5; commitid xYtSZkEz6Ivdmyzy; 1.5 date 2015.02.13.04.44.40; author rodent; state Exp; branches; next 1.4; commitid zVIVi2ODO8jkSN9y; 1.4 date 2014.08.25.20.02.32; author kim; state Exp; branches; next 1.3; commitid g8Qatp6FH7pJtMNx; 1.3 date 2011.03.14.06.15.23; author rumko; state Exp; branches; next 1.2; 1.2 date 2005.11.08.12.58.47; author joerg; state Exp; branches; next 1.1; 1.1 date 2002.09.15.06.51.37; author kim; state Exp; branches; next ; desc @@ 1.9 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-ai,v 1.8 2017/07/18 23:02:18 kim Exp $ This glues in the code from patch-am (see also patch-al and patch-an). --- os.h.orig 2016-06-19 19:41:03.000000000 +0000 +++ os.h @@@@ -71,9 +71,6 @@@@ # undef exit #endif /* sun */ -#ifndef linux /* all done in */ -extern int errno; -#endif /* linux */ #ifndef HAVE_STRERROR /* No macros, please */ #undef strerror @@@@ -250,9 +247,15 @@@@ extern int errno; #endif #if defined(UTMPOK) || defined(BUGGYGETLOGIN) -# if defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux) +# if defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux) \ + || (defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 106050000)) \ + || (defined(__DragonFly__) && (__DragonFly_version >= 200902)) # include +#if defined(UTMPX_FILE) /* GNU extension */ # define UTMPFILE UTMPX_FILE +#elif defined(_PATH_UTMPX) +# define UTMPFILE _PATH_UTMPX +#endif # define utmp utmpx # define getutent getutxent # define getutid getutxid @@@@ -261,6 +264,9 @@@@ extern int errno; # define setutent setutxent # define endutent endutxent # define ut_time ut_xtime +# if defined(__NetBSD__) +# define NetBSD_UTMP +# endif # else /* SVR4 */ # include # endif /* SVR4 */ @ 1.8 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: patch-ai,v 1.7 2016/06/20 16:04:44 ryoon Exp $ @ 1.7 log @Update to 4.4.0 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 @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.6 2015/09/01 13:34:47 kim Exp $ d3 1 a3 1 This glues in the code from patch-am (see also path-al and patch-an). @ 1.6 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-ai,v 1.5 2015/02/13 04:44:40 rodent Exp $ d5 2 a6 2 --- os.h.orig 2015-06-28 21:22:56.000000000 +0000 +++ os.h 2015-09-01 12:37:29.000000000 +0000 d17 1 a17 1 @@@@ -250,10 +247,17 @@@@ d21 2 a22 2 -# if defined(SVR4) && !defined(DGUX) && !defined(__hpux) +# if (defined(SVR4) && !defined(DGUX) && !defined(__hpux)) \ d26 5 a30 9 -# ifdef UTMPX_FILE /* GNU extension */ +# if defined(UTMPX_FILE) /* GNU extension */ # define UTMPFILE UTMPX_FILE +# elif defined(_PATH_UTMPX) +# define UTMPFILE _PATH_UTMPX +# endif +# if defined(__NetBSD__) +# define NetBSD_UTMP # endif d33 11 @ 1.5 log @Add patch which includes to fix build on OpenBSD. Defuzz patchset. @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.4 2014/08/25 20:02:32 kim Exp $ d5 2 a6 2 --- os.h.orig 2014-04-26 10:58:35.000000000 +0000 +++ os.h d17 1 a17 1 @@@@ -250,9 +247,18 @@@@ extern int errno; d21 2 a22 2 -# if defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux) +# if (defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux)) \ d26 6 a31 1 -# define UTMPFILE UTMPX_FILE a32 1 +# define UTMPFILE _PATH_UTMPX d34 1 a34 5 +# elif defined(__DragonFly__) +# define UTMPFILE _PATH_UTMPX +# else +# define UTMPFILE UTMPX_FILE +# endif a36 1 # define getutid getutxid @ 1.4 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-ai,v 1.3 2011/03/14 06:15:23 rumko Exp $ d6 1 a6 1 +++ os.h 2014-08-25 17:55:13.000000000 +0000 d17 1 a17 1 @@@@ -250,9 +247,18 @@@@ @ 1.3 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-ai,v 1.2 2005/11/08 12:58:47 joerg Exp $ d3 5 a7 3 --- os.h.orig 2002-01-08 15:42:33.000000000 +0000 +++ os.h @@@@ -62,9 +62,6 @@@@ d17 1 a17 1 @@@@ -260,9 +257,18 @@@@ @ 1.2 log @Always use the errno from errno.h. @ text @d1 1 a1 1 $NetBSD$ d15 1 a15 1 @@@@ -260,9 +257,15 @@@@ extern int errno; d21 2 a22 1 + || (defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 106050000)) d25 1 a25 1 +# ifdef __NetBSD__ d28 2 @ 1.1 log @Handle utmpx on NetBSD-current. @ text @d3 13 a15 5 Use utmpx on NetBSD where available. --- os.h.orig Tue Jan 8 10:42:33 2002 +++ os.h Sun Sep 15 01:47:33 2002 @@@@ -260,9 +260,15 @@@@ @