head 1.7; access; symbols pkgsrc-2024Q4:1.6.0.76 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.74 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.72 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.70 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.68 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.66 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.64 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.62 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.60 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.58 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.56 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.54 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.52 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.50 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.48 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.46 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.44 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.42 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.38 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.18 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.40 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.36 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.34 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.32 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.30 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.28 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.26 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.24 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.22 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.20 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.16 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.14 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.12 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.10 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.8 pkgsrc-2016Q2-base:1.6 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.44 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.42 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.40 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.38 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.36 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.34 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.32 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.30 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.28 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.26 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.24 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.22 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.20 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.18 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.16 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.14 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.12 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.10 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.8 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.6 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.4 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.2 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.2.0.44 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.42 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.40 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.38 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.36 pkgsrc-2008Q1:1.2.0.34 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.32 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.30 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.28 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.26 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.24 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.22 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.20 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.18 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.16 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.14 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.12 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.10 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.8 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 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.7 date 2025.01.09.20.07.03; author ktnb; state dead; branches; next 1.6; commitid 5NUIjIRACTuMGQEF; 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 2009.03.05.09.59.12; author jmmv; state Exp; branches; next 1.2; 1.2 date 2003.12.11.22.35.09; author grant; state Exp; branches; next 1.1; 1.1 date 2002.09.15.06.51.40; author kim; state Exp; branches; next ; desc @@ 1.7 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-an,v 1.6 2015/09/01 13:34:47 kim Exp $ Remove GNU Make conditional. @@ETCSCREENRC@@ appears to get replaced always. If it doesn't in some cases, please fix configure.ac instead (and regen patch for configure as well). Add utmp-netbsd.c (created in patch-am) and utmp-netbsd.o. Setting the setuid bit is handled by the package Makefile. Don't try to leave "screen.old" behind on install. --- Makefile.in.orig 2014-04-26 10:58:35.000000000 +0000 +++ Makefile.in @@@@ -26,9 +26,6 @@@@ GIT_REV = "`git describe --always 2>/dev DEFS = @@DEFS@@ -DGIT_REV=\"$(GIT_REV)\" ETCSCREENRC = @@ETCSCREENRC@@ -ifeq (${ETCSCREENRC}, ) -ETCSCREENRC=$(prefix)/etc/screenrc -endif SCREENENCODINGS = $(datadir)/screen/utf8encodings CC = @@CC@@ @@@@ -65,12 +62,12 @@@@ CFILES= screen.c ansi.c fileio.c mark.c termcap.c input.c attacher.c pty.c process.c display.c comm.c \ kmapdef.c acls.c braille.c braille_tsi.c logfile.c layer.c \ sched.c teln.c nethack.c encoding.c canvas.c layout.c viewport.c \ - list_display.c list_generic.c list_window.c + list_display.c list_generic.c list_window.c utmp-netbsd.c OFILES= screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o \ search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o \ termcap.o input.o attacher.o pty.o process.o display.o comm.o \ kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o \ - list_generic.o list_display.o list_window.o \ + list_generic.o list_display.o list_window.o utmp-netbsd.o \ sched.o teln.o nethack.o encoding.o canvas.o layout.o viewport.o all: screen @@@@ -86,9 +83,6 @@@@ install_bin: .version screen -if [ -f $(DESTDIR)$(bindir)/$(SCREEN) ] && [ ! -f $(DESTDIR)$(bindir)/$(SCREEN).old ]; \ then mv $(DESTDIR)$(bindir)/$(SCREEN) $(DESTDIR)$(bindir)/$(SCREEN).old; fi $(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN) - -chown root $(DESTDIR)$(bindir)/$(SCREEN) && chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN) -# This doesn't work if $(bindir)/screen is a symlink - -if [ -f $(DESTDIR)$(bindir)/screen ] && [ ! -f $(DESTDIR)$(bindir)/screen.old ]; then mv $(DESTDIR)$(bindir)/screen $(DESTDIR)$(bindir)/screen.old; fi rm -f $(DESTDIR)$(bindir)/screen (cd $(DESTDIR)$(bindir) && ln -f -s $(SCREEN) screen) cp $(srcdir)/utf8encodings/?? $(DESTDIR)$(SCREENENCODINGS) @ 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-an,v 1.5 2015/02/13 04:44:40 rodent Exp $ @ 1.5 log @Add patch which includes to fix build on OpenBSD. Defuzz patchset. @ text @d1 1 a1 1 $NetBSD: patch-an,v 1.4 2014/08/25 20:02:32 kim Exp $ d5 1 a5 1 configure.in instead (and regen patch for configure as well). @ 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-an,v 1.3 2009/03/05 09:59:12 jmmv Exp $ d12 2 a13 2 +++ Makefile.in 2014-08-25 19:05:49.000000000 +0000 @@@@ -26,9 +26,6 @@@@ d23 1 a23 1 @@@@ -65,12 +62,12 @@@@ d38 1 a38 1 @@@@ -86,9 +83,6 @@@@ @ 1.3 log @Fix destdir support by defining PKG_DESTDIR_SUPPORT early enough and by not setting setuid permissions too early. @ text @d1 1 a1 1 $NetBSD: patch-an,v 1.2 2003/12/11 22:35:09 grant Exp $ d3 21 a23 4 --- Makefile.in.orig 2006-10-23 15:06:32.000000000 +0200 +++ Makefile.in 2009-03-05 11:40:26.000000000 +0100 @@@@ -55,12 +55,12 @@@@ CFILES= screen.c ansi.c fileio.c mark.c search.c tty.c term.c window.c utmp.c loadav.c putenv.c help.c \ d26 3 a28 2 - sched.c teln.c nethack.c encoding.c + sched.c teln.c nethack.c encoding.c utmp-netbsd.c d33 3 a35 2 - sched.o teln.o nethack.o encoding.o + sched.o teln.o nethack.o encoding.o utmp-netbsd.o d38 1 a38 2 @@@@ -74,11 +74,8 @@@@ install_bin: .version screen d46 1 a46 2 - (cd $(DESTDIR)$(bindir) && ln -sf $(SCREEN) screen) + (cd $(DESTDIR)$(bindir) && ln -s -f $(SCREEN) screen) a47 2 ############################################################################### @ 1.2 log @call ln with separate -s and -f args to appease Solaris. from Dima Veselov on tech-pkg. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- Makefile.in.orig 2003-09-19 02:13:02.000000000 +1000 +++ Makefile.in d20 7 a26 3 @@@@ -78,7 +78,7 @@@@ install_bin: .version screen # This doesn't work if $(bindir)/screen is a symlink -if [ -f $(DESTDIR)$(bindir)/screen ] && [ ! -f $(DESTDIR)$(bindir)/screen.old ]; then mv $(DESTDIR)$(bindir)/screen $(DESTDIR)$(bindir)/screen.old; fi @ 1.1 log @Handle utmpx on NetBSD-current. @ text @d3 3 a5 3 --- Makefile.in.orig Thu Feb 14 08:36:33 2002 +++ Makefile.in Sun Sep 15 01:57:20 2002 @@@@ -55,12 +55,12 @@@@ d20 9 @