head 1.11; access; symbols pkgsrc-2020Q4:1.10.0.58 pkgsrc-2020Q4-base:1.10 pkgsrc-2020Q3:1.10.0.56 pkgsrc-2020Q3-base:1.10 pkgsrc-2020Q2:1.10.0.52 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.10.0.32 pkgsrc-2020Q1-base:1.10 pkgsrc-2019Q4:1.10.0.54 pkgsrc-2019Q4-base:1.10 pkgsrc-2019Q3:1.10.0.50 pkgsrc-2019Q3-base:1.10 pkgsrc-2019Q2:1.10.0.48 pkgsrc-2019Q2-base:1.10 pkgsrc-2019Q1:1.10.0.46 pkgsrc-2019Q1-base:1.10 pkgsrc-2018Q4:1.10.0.44 pkgsrc-2018Q4-base:1.10 pkgsrc-2018Q3:1.10.0.42 pkgsrc-2018Q3-base:1.10 pkgsrc-2018Q2:1.10.0.40 pkgsrc-2018Q2-base:1.10 pkgsrc-2018Q1:1.10.0.38 pkgsrc-2018Q1-base:1.10 pkgsrc-2017Q4:1.10.0.36 pkgsrc-2017Q4-base:1.10 pkgsrc-2017Q3:1.10.0.34 pkgsrc-2017Q3-base:1.10 pkgsrc-2017Q2:1.10.0.30 pkgsrc-2017Q2-base:1.10 pkgsrc-2017Q1:1.10.0.28 pkgsrc-2017Q1-base:1.10 pkgsrc-2016Q4:1.10.0.26 pkgsrc-2016Q4-base:1.10 pkgsrc-2016Q3:1.10.0.24 pkgsrc-2016Q3-base:1.10 pkgsrc-2016Q2:1.10.0.22 pkgsrc-2016Q2-base:1.10 pkgsrc-2016Q1:1.10.0.20 pkgsrc-2016Q1-base:1.10 pkgsrc-2015Q4:1.10.0.18 pkgsrc-2015Q4-base:1.10 pkgsrc-2015Q3:1.10.0.16 pkgsrc-2015Q3-base:1.10 pkgsrc-2015Q2:1.10.0.14 pkgsrc-2015Q2-base:1.10 pkgsrc-2015Q1:1.10.0.12 pkgsrc-2015Q1-base:1.10 pkgsrc-2014Q4:1.10.0.10 pkgsrc-2014Q4-base:1.10 pkgsrc-2014Q3:1.10.0.8 pkgsrc-2014Q3-base:1.10 pkgsrc-2014Q2:1.10.0.6 pkgsrc-2014Q2-base:1.10 pkgsrc-2014Q1:1.10.0.4 pkgsrc-2014Q1-base:1.10 pkgsrc-2013Q4:1.10.0.2 pkgsrc-2013Q4-base:1.10 pkgsrc-2013Q3:1.8.0.22 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.20 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.18 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.16 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.14 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.12 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.10 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.8 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.6 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.4 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.2 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.7.0.4 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.2 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.6.0.4 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.2 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.5.0.62 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.60 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.58 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.56 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.54 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.52 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.50 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.48 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.46 pkgsrc-2008Q1:1.5.0.44 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.42 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.40 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.38 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.36 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.34 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.32 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.30 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.28 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.26 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.24 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.22 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.20 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.18 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.16 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.14 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.12 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.10 pkgsrc-2003Q4-base:1.5 netbsd-1-6-1:1.5.0.6 netbsd-1-6-1-base:1.5 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.5 netbsd-1-5-PATCH001:1.5 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.2; locks; strict; comment @# @; 1.11 date 2021.01.01.13.05.22; author rhialto; state dead; branches; next 1.10; commitid yKnI2kJGKxUkz1CC; 1.10 date 2013.11.24.05.52.10; author gls; state Exp; branches; next 1.9; commitid WPgCpJONmgjEAuex; 1.9 date 2013.11.24.05.39.25; author gls; state dead; branches; next 1.8; commitid FyrS8bucZc6cwuex; 1.8 date 2011.03.15.21.51.44; author gls; state Exp; branches; next 1.7; 1.7 date 2010.07.25.21.23.03; author gls; state Exp; branches; next 1.6; 1.6 date 2010.03.04.20.42.01; author gls; state Exp; branches; next 1.5; 1.5 date 2001.05.12.21.54.13; author dmcmahill; state Exp; branches; next 1.4; 1.4 date 2000.10.30.11.55.02; author mjl; state dead; branches; next 1.3; 1.3 date 2000.06.06.12.02.48; author mjl; state Exp; branches; next 1.2; 1.2 date 98.08.07.11.18.20; author agc; state Exp; branches; next 1.1; 1.1 date 98.07.09.12.01.26; author tv; state Exp; branches; next ; desc @@ 1.11 log @x11/x3270: update to 4.0ga13. Includes the curses version of the terminal emulator now. Changelogs are quite fragmented over various alpha/beta versions; here are some main points. Major changes Task engine The scripting infrastructure has been rewritten. It is now called the task engine. There are no longer any artificial dependencies between actions initiated by different sources (keyboard, scripts, HTTP requests, etc.). Accidental blocking behavior has been (almost) eliminated. Unrelated operations are now properly concurrent, within the limitations of there still being just one emulated terminal and host session to control. For example, c3270 and wc3270 now continue to respond to host messages while at the prompt or while a printer dialog is showing. Tasks also carry context consistently now. For example, the Wait(Output) now works with HTTP requests. The state of the task engine can be displayed with the Tasks query. b3270 A new emulator has been created, b3270. It is a common back-end process that handles the 3270 protocol and host interactions, communicating with different user-interface implementations using a simple XML-based protocol. None of the existing emulators have been converted to use b3270, but a new Windows emulator (wx3270) uses it. x3270 prompt The c3270 prompt has been generalized and is available to all of the 3270 emulators as the x3270 prompt. The Prompt() action (or a menu option) creates a new instance of the prompt in a window. The prompt now uses color to distinguish error messages. tcl3270 re-implementation tcl3270 has been re-implemented as a simple wrapper around s3270. This eliminates many of the arbitrary limitations and blocking behaviors of the previous implementation. Show() / Query() merge and expansion The common Query() action and the c3270/wc3270-specific Show() action have been merged and expanded. Show() is an alias for Query(), and many queries have been added or changed: (omitted) Set()/Toggle() changes A new Set() action has been added, which is similar to the Toggle() action. The difference between Set() and Toggle() happens when no value is specified for a setting. Without a value specified, Set() will display the current value; Toggle() will (if the setting is Boolean) invert the setting's value. Both actions list the current values of all settings if no parameters are given. Many additional resources can now be changed at run-time via Set() or Toggle(). These previously-deprecated resources were removed: cursorPos (assumed true now) dsTrace eventTrace dftBufferSize x3270 APL mode APL keyboard operation on x3270 has changed. There is no longer a fixed APL keymap. Instead, the key combination Shift-Escape toggles a new APL mode, which changes how how paste operations are handled (preferring the APL definitions for Unicode characters that have both APL and non-APL mappings), as well as setting a temporary keyboard map and a temporary compose map. The separate APL host code page has been removed; APL text can be displayed using any host code page. after this, lots of bug fixes and minor tweaks, as far as I can tell. @ text @$NetBSD: patch-aa,v 1.10 2013/11/24 05:52:10 gls Exp $ Fix $HOSTSFILE installation path --- Imakefile.in.orig 2010-09-13 20:55:27.000000000 +0000 +++ Imakefile.in @@@@ -190,8 +190,8 @@@@ $(DESTDIR)$(FONTINSTDIR)/fonts.dir:: /* Extra install rule for the sample ibm_hosts file (runs only if there is no ibm_hosts file installed yet). */ install:: $(HOSTSFILE) - @@[ -r $(DESTDIR)$(LIBX3270DIR)/$(HOSTSFILE) ] || \ - $(INSTALL) -c $(INSTDATFLAGS) $(HOSTSFILE) $(DESTDIR)$(LIBX3270DIR)/$(HOSTSFILE) + @@[ -r $(DESTDIR)$(PREFIX)/share/examples/x3270/$(HOSTSFILE) ] || \ + $(INSTALL) -c $(INSTDATFLAGS) $(HOSTSFILE) $(DESTDIR)$(PREFIX)/share/examples/x3270/$(HOSTSFILE) /* * Install rules for x3270if, x3270-script and ibm_hosts man pages. @ 1.10 log @Re-add the patch I remove by mistake @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.8 2011/03/15 21:51:44 gls Exp $ @ 1.9 log @Patch is not required any more. @ text @@ 1.8 log @Update x11/x3270 to 3.3.11ga6 Upstream changes: Changes in version 3.3.11ga6, 19. September 2010 * [wc3270] Fixed an issue with non-ASCII text in the Info command. * [wc3270] Removed junk characters from the top line of model 5 screens. * [pr3287, wpr3287] Corrected an issue with missing newlines at the end of each formatted 3270 stream Write command. * [pr3287, wpr3287] Modified the -trnpre and -trnpost options to open the files for each print job, so they can be changed between print jobs. Changes in version 3.3.11beta5, 30. July 2010 * [all 3270] Improved tracing. Trace entries now include time stamps. Trace file limits operate much more simply. A trace file name can start with ">>" to have the data appended to the file. * [all 3270] Allow -scriptport TCP ports to be re-used quickly. Changes in version 3.3.11beta4, 25. July 2010 * [wc3270] Corrected a problem where mouse input would be ignored after screen printing (Alt-P) or use of the Execute() action. * [wc3270] Added a bellMode resource to allow precise control of what wc3270 does in response to ALARM WCCs and BELL characters. * [c3270] Fixed a problem with hangs when a connection fails on recent versions of Cygwin. * [x3270, c3270, wc3270] Added a new token to the printer.assocCommandLine and printer.luCommandLine resources: %O% will be substituted with the value of the new printer.options resource. This allows extra options such as -emflush to be passed easily to pr3287 and wpr3287 sessions without having to redefine the rather ugly printer.assocCommandLine and printer.luCommandLine resources. * [pr3287] Fixed a build issue on platforms that use the iconv library, such as Macs. * [all] Added a bindLimit resource (default true) to control whether the screen dimensions specified by the host in a BIND image will be obeyed. * [wc3270] Fixed the cursor position toggle to turn off correctly. * [c3270 and wc3270] Added a menu option to toggle underscore mode. * [c3270] Fixed underscore mode to only affect underlined fields. Changes in version 3.3.11beta3, 7. July 2010 * [pr3287 and wpr3287] Added the -emflush option, to flush pending printer output when an EM order is received in unformatted 3270 mode. This helps preserve multi-page output from hosts that to not clear the 3270 buffer between pages. Changes in version 3.3.11beta2, 6. May 2010 * [c3270, wc3270] Added a menu bar and pop-up keypad, usually controlled by the mouse or by the new Menu and Keypad actions. * [c3270, wc3270] Implemented the showTiming toggle, to display the time taken for the host to process an AID in the OIA. * [wc3270] Overhauled auto-shortcut mode, so that no shortcut is needed to run a wc3270 session file. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.7 2010/07/25 21:23:03 gls Exp $ @ 1.7 log @Update x11/x3270 to 3.3.10ga5. Upstream changes: # [x3270] Fixed a problem with temporary keymaps being cleared when connecting to or disconnecting from a host. # x3270, c3270] Corrected some APL characters that were not displayed correctly with Unicode fonts. # [all] Corrected operation on EBCDIC-based hosts. # [all] Corrected the behavior of hostname prefixes such as L:, which were "sticky", i.e., once set they would be set for all future connections. # [all] Corrected the reported CGCSGID for code page 1147 (french-euro). # [all except x3270] Disabled the Query Reply report for background color support, which confused some older versions of GDDM. This report can be explicitly enabled by setting the qrBgColor resource to true. # [all] In oversize mode, changed the terminal type to IBM-DYNAMIC. Pkgsrc changes: - Set LICENSE - Fix configuration directory - Claim maintainership. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 1 --- Imakefile.in.orig 2009-09-18 02:08:55.000000000 +0000 a6 18 @@@@ -1,7 +1,7 @@@@ /* * Copyright (c) 1995-2009, Paul Mattes. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@@@ -13,7 +13,7 @@@@ * * Neither the name of Paul Mattes nor his contributors may be used * to endorse or promote products derived from this software without * specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE d15 1 a15 1 a17 7 @@@@ -226,5 +226,5 @@@@ install.byprefix:: /****************************************************************************** * Clean rules. * ******************************************************************************/ -clean:: +clean:: $(RM) $(FONTS) qcpp mkfb fallbacks.c @ 1.6 log @Updated to 3.3.10ga4 Fix HOMEPAGE and MASTER_SITES Changelog too long to list here. Please see http://x3270.bgp.nu/documentation-relnotes.html @ text @d3 28 a30 4 --- configure.orig 2009-09-22 01:59:47.000000000 +0000 +++ configure @@@@ -4025,7 +4025,7 @@@@ no|*) no_xmkmf=1 esac d32 9 a40 6 # Set up the configuration directory. -LIBX3270DIR='${sysconfdir}/x3270' +LIBX3270DIR='${PREFIX}/share/examples/x3270' { $as_echo "$as_me:$LINENO: checking for library containing forkpty" >&5 @ 1.5 log @fix type for LP64 systems. (unsigned -> size_t) @ text @d3 4 a6 12 fix types (needed on LP64) --- pr3287/pr3287.c.orig Thu Sep 14 10:41:12 2000 +++ pr3287/pr3287.c Sat May 12 17:49:49 2001 @@@@ -97,5 +97,5 @@@@ /* Memory allocation. */ void * -Malloc(unsigned len) +Malloc(size_t len) { void *p = malloc(len); @@@@ -115,5 +115,5 @@@@ d8 6 a13 5 void * -Realloc(void *p, unsigned len) +Realloc(void *p, size_t len) { void *pn; @ 1.4 log @Update to 3.2.13. Change since .8 include: Rewrote the screen resizing logic. It now functions correctly on window managers like icewm and under KDE, and would rather leave the screen the wrong size than exit. Fixed a problem with exiting whenever the window was resized. Added a complete interface library for use with expect, Fixed problems with selecting blanks and NULLs on the screen Fixed several problems when windows do not fit on the screen. Fixed a core dump when the emulator font can't be found. Send the correct codepage in Query Reply when using non-US character sets. Request the first LU name only once. Added a highlightBold resource to display highlighted fields in bold. Fixed a core dump from editing the Print Window Bitmap command. Fixed requesting the wrong LU after switching between TN3270E and TN3270 modes. Changed the resource file format back to using "x3270" as a consistent prefix. Changed x3270.fontList to x3270.fontMenuList to avoid conflicts. Fixed a problem with parameter processing in the Transfer() action. Improved script tracing. Added stricter enforcement of user-specified LUs. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2000/06/06 12:02:48 mjl Exp $ d3 12 a14 10 --- Imakefile.orig Thu Feb 13 17:04:51 1997 +++ Imakefile Thu Jul 9 07:52:56 1998 @@@@ -121,7 +121,7 @@@@ install:: $(DESTDIR)$(FONTINSTDIR)/fonts.dir $(DESTDIR)$(FONTINSTDIR)/fonts.dir:: -chmod u+w $(DESTDIR)$(FONTINSTDIR) $(DESTDIR)$(FONTINSTDIR)/fonts.dir - $(BINDIR)/$(MKFONTDIR) $(DESTDIR)$(FONTINSTDIR) + $(MKFONTDIR) $(DESTDIR)$(FONTINSTDIR) chmod u=rwx,go=rx $(DESTDIR)$(FONTINSTDIR) chmod a=r $(DESTDIR)$(FONTINSTDIR)/fonts.dir d16 5 @ 1.3 log @Update to 3.2.8. No changelog available. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 1998/08/07 11:18:20 agc Exp $ @ 1.2 log @Add NetBSD RCS Ids. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -104,7 +104,7 @@@@ @ 1.1 log @Find mkfontdir in $PATH; don't look for it in $(BINDIR) - lets x3270 work with xpkgwedge. @ text @d1 2 @