Release Notes/suite3270/4.2ga8

Known issues

 * Resizing or maximizing the wc3270 window makes bad things happen. Please do not do this.
 * x3270 mouse selections are somewhat unpredictable. Double- and triple-clicks no move the cursor when they should not.

4.2ga8

 * Added the reshort option to the wc3270 Session Wizard to re-create all desktop shortcuts. This makes deploying the fix for FAQ Why is the wc3270 window messed up on Windows 11%3F simpler.

4.2ga5

 * Added Alt-e to the default wc3270 keymap and Ctrl-a, f to the c3270 default keymap for the EraseEOF action.

4.2ga4

 * Unified the two ways of running Windows tests under the run_windows_tests.py script.
 * If the host sends a TELNET WONT TN3270E (even if it has never sent WILL TN3270E) and the emulator is in TN3270E mode, the emulator will cancel TN3270E mode and send WONT TN3270E. This is not listed as a bug fix because it is a workaround for a bug on the host side, which should be sending DONT TN3270E.
 * Added the retry resource to retry host connections, even if the reconnect resource is not set to true.
 * Added more validations for bad host writes and pop-ups to report them.

4.2beta2

 * Added the -tracefile command-line option to pr3287.
 * Added options and resources to limit hostname lookups to IPv4 or IPv6: -4 command-line option, -4 command-line option (pr3287), preferIpv4 resource, -6 command-line option, -6 command-line option (pr3287), preferIpv6 resource. These can be changed at run-time with the Set and Toggle actions.
 * Added support in pr3287 to try more than one address for a host.
 * Added the -nopromptafter option to the Escape action.
 * Added the -interactive option to the Script action.

4.2alpha1

 * Added the -subst option to the String action.
 * Added a REST endpoint that accepts POST operations, with the body in plain text or JSON format.
 * Added the cursorAt, inputFieldAt and stringAt options to the Wait action.
 * Added support for draft-ietf-tn3270e-extensions-04, an Internet draft that corrects several flaws in the TN3270E protocol. This support is preliminary, so there is a new resource (contentionResolution), which can be set to false to disable it.
 * Added automated unit and integration tests. All new 4.2 functionality and bug fixes have tests. Additional tests for existing functionality will be added over time.
 * Added the timingMarks query.
 * Added the 2x option to the callback resource.
 * Added JSON support to s3270 (and the socket-based s3270 protocol) and b3270.
 * Added the scriptedAlways resource.
 * Added the wrapperDoc resource and -nowrapperdoc command-line option.
 * Added the indent resource and -indent command-line option.
 * Changed the default value for the b3270 utf8 resource to true.
 * Added the Fail action.
 * Improved the readability of the x3270 color schemes. default and bright are now identical. The old values are still available as old-default and old-bright.
 * Changed the default NVT-mode terminal name to xterm-color for color displays. (It is still xterm for monochrome displays.)
 * Made the termName resource apply NVT mode hosts (the A prefix]) and local processes (the -e command-line option).
 * Added support for building on MSYS2.
 * Added the wc3270 SnapScreen action.
 * Made wc3270 behave a bit better when the window is resized.

4.2ga8

 * When pasting in NVT mode and the text wraps to the next line, the cursor no longer ends up in the wrong location.
 * Extended the source tarball generation script mktar.sh to expand submodules, so the Expat library builds properly for Windows.
 * Modified the Session Wizard so that wc3270 doesn't end up running inside Windows Terminal. (See the FAQ Why is the wc3270 window messed up on Windows 11%3F for details.)
 * The x3270a script no longer causes a spurious Invalid (empty) hostname error pop-up when the display's DPI is other than 96. (Bug report by Devonian Teuchter is here.)

4.2ga7

 * The wc3270 Session Wizard no longer exits silently when it encounters an error.
 * x3270 will no longer change fonts unnecessarily when the host code page is changed. (bug report)
 * The background color is now propagated correctly by the RA order. (courtesy of Sven Schnelle)
 * In a resource file, a resource value can now end with a properly-quoted backslash, without the backslash being interpreted as a line continuation.
 * The Transfer action, when invoked from within a file read by the Source action, now blocks properly -- it returns once the file transfer is complete.
 * If the Source action is aborted, it will no longer leave the keyboard locked.
 * Typeahead is now processed correctly when the host has negotiated TN3270E Contention Resolution and the unlockDelay resource is set to false. (bug report)

4.2ga6

 * Underlined invisible fields are no longer rendered with underlines in b3270. Bug report
 * Reverse video fields are now rendered properly in b3270. Bug report
 * Verified TLS sessions are no longer reported with inverted status in b3270. Bug report
 * Send-mode file transfers on TLS-encrypted sessions with a buffer size of 16309 bytes or greater on Windows no longer cause crashes. Bug report

4.2ga5

 * Numeric fields now allow the + and - characters to be entered. (Thanks to Roberto Ponti for the report and suggested fix.)
 * The emulator will no longer crash if the -port command-line option is used.
 * The command-line syntax -set resource=value works properly on x3270.
 * The -e command-line option to connect to a local process now works properly on x3270.
 * Cross-compiles using recent versions of MinGW no longer generate warnings about printf formats.

4.2beta3

 * Corrected the implementation of the contention resolution draft.
 * Corrected the implementation of TN3270E SSCP-LU mode when SYSREQ is sent to the host.
 * The emulators no longer crash or hang when the oia option is used with the PrintText action.
 * The nopSeconds resource no longer applies to non-TELNET (T:) hosts.

4.2beta2

 * Fixed a c3270 crash when a connection is opened from a remote source (HTTP server or script port) while at the c3270&gt; prompt.
 * Fixed a c3270 crash when the -secure and -trace command-line options are used together.
 * A key typed into a full field in insert mode no longer overwrites the character under the cursor.

4.2alpha1

 * Fixed blocking issues with the Transfer action.
 * Fixed numerous tcl3270 issues, such as the Quit action not acting immediately, the s3270 back-end process sometimes persisting after tcl3270 exits.
 * Fixed the termName resource not applying to local processes (the -e command-line option).
 * The Release configurations now build on Visual Studio.

Release date
29. January 2023