x11/x3270: update to suite3270-4.1ga11.
Removed some out-of-date documentation.
https://x3270.miraheze.org/wiki/Main_Page is the most up-to-date.
Improvements:
- Added a macros menu to c3270 and wc3270.
- Corrected support for the macros resource without a qualifying host
name.
- The entire list of command-line options is now displayed only with the
--help command-line option, not for every unknown option.
- Added the lineMode resource.
- Added the noTelnetInputMode resource.
- Added the wrap graphic rendition to b3270.
- Added the Pause() action.
- Changed the default for unlockDelay in all emulators from true to
false. This is a very significant change.
- The overlayPaste resource is now set to true by default.
- GNOME desktop integration is now included.
- wc3270 now does continuous selections in NVT mode, and allows a single
character to be selected.
- wc3270 no longer moves the cursor for mouse clicks in NVT mode.
- Double-clicking on a URL in x3270 (on most platforms) and in wc3270
now opens that link in the browser.
- The session file folder is no longer marked as a system file, so
backup software will not skip it.
- Added the SubjectNames() action and TlsSubjectNames query.
- Added the ability to set an accept host name to the wc3270 Session
Wizard.
- Switched several actions that return values to explicitly return
nothing.
- Added the ability to include the OIA in a PrintText() action screen
image.
- Added the OIA to the screen image displayed by the HTTP server.
- Added validation of keymaps, macros and idle actions at init time.
- Added cursor blink support to wc3270.
- Added the SaveInput() action and RestoreInput() action.
- In b3270, error messages from failed host connection attempts are now
labeled separately from other errors.
- Added the -subst option to the String() action.
Bug fixes:
- Fixed an issue in b3270 where the cursor would continue to be
displayed when the host disconnected.
- APL characters were not displayed properly in x3270 in NVT mode, when
using a 3270 font.
- On MacOS, the ./configure script would skip c3270 if it was not
enabled explicitly.
- Fixed a number of typos in compiled strings and comments (courtesy of
Philipp Kern).
- Fixed a c3270 crash seen on NetBSD.
- Fixed an issue with c3270 exiting prematurely, seen on NetBSD.
- Fixed an x3270 install issue (courtesy of Olaf 'Rhialto' Seibert).
- The last screenful of NVT mode text is no longer lost when scrolling
backwards.
- The programs ar and ranlib are resolved dynamically now when building.
- Numeric fields no longer ignore non-numeric characters and commas,
when the NumericLock resource is false. When it is true, commas are
considered valid numeric characters.
- Proxy connections did not initialize TELNET state properly (courtesy
of Andreas Krebbel).
- When running on Cygwin, child scripts (the Script() action, Execute()
action and Prompt() action) failed with a bind error.
- When the print dialog was canceled, the PrintText() action and
ScreenTrace() action would fail silently.
- The emulator would sometimes crash when a pending connection was
broken.
- Windows error messages are now encoded using the selected code page,
not the system ANSI code page.
- Fixed several scripting scenarios, such as aborting a Source() action,
which would leave the keyboard locked.
- The String() action no longer requires an input field to be present in
order to run.
- Corrected an issue where an empty error message would be displayed for
a connection failure.
- Corrected a typo in a file transfer message name (courtesy of Philipp
Kern).
- Added logic to ensure the icon directory exists when installing x3270
on Linux (courtesy of Philipp Kern).
- Fixed the representation of APL underlined alphabetics in b3270 screen
updates in NVT mode, and in the output of the Ascii() action.
- Fixed a crash when an action started with a comment (# or !).
- Fixed a version generation bug that prevented the code from building
on MacOS when SOURCE_DATE_EPOCH was set.
- Corrected usage messages.
2021-12-29 14:25:47 +01:00
|
|
|
# $NetBSD: options.mk,v 1.4 2021/12/29 13:25:47 rhialto Exp $
|
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.
2021-01-01 14:05:22 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.x3270
|
x11/x3270: update to suite3270-4.1ga11.
Removed some out-of-date documentation.
https://x3270.miraheze.org/wiki/Main_Page is the most up-to-date.
Improvements:
- Added a macros menu to c3270 and wc3270.
- Corrected support for the macros resource without a qualifying host
name.
- The entire list of command-line options is now displayed only with the
--help command-line option, not for every unknown option.
- Added the lineMode resource.
- Added the noTelnetInputMode resource.
- Added the wrap graphic rendition to b3270.
- Added the Pause() action.
- Changed the default for unlockDelay in all emulators from true to
false. This is a very significant change.
- The overlayPaste resource is now set to true by default.
- GNOME desktop integration is now included.
- wc3270 now does continuous selections in NVT mode, and allows a single
character to be selected.
- wc3270 no longer moves the cursor for mouse clicks in NVT mode.
- Double-clicking on a URL in x3270 (on most platforms) and in wc3270
now opens that link in the browser.
- The session file folder is no longer marked as a system file, so
backup software will not skip it.
- Added the SubjectNames() action and TlsSubjectNames query.
- Added the ability to set an accept host name to the wc3270 Session
Wizard.
- Switched several actions that return values to explicitly return
nothing.
- Added the ability to include the OIA in a PrintText() action screen
image.
- Added the OIA to the screen image displayed by the HTTP server.
- Added validation of keymaps, macros and idle actions at init time.
- Added cursor blink support to wc3270.
- Added the SaveInput() action and RestoreInput() action.
- In b3270, error messages from failed host connection attempts are now
labeled separately from other errors.
- Added the -subst option to the String() action.
Bug fixes:
- Fixed an issue in b3270 where the cursor would continue to be
displayed when the host disconnected.
- APL characters were not displayed properly in x3270 in NVT mode, when
using a 3270 font.
- On MacOS, the ./configure script would skip c3270 if it was not
enabled explicitly.
- Fixed a number of typos in compiled strings and comments (courtesy of
Philipp Kern).
- Fixed a c3270 crash seen on NetBSD.
- Fixed an issue with c3270 exiting prematurely, seen on NetBSD.
- Fixed an x3270 install issue (courtesy of Olaf 'Rhialto' Seibert).
- The last screenful of NVT mode text is no longer lost when scrolling
backwards.
- The programs ar and ranlib are resolved dynamically now when building.
- Numeric fields no longer ignore non-numeric characters and commas,
when the NumericLock resource is false. When it is true, commas are
considered valid numeric characters.
- Proxy connections did not initialize TELNET state properly (courtesy
of Andreas Krebbel).
- When running on Cygwin, child scripts (the Script() action, Execute()
action and Prompt() action) failed with a bind error.
- When the print dialog was canceled, the PrintText() action and
ScreenTrace() action would fail silently.
- The emulator would sometimes crash when a pending connection was
broken.
- Windows error messages are now encoded using the selected code page,
not the system ANSI code page.
- Fixed several scripting scenarios, such as aborting a Source() action,
which would leave the keyboard locked.
- The String() action no longer requires an input field to be present in
order to run.
- Corrected an issue where an empty error message would be displayed for
a connection failure.
- Corrected a typo in a file transfer message name (courtesy of Philipp
Kern).
- Added logic to ensure the icon directory exists when installing x3270
on Linux (courtesy of Philipp Kern).
- Fixed the representation of APL underlined alphabetics in b3270 screen
updates in NVT mode, and in the output of the Ascii() action.
- Fixed a crash when an action started with a comment (# or !).
- Fixed a version generation bug that prevented the code from building
on MacOS when SOURCE_DATE_EPOCH was set.
- Corrected usage messages.
2021-12-29 14:25:47 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= curses x11 tcl gtk
|
|
|
|
PKG_SUGGESTED_OPTIONS+= curses x11 gtk
|
|
|
|
PLIST_VARS= curses x11 tcl gtk
|
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.
2021-01-01 14:05:22 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mcurses)
|
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-c3270
|
|
|
|
PLIST.curses= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-c3270
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
|
|
|
.include "../../x11/libXaw/buildlink3.mk"
|
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
|
|
.include "../../x11/xbitmaps/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-x3270
|
|
|
|
CONFIGURE_ARGS+= --enable-x3270if
|
|
|
|
PLIST.x11= yes
|
2021-01-01 16:37:54 +01:00
|
|
|
REPLACE_BASH+= x3270/x3270a.in
|
x11/x3270: update to suite3270-4.1ga11.
Removed some out-of-date documentation.
https://x3270.miraheze.org/wiki/Main_Page is the most up-to-date.
Improvements:
- Added a macros menu to c3270 and wc3270.
- Corrected support for the macros resource without a qualifying host
name.
- The entire list of command-line options is now displayed only with the
--help command-line option, not for every unknown option.
- Added the lineMode resource.
- Added the noTelnetInputMode resource.
- Added the wrap graphic rendition to b3270.
- Added the Pause() action.
- Changed the default for unlockDelay in all emulators from true to
false. This is a very significant change.
- The overlayPaste resource is now set to true by default.
- GNOME desktop integration is now included.
- wc3270 now does continuous selections in NVT mode, and allows a single
character to be selected.
- wc3270 no longer moves the cursor for mouse clicks in NVT mode.
- Double-clicking on a URL in x3270 (on most platforms) and in wc3270
now opens that link in the browser.
- The session file folder is no longer marked as a system file, so
backup software will not skip it.
- Added the SubjectNames() action and TlsSubjectNames query.
- Added the ability to set an accept host name to the wc3270 Session
Wizard.
- Switched several actions that return values to explicitly return
nothing.
- Added the ability to include the OIA in a PrintText() action screen
image.
- Added the OIA to the screen image displayed by the HTTP server.
- Added validation of keymaps, macros and idle actions at init time.
- Added cursor blink support to wc3270.
- Added the SaveInput() action and RestoreInput() action.
- In b3270, error messages from failed host connection attempts are now
labeled separately from other errors.
- Added the -subst option to the String() action.
Bug fixes:
- Fixed an issue in b3270 where the cursor would continue to be
displayed when the host disconnected.
- APL characters were not displayed properly in x3270 in NVT mode, when
using a 3270 font.
- On MacOS, the ./configure script would skip c3270 if it was not
enabled explicitly.
- Fixed a number of typos in compiled strings and comments (courtesy of
Philipp Kern).
- Fixed a c3270 crash seen on NetBSD.
- Fixed an issue with c3270 exiting prematurely, seen on NetBSD.
- Fixed an x3270 install issue (courtesy of Olaf 'Rhialto' Seibert).
- The last screenful of NVT mode text is no longer lost when scrolling
backwards.
- The programs ar and ranlib are resolved dynamically now when building.
- Numeric fields no longer ignore non-numeric characters and commas,
when the NumericLock resource is false. When it is true, commas are
considered valid numeric characters.
- Proxy connections did not initialize TELNET state properly (courtesy
of Andreas Krebbel).
- When running on Cygwin, child scripts (the Script() action, Execute()
action and Prompt() action) failed with a bind error.
- When the print dialog was canceled, the PrintText() action and
ScreenTrace() action would fail silently.
- The emulator would sometimes crash when a pending connection was
broken.
- Windows error messages are now encoded using the selected code page,
not the system ANSI code page.
- Fixed several scripting scenarios, such as aborting a Source() action,
which would leave the keyboard locked.
- The String() action no longer requires an input field to be present in
order to run.
- Corrected an issue where an empty error message would be displayed for
a connection failure.
- Corrected a typo in a file transfer message name (courtesy of Philipp
Kern).
- Added logic to ensure the icon directory exists when installing x3270
on Linux (courtesy of Philipp Kern).
- Fixed the representation of APL underlined alphabetics in b3270 screen
updates in NVT mode, and in the output of the Ascii() action.
- Fixed a crash when an action started with a comment (# or !).
- Fixed a version generation bug that prevented the code from building
on MacOS when SOURCE_DATE_EPOCH was set.
- Corrected usage messages.
2021-12-29 14:25:47 +01:00
|
|
|
USE_TOOLS+= bash:run
|
|
|
|
|
|
|
|
. if !empty(PKG_OPTIONS:Mgtk)
|
|
|
|
. include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
|
|
ICON_THEMES= yes
|
|
|
|
INSTALLATION_DIRS+= ${PREFIX}/share/applications
|
|
|
|
INSTALLATION_DIRS+= ${PREFIX}/share/icons/hicolor
|
|
|
|
PLIST.gtk= yes
|
|
|
|
. endif
|
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.
2021-01-01 14:05:22 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-x3270
|
|
|
|
CONFIGURE_ARGS+= --disable-x3270if
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mtcl)
|
|
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-tcl3270
|
|
|
|
PLIST.tcl= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-tcl3270
|
|
|
|
.endif
|