head 1.11; access; symbols pkgsrc-2013Q2:1.10.0.34 pkgsrc-2013Q2-base:1.10 pkgsrc-2013Q1:1.10.0.32 pkgsrc-2013Q1-base:1.10 pkgsrc-2012Q4:1.10.0.30 pkgsrc-2012Q4-base:1.10 pkgsrc-2012Q3:1.10.0.28 pkgsrc-2012Q3-base:1.10 pkgsrc-2012Q2:1.10.0.26 pkgsrc-2012Q2-base:1.10 pkgsrc-2012Q1:1.10.0.24 pkgsrc-2012Q1-base:1.10 pkgsrc-2011Q4:1.10.0.22 pkgsrc-2011Q4-base:1.10 pkgsrc-2011Q3:1.10.0.20 pkgsrc-2011Q3-base:1.10 pkgsrc-2011Q2:1.10.0.18 pkgsrc-2011Q2-base:1.10 pkgsrc-2011Q1:1.10.0.16 pkgsrc-2011Q1-base:1.10 pkgsrc-2010Q4:1.10.0.14 pkgsrc-2010Q4-base:1.10 pkgsrc-2010Q3:1.10.0.12 pkgsrc-2010Q3-base:1.10 pkgsrc-2010Q2:1.10.0.10 pkgsrc-2010Q2-base:1.10 pkgsrc-2010Q1:1.10.0.8 pkgsrc-2010Q1-base:1.10 pkgsrc-2009Q4:1.10.0.6 pkgsrc-2009Q4-base:1.10 pkgsrc-2009Q3:1.10.0.4 pkgsrc-2009Q3-base:1.10 pkgsrc-2009Q2:1.10.0.2 pkgsrc-2009Q2-base:1.10 pkgsrc-2009Q1:1.9.0.8 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.6 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.4 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.2 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.8.0.4 pkgsrc-2008Q2-base:1.8 cwrapper:1.8.0.2 pkgsrc-2008Q1:1.7.0.22 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.20 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.18 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.16 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.14 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.12 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.10 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.8 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.6 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.4 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.2 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.6.0.2 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.5.0.2 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2; locks; strict; comment @# @; 1.11 date 2013.07.11.11.44.07; author wiz; state dead; branches; next 1.10; commitid eGatanXycRdXT2Xw; 1.10 date 2009.05.22.19.52.02; author tnn; state Exp; branches; next 1.9; 1.9 date 2008.08.01.23.14.47; author bjs; state Exp; branches; next 1.8; 1.8 date 2008.04.21.17.10.40; author bjs; state Exp; branches; next 1.7; 1.7 date 2005.08.28.17.58.17; author minskim; state dead; branches; next 1.6; 1.6 date 2005.05.25.02.55.01; author reed; state Exp; branches; next 1.5; 1.5 date 2005.02.14.22.46.50; author minskim; state dead; branches; next 1.4; 1.4 date 2005.02.05.06.22.51; author minskim; state Exp; branches; next 1.3; 1.3 date 2004.12.21.17.24.48; author minskim; state dead; branches; next 1.2; 1.2 date 2004.10.21.07.39.43; author minskim; state Exp; branches; next 1.1; 1.1 date 2004.10.16.18.19.54; author minskim; state Exp; branches; next ; desc @@ 1.11 log @Add option for toolbar mode. Thomas E. Dickey says it has hard-to-fix layout issues and slows the startup, so turn the option default off. Bump PKGREVISION for the default change from on to off. @ text @$NetBSD: patch-aa,v 1.10 2009/05/22 19:52:02 tnn Exp $ One needs to explicitly enable building in the toolbar code, yet this turns it on by default, which not everyone wants. Let's attempt to convince xterm of this here. --- main.c.orig 2009-01-24 17:08:01.000000000 +0100 +++ main.c @@@@ -881,7 +881,7 @@@@ static XtResource application_resources[ Bres("sessionMgt", "SessionMgt", sessionMgt, True), #endif #if OPT_TOOLBAR - Bres(XtNtoolBar, XtCToolBar, toolBar, True), + Bres(XtNtoolBar, XtCToolBar, toolBar, False), #endif #if OPT_MAXIMIZE Bres(XtNmaximized, XtCMaximized, maximized, False), @ 1.10 log @Update to xterm-243. Patch #243 - 2009/3/28 * revert change to default for allowTcapOps (request by Bram Moolenaar). * reallocate result returned by xtermEnvLocale() to avoid reference to freed memory after handling menuLocale resource. * fix an old (X11R5) bug in tek4014 for switching fontsizes. * add resource defaultString to make configurable the use of "#" when pastes of UTF-8 text fail due to limitations in the current locale settings. * make the set of selection target Atom's configurable by two new resources eightBitSelectTypes and utf8SelectTypes, e.g., to use the TEXT Atom in preference to UTF8_STRING (discussion with Stanislav Sedov regarding koi8rxterm and the FreeBSD port). * modify handling of TARGETS Atom by making it return exactly the set of targets as those which xterm is currently providing. * set MANPAGER and PAGER explicitly to /bin/cat in minstall.sh to work around /etc/man.conf's with those variables already set * improve error-checking of tcap-query parser. * add check for keyboard tcap), which ensures that terminal descriptions containing the same string for shifted/unshifted keys will be seen by tcap-query as only the unshifted key. (This would only happen with an incorrect terminal description). * fix conversion for input event-state to modifier-parameter which made tcap-query feature not work with tcapFunctionKeys (keyboard type tcap). * add "DEF_ALLOW_XXX" definitions to main.h to allow overriding the default compiled-in values for "allowxxx" resources. * remove check on bell-percentage added in patch #242, which disallowed zero/negative values (Redhat Bugzilla #487829). Patch #242 - 2009/2/15 * fix configure check for XkbBell and provide appropriate parameter for it. * fix a caching problem with double-size fonts versus reverse video that could cause core dump. * repair double-size fonts from workaround used in patch #240. * add new section to the VT Fonts menu which allows enabling or disabling the font, termcap (tcap-query), title and window operations. * add fontWarnings resource, to control whether to show warnings on failure to load a font. * improve warnings for unloadable fonts introduced in patch #240 by limiting those to the cases where a font would be specified directly by a resource setting rather than a derived fontname. * further amend fix for Debian #252873 from patch #197 to treat a blank cell which does not have both foreground and background colored as a non-colored cell. This improves a special case where the cursor is on a blank cell which had foreground color scrolled in (report by Miroslav Lichvar). Also add the same logic when hiding cursor, so the outline matches the in-focus cursor. * modify internals to reduce places PAIRED_CHARS() is used, making WriteText() and ScrnWriteText() accept IChar array, as well as providing a wrapper for drawXtermText(). * change default XIM font from "*" to "fixed" to improve startup time in zh_CN.UTF-8 locale (Mike Fabian, SuSE Bugzilla #464930). * typo in #240 log (Slava Semushin) Patch #241 - 2009/1/26 * improve checks for missing bitmap fonts, fallback to "fixed" as needed to work around broken font-packages (report by Jacek Luczak). * fix breakage from patch #240 changes for xtermAddInput() (patches by Jeff Chua, Julien Cristau). Patch #240 - 2009/1/25 * use plink.sh for linking xterm (suggested by Larry Doolittle). * add resource descriptions for input method to xterm manpage. * update configure script; consistently append to $CFLAGS rather than prepend. * add install-scripts rule to makefile, to allow koi8rxterm and uxterm scripts to be altered independently of install-bin * add -maximized command-line option and corresponding resource (prompted by alt.os.linux newsgroup comment). * modify translations of scrollbar widget using xtermAddInput() (see patch #181) to accept the actions that the vt100 widget accepts, such as shift-insert to perform a paste operation (request by Martin Zwickel). * change default for allowTcapsOpS resource to false, since it causes unexpected behavior for vim users with AltGr. * update config.guess, config.sub @ text @d1 1 a1 1 $NetBSD$ @ 1.9 log @Update to xterm-236. Changes: Patch #236 - 2008/07/27 * correct memory reallocation when handling a paste of UTF-8 text from patch #225 changes (report/patch by Max Mikhanosha). * correct allocation of temporary buffer in xtermFindShell in case the user's $PATH contains no ":" (report/analysis by Victor Stinner, Freedesktop.Org Bugzilla #16790). * modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to fix new compile problem exposed by fix for fd_mask (patch by Hasso Tepper). * add configure-check for ncurses use_extended_names, (report by Martin Mokrejs). * correct computation for toolbar height; layout manager already takes into account borderWidth resource. * implement VT320-style SCS (select character set) for ISO Latin-1 supplemental. * fixes for vt100-style character sets in UTF-8 mode (Ubuntu #230919). * fix to make luit work with xterm's -ls option (report/patch by Marius Tolzmann). * update config.guess, config.sub @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.8 2008/04/21 17:10:40 bjs Exp $ d3 1 a3 1 One needs to explicitly enable building in the toolbar code, yet d8 1 a8 1 --- main.c.orig 2008-05-26 14:25:54.000000000 -0400 d17 2 a18 2 }; @ 1.8 log @ Update to xterm-235. Changes within pkgsrc: - Remove most options, as I see no reason not just to build them in by default (they shouldn't be intrusive). I also enabled a few features that weren't there before (mouse support for readline applications, support for the mini/built-in luit, paste64, etc.). - Build-in the toolbar by default. I patched xterm to disable the toolBar resource by default. - Include xaw.buildlink3.mk instead of libXaw/buildlink3.mk and add some code to configure xterm properly according to the user's preference. - Use @@unexec ${RMDIR} ... when attempting to remove lib/X11/app-defaults. - Install xterm.desktop and uxterm.desktop to share/applications (I don't think this needs desktopdb.mk). - Added a 'debug' option which builds in support for event tracing. Also, if PKG_DEVELOPER=yes, tell configure to --enable-warnings. Patch #235 - 2008/04/20 * add control sequences for some of the recent resource/menu settings: * altSendsEscape (private mode 1039) * keepSelection (private mode 1040) * selectToClipboard (private mode 1041) * bellIsUrgent (private mode 1042) * popOnBell (private mode 1043) * add resource formatOtherKeys to provide an alternate escape sequence format for the modifyOtherKeys resource (request by Paul LeoNerd Evans). * adjust saved-cursor position if the window is resized while displaying the alternate screen (Novell #196880, Debian #383384). * improve pointer-checks to fix a bug exposed by resizing during initialization under StumpWM window manager (Fedora Bugzilla #437928). * modify unselectwindow() to ensure that the mouse pointer is not hidden after xterm loses focus (report by Jeremy Huddleston). * add special check for fd_mask on Mac OS X (report by Jeremy Huddleston). * add dylib to autoconf's suffix list used for checking the result from xmkmf, to work with Mac OS X (report by Jeremy Huddleston). * correct initialization of bold- and wide-, wide-bold fonts which may be set via the utf8Fonts subresource (Debian #347790). Patch #234 - 2008/03/02 * modify sinstall.sh to use POSIX locale to bypass GNU ls changes to date-format. * improved/refined changes for closing bitmap font (patch by Andrea Odetti). * improve resize computation for situations where the negotiation fails, by invoking the xterm widget's core-class resize method (Debian #365602, patch by Jim Paris). * restore initialization of terminal's VMIN and VTIME settings, from patch #232 changes (patch by Matthieu Herrb). Patch #233 - 2008/02/24 * add configure check for ttydefaults.h, include if needed, e.g., for systems where defining _POSIX_C_SOURCE, etc., prevents it from being included via termios.h (prompted by comments by Robert Delius Royar and Jeremy Huddleston). * patches from Alan Coopersmith. These correspond to bug-ids on bugs.opensolaris.org 4029911 fix a typo in manpage 4045962 xterm doesn't properly set ut_syslen 4192572 left-left-right misinterpreted as triple click * minor optimization to tab-initialization (patch by Nemeth Marton). * fix a case where an incorrect font was freed during initialization from patch #232 changes (patch by Andrea Odetti). * improve comparison used in SameFont function for GC-caching (Julien Cristau). * correct macro name used for default CKILL definition to work with Mac OS X (report by Jeremy Huddleston). Patch #232 - 2008/01/30 * corrected logic in a font-cache used for reverse-video (Debian #404079). * add control sequence to alter pointerMode at runtime. * add limit-checks for rectangle operation parameters (report by Martin Pirker). * modify minstall.sh to suppress $MANPAGER and $PAGER environment variables, which may interfere with redirecting output of man to a shell variable (report/patch by Zdenek Sekera). * do not try to hide mouse pointer in the tek4014 window, fixes broken "-t" option at startup from patch #230 changes (report by Robert K. Nelson). * correct datatype used when drawing tek4014 data using xterm compiled for wide-characters, on big-endian machines (reports by Jeremy Huddleston, Harald Hanche-Olsen, Martin Costabel, Merle Reinhart). * modify to cache the font-names along with the bitmap font data, to improve comparison of fonts. * modify to allow building with configure options --disable-ansi-color and --disable-leaks (Debian #459817, report/patch by Nemeth Marton). * modify to allow building with configure options --enable-wide-chars and --disable-c1-print (Debian #459816, report/patch by Nemeth Marton). * add pointerMode resource to control whether and when the pointer cursor is hidden as the user types. * simplify initialization of ttyMode- and related characters using a table. * modify initialization-logic for stty values that correspond to ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp, rprnt flush, werase, lnext). These were reset to constants for both termios and legacy interfaces immediately after asking the system for the existing values since X11R6.1, rather than using them to provide inherited values. While the legacy interface has some constraints, e.g., on HPUX, the POSIX or termios interface should not. Your shell may reset these anyway (prompted by patch by Ed Schouten). * improve logic for hiding/displaying pointer-cursor (report by Mark Brukhartz). * add limit-checks to tabs.c, increase maximum column for setting tab-stops from 320 to 1024 (report by Nemeth Marton). * correct length, i.e., number of types of selection targets, computed by ConvertSelection() when not handling wide characters for the XA_TARGETS() case. This leaves an extra Atom on the end of the list which is not handled by Java applications. The problem was introduced in patch #151 (report by David Wood). @ text @d1 1 a1 1 $NetBSD$ d8 1 a8 1 --- main.c.orig 2008-02-27 19:28:00.000000000 -0500 @ 1.7 log @Update xterm to 203. Changes: - pkgsrc patches for Darwin and DragonFlyBSD were incorporated. - Many bug fixes and improvements. See http://dickey.his.com/xterm/xterm.log.html for the complete list. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.6 2005/05/25 02:55:01 reed Exp $ d3 16 a18 11 --- ptyx.h.orig Thu Jan 13 17:50:03 2005 +++ ptyx.h Tue May 24 19:43:10 2005 @@@@ -213,7 +213,7 @@@@ #ifdef __hpux #define PTYCHAR2 "fedcba9876543210" #else /* !__hpux */ -#ifdef __FreeBSD__ +#if defined(__DragonFly__) || defined(__FreeBSD__) #define PTYCHAR2 "0123456789abcdefghijklmnopqrstuv" #else /* !__FreeBSD__ */ #define PTYCHAR2 "0123456789abcdef" @ 1.6 log @Add patch-aa and patch-ab for DragonFly support. This is from Joerg Sonnenberger via PR #30256. (I redid patch-aa and my patch sums were different too.) @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Update xterm to 200. Changes: * increase color pairs value for xterm-256color and xterm-88color to match ncurses, which has an experimental option to support this. * modify ifdef's to make AIX use termios rather than termio; the struct sizes for the two were not the same. * improve CF_WITH_IMAKE_CFLAGS configure macro script for OSMAJORVERSION and OSMINORVERSION values, e.g., for Tru64 and AIX. * modify ifdef to define USE_POSIX_TERMIOS for Darwin (patch by Min Sik Kim). * modify find_utmp() to initialize the whole utmpx struct (except ut_id), since that is needed for OSF1 4.0D to prevent an infinite loop on exit. * add configure check before adding -D_POSIX_SOURCE since some platforms predefine it, e.g., cygwin. * add simplified sed expressions in CF_IMAKE_CFLAGS configure script macro to ensure value for PROJECTROOT is quoted on Solaris, i.e., when nested \( and \) are not interpreted correctly. * correct DEC rectangle operations to reset state after completing the operations. * modify CASE_ST handling in charproc.c to ensure that the parse state is reset even if xterm is not currently processing an OSC or other string (patch by Johnny Billquist forwarded by Matthias Scheler, NetBSD xsrc/29003). * fix OS/2 build for innotek_libc (patch by David Yeo). * fix a regression from patch #197 fix for Debian #277832 which disowned the selection if it was scrolled, e.g., by the user pressing return at the bottom of the screen (Debian #291787). * move the warning/exit for missing $DISPLAY into the error handler in case -display is given, and the connect fails for some other reason. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2005/02/05 06:22:51 minskim Exp $ d3 11 a13 11 --- xterm_io.h.orig Tue Nov 30 19:27:47 2004 +++ xterm_io.h @@@@ -58,7 +58,7 @@@@ #define USE_SYSV_TERMIO #endif -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__INTERIX) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__INTERIX) || defined(__APPLE__) #ifndef USE_POSIX_TERMIOS #define USE_POSIX_TERMIOS #endif @ 1.4 log @Make xterm build on Darwin by defining USE_POSIX_TERMIOS as on other BSDs. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update xterm to 197. Mainly bug fixes. See http://dickey.his.com/xterm/xterm.log.html for the complete changelog. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2004/10/21 07:39:43 minskim Exp $ d3 11 a13 16 --- configure.in.orig Sun Aug 15 16:07:59 2004 +++ configure.in @@@@ -76,11 +76,13 @@@@ AC_CHECK_FUNCS( \ bcopy \ gethostname \ getlogin \ + initgroups \ memmove \ strerror \ strftime \ tcgetattr \ waitpid \ + setpgrp \ ) CF_FUNC_MEMMOVE CF_FUNC_TGETENT @ 1.2 log @Use initgroups(3) only when it is available. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Use setpgid(3) if setpgrp(3) is not available (e.g. on Interix). @ text @d5 7 a11 1 @@@@ -81,6 +81,7 @@@@ AC_CHECK_FUNCS( \ @