head 1.8; access; symbols pkgsrc-2026Q1:1.8.0.4 pkgsrc-2026Q1-base:1.8 pkgsrc-2025Q4:1.8.0.2 pkgsrc-2025Q4-base:1.8 pkgsrc-2025Q3:1.7.0.174 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.172 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.170 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.168 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.166 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.164 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.162 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.160 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.158 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.156 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.154 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.152 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.150 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.148 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.146 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.144 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.142 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.140 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.138 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.136 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.134 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.130 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.110 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.132 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.128 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.126 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.124 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.122 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.120 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.118 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.116 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.114 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.112 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.108 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.106 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.104 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.102 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.100 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.98 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.96 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.94 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.92 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.90 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.88 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.86 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.84 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.82 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.80 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.78 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.76 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.74 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.72 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.70 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.68 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.66 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.64 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.62 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.60 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.58 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.56 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.54 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.52 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.50 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.48 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.46 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.44 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.42 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.40 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.38 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.36 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.34 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.32 pkgsrc-2008Q1:1.7.0.30 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.28 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.26 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.24 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.22 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.20 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.18 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.16 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.14 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.12 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.10 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.8 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.6 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.4 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.2 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.6.0.6 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.6.0.4 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.6.0.2 pkgsrc-2003Q4-base:1.6 netbsd-1-6-1:1.5.0.2 netbsd-1-6-1-base:1.5 buildlink2-base:1.4 netbsd-1-4-PATCH001:1.3 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.2 netbsd-1-3-PATCH002:1.1.1.1 FreeBSD-current-1997-10-09:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.8 date 2025.10.20.18.32.10; author vins; state Exp; branches; next 1.7; commitid pqZKxJZNUbSE1lfG; 1.7 date 2004.09.15.17.55.53; author minskim; state Exp; branches; next 1.6; 1.6 date 2003.03.27.07.14.27; author wiz; state dead; branches; next 1.5; 1.5 date 2002.12.18.15.31.22; author christos; state Exp; branches; next 1.4; 1.4 date 99.08.28.17.50.41; author kim; state dead; branches; next 1.3; 1.3 date 99.06.14.01.28.14; author hubertf; state Exp; branches; next 1.2; 1.2 date 98.08.07.11.18.15; author agc; state Exp; branches; next 1.1; 1.1 date 97.10.09.11.37.06; author agc; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 97.10.09.11.37.06; author agc; state Exp; branches; next ; desc @@ 1.8 log @x11/rxvt: fix build with GCC14 Fix a number of warnings to allow it to compile with recent compilers. Tested with NetBSD 10.1 and pkgsrc's GCC14. Revision bumped. @ text @$NetBSD: patch-ah,v 1.7 2004/09/15 17:55:53 minskim Exp $ * Make sure stropts.h gets included. * Use posix_openpt() to avoid GNUisms. --- src/ptytty.c.orig 2002-09-19 07:40:39.000000000 +0000 +++ src/ptytty.c @@@@ -46,7 +46,7 @@@@ #ifdef HAVE_SYS_IOCTL_H # include #endif -#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) +#ifdef HAVE_SYS_STROPTS_H # include /* for I_PUSH */ #endif @@@@ -102,7 +102,7 @@@@ rxvt_get_pty(int *fd_tty, const char **t extern char *ptsname(); # ifdef PTYS_ARE_GETPT - pfd = getpt(); + pfd = posix_openpt(O_RDWR | O_NOCTTY); # else pfd = open("/dev/ptmx", O_RDWR | O_NOCTTY, 0); # endif @ 1.7 log @Split patch-af because it was patching four files. @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 1 --- src/ptytty.c.orig 2002-09-19 02:40:39.000000000 -0500 d17 9 @ 1.6 log @Update to 2.7.10, provided by Geoff Wing in PR 20899. Also addresses PR 18638 and PR 18639. Changes since 2.7.3: 2.7.9 to 2.7.10 Geoff Wing et al. removed screen dump feature as it can aid as a security hole removed menubar escape sequence access as it can aid a security hole removed reporting of title and icon settings as they can aid a security hole Mikko Leppänen fixed clearing problem when internalBorder is zero Steve O added Cygwin port Rob McMullen fixed handling of control characters inside escape sequences added resource "mouseWheelScrollPage" to allow the mouse wheel scroll a page full added support for VT52 commands 2.7.8 to 2.7.9 Geoff Wing et al. added -sbt/--thickness to allow user-supplied scrollbar width (not yet available with NeXT style scrollbars) Matthew W. Roberts fixed rclock -iconic option added rclock day of month on clockface (define DATE_ON_CLOCK_FACE in feature.h) added rclock "-mailspawn cmd" if MAIL_SPAWN is not hard coded in feature.h Kazutoshi Kubota added 256 colour mode (instead of the base 16 colour mode) with configure --enable-256-color 2.7.7 to 2.7.8 Geoff Wing et al. fixed determination of NumLock key, noticed by Matthew Gabeler-Lee fixed continual and slipwheel scrolling, noticed by Joshua Swink fixed connecting with IM whenever it is started, partly from Tung-Han Hsieh fixed Ultrix acquiring useful pty/tty pair, noticed by Bert De Knuydt fixed CSI sequence parser overriding a 0 parameter with default value changed -ip to not clear ancestor windows when using inherit pixmap transparency type added -ipf/--inheritPixmapforce to clear ancestor windows when -ip and inherit pixmap transparency is used added "-hc colour" (define OPTION_HC in feature.h) to provide background highlighting of selection, partly from Christian W. Zuckschwerdt added -j/--jumpScroll to provide jump or smooth scrolling, defaults to jump scrolling as per previous behaviour Stephen Isard fixed DECSTBM sequence default when only one parameter is given Rudolf Jaksa added basic support for $XAPPLRESDIR/Rxvt resources T. Alexander Popiel added --scrollBar_align (top|bottom|...) for alignment of scrollbar thumb with middle button. Defaults to centre as per prior state. Supercedes FUNKY_SCROLL_BEHAVIOUR 2.7.6 to 2.7.7 Geoff Wing et al. fixed check for GLIBC and STREAMS pty/tty types, noticed by Venkatesh Krishnamurthi fixed check for PTC pty/tty type, noticed by Andreas Bierfert fixed to not automatically clear selection on screen size change, noticed by Dominik Vogt fixed a possible buffer overflow problem, noticed by Samuel Dralet fixed to reallow parallel builds fixed builds for some SYSV utmp/utmpx systems fixed INCR transfers fixed resource "greektoggle_key" as per doc/README.greek, noticed by Martin Husemann fixed STREAMS again, hopefully the last time changed overstrike pixel dropping avoidance to speed/size optimise changed define WTMP_ONLY_ON_LOGIN in feature.h to be the default added CSI s & CSI u as alternative save & restore cursor sequences added pasting-only support for SECONDARY and CLIPBOARD selections, automatically tried if internal selection and PRIMARY selections are not present. CUT_BUFFER0 is tried last Kazutoshi Kubota added "-lsp " option ("--lineSpace ") to give specified spacing between rows with configure --enable-linespace Tomohiro KUBOTA fixed some font default calculations to match previous behaviour Ali Rahimi added slip wheel support providing continual scrolling with the control key depressed and using the mouse wheel as an accelerator. Control key release stops scrolling Mark Schreiber added -sw/--scrollWithBuffer to try to make views into the scrollback buffer stay unmoving upon new lines (needs -si) 2.7.5 to 2.7.6 Geoff Wing et al. fixed build with XTERM_COLOR_CHANGE undefined, noticed by John Waggenspack fixed build for Solaris/SunOS (maybe others) using STREAMS fixed default icon name, noticed by Jeremy C. Reed fixed setting of icon name with -e argument, noticed by John Waggenspack fixed problems with selection by changing some types and type casting fixed some parallel build problems fixed text placement in graphics mode fixed some build problems with graphics/qplot fixed reverse video mode to act like the invocation option fixed query of locale ("Setting locale failed.") when locale is set fixed autowrap bug when restoring cursor from last column, noticed by witek@@mat.uni.torun.pl fixed build & run when PREFER_24BIT is undefined fixed loading of fonts with noenc multichar encoding, noticed by Mark White fixed an abort on sending some selections, from Xianping Ge fixed tty opening for systems with openpty(), e.g. OSF1 fixed build for utmpx/wtmpx platforms fixed a bug in memmove() if --enable-strings is given, noticed by Larry W. Virden fixed some termcap/terminfo entries fixed some division operations to use the same integer type changed configure detection method for pty/ttys changed handling of ConfigureNotify events for fast event streams changed internal handling of window size calculation changed internal handling of window size and placement manipulation changed define PREFER_24BIT in feature.h to be set via configure --enable-24bit (default is now off) changed screen refresh to optimise X calls more, noticeable with slower machines or over network displays changed pty/tty code to be able to be built separately for testing changed selection sending to send the original raw form if locale conversion fails updated libtool for configure added DEC private modes 1047 / 1048 (no ti/te handling yet) added SCROLL_ON_HOMEEND_KEYS in feature.h a la SCROLL_ON_UPDOWN_KEYS from Marius Gedminas added "tests" target in main directory to build and run basic tests added (frills) -tcw (--tripleclickwords) alternative triple click selection which selects words to the end of possibly-wrapped lines with trailing blanks and blank lines removed Chuan-kai Lin and Brian Mays added -mcc option (--multibyte_cursor) for multibyte cursor movement in legacy programs Maxime Froment fixed placement with OverTheSpot input method fixed characters sent through IM being truncated to 4 bytes fixed encoding method being overridden by default encoding method added loading of locale specific app-defaults from directory /usr/X11R6/lib/X11/$LC_CTYPE/app-defaults/Rxvt (see XAPPLOADDIRLOCALE is feature.h) Tomohiro KUBOTA added method to provide base font sets based on user's locale added more flexible font allocation, specifying a maximum number of fonts in feature.h instead of a set number Marius Gedminas added --enable-smart-resize which may reposition the window on resizing so that we try to stay within the screen boundaries 2.7.3 to 2.7.5 Geoff Wing et al. fixed scrollTtyKeypress not active for all keypresses, noticed by Reuben Thomas added -xrm option to accept dummy invocation arguments, from Christian W. Zuckschwerdt & Chris Green fixed documentation for options: -tr, -ic, -pt, -im, -mod, -xrm; and resources: scrollBar_right, scrollBar_floating, scrollTtyOutput, scrollTtyKeypress, preeditType, inputMethod, modifier. fixed OSC sequences to accept 7 and 8 bit ST as well as BEL added MAX_COLS & MAX_ROWS in feature.h to limit columns/rows on resize added copy root pixmap variant of transparency - make this the default with previous method as fallback fixed allocation of new lines to not set base attributes, including underline or reverse video information, noticed by Brian Mays added ability for different scrollbars to be compiled in, determined by --scrollstyle fixed Meta key detection - has priority over Alt, noticed by Paul D. Smith fixed configure check for mawk/gawk/nawk/awk added use of libtool in build procedure added SCROLL_ON_NO_SECONDARY to feature.h to scroll the screen when no swap is compiled in and a change screen request is made removed slightly buggy ConfigureNotify queue/ignore from our resizes fixed use of extended character classes, from Samoylov Olleg fixed timeout in select() call when unmapped, noticed by Tore Bjorkeli changed feature.h NO_BOLDUNDERLINE to NO_BOLD_UNDERLINE_REVERSE added support for XCopyArea() on screen display - good for slower links fixed CSI parameter parsing, including omitted parameters fixed allocation of new lines when in reverse video mode added answerbackString resource which sets the reply to ENQ (CTRL-E) fixed InheritPixmap interaction with fvwm2 by delaying a bit to allow the WM to do its stuff before we meddle with its windows Thomas Woerner added colorRV resource for reverse video colour (dependent on NO_BOLD_UNDERLINE_REVERSE in feature.h) Jun Morimoto fixed argument checking in rclock - ignore bad arguments Matthew W. Roberts added -mailfile option to rclock Christian W. Zuckschwerdt added OSC sequences to change base colours; also cursor, highlight, bold, pointer and underline colours. See rxvtRef Paul Sheer added initial INCR (incremental pasting) support @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.5 2002/12/18 15:31:22 christos Exp $ d3 11 a13 17 --- src/init.c.orig Sun Mar 26 02:47:01 2000 +++ src/init.c Wed Dec 18 10:29:05 2002 @@@@ -895,9 +895,13 @@@@ /* * Close all unused file descriptors. * We don't want them, we don't need them. + * We keep stdout/stderr, and we will re-open stdin, because + * we want 0,1,2 open so that when pututxline() calls utmp_update + * which is set{u,g}id() the kernel does not complain. */ for (i = 0; i < num_fds; i++) { - if (i == STDERR_FILENO || i == cfd || i == tty_fd || i == Xfd) + if (i == STDOUT_FILENO || i == STDERR_FILENO + || i == cfd || i == tty_fd || i == Xfd) continue; close(i); } @ 1.5 log @keep stdout open so that utmp_update [the kernel] does not bitch @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Bogus patch (the pty name last char is hex). This wasn't used either since it was not in the patch-sum file. Now we don't see the error even... @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.3 1999/06/14 01:28:14 hubertf Exp $ d3 17 a19 11 --- src/command.c.orig Thu Jun 3 15:17:09 1999 +++ src/command.c Mon Jun 14 02:07:23 1999 @@@@ -316,7 +316,7 @@@@ ttydev = tty_name; # define PTYCHAR1 "pqrstuvwxyz" -# define PTYCHAR2 "0123456789abcdef" +# define PTYCHAR2 "0123456789abcdefghijklmnopqrstuv" for (c1 = PTYCHAR1; *c1; c1++) { ptydev[len] = ttydev[len] = *c1; for (c2 = PTYCHAR2; *c2; c2++) { @ 1.3 log @Update to V2.6.0. Too many changes to list, see ChangeLog. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Add NetBSD RCS Ids. @ text @d3 4 a6 4 --- src/command.c.orig Fri Sep 27 10:48:22 1996 +++ src/command.c Mon Feb 24 01:25:51 1997 @@@@ -509,7 +509,7 @@@@ ttydev = tty_name; d8 6 a13 6 # define PTYCHAR1 "pqrstuvwxyz" -# define PTYCHAR2 "0123456789abcdef" +# define PTYCHAR2 "0123456789abcdefghijklmnopqrstuv" for (c1 = PTYCHAR1; *c1; c1++) { ptydev [len-2] = ttydev [len-2] = *c1; @ 1.1 log @Initial revision @ text @d1 2 @ 1.1.1.1 log @Initial import of FreeBSD's x11 ports category into NetBSD packages system. @ text @@