Releases: TheBeachLab/tn5250
tn5250 0.19.0 — macOS arm64 (CCSID 1145 + library validation fix)
What's New
Fixes library validation crash on macOS when the binary is signed with hardened runtime (required for notarization). The signed binary now includes the com.apple.security.cs.disable-library-validation entitlement, allowing it to load Homebrew's OpenSSL dylib without a Team ID mismatch error.
Bug fixed
The previous notarized build (v0.19.0-fix2) crashed on launch with:
dyld: Library not loaded: /opt/homebrew/opt/openssl@3/lib/libssl.3.dylib
Reason: code signature not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs
This happened because --options runtime (hardened runtime) enables library validation, which blocks loading dylibs signed by a different team. The fix adds com.apple.security.cs.disable-library-validation to the signing entitlements.
Binary
- Platform: macOS arm64 (Apple Silicon)
- Signed: Developer ID Application: Beach Lab LTD (UN2N27C6PH)
- Notarized: Apple notarization accepted
- Entitlements:
com.apple.security.cs.disable-library-validation
Install
brew install ncurses openssl@3 luit
curl -L https://github.com/TheBeachLab/tn5250/releases/latest/download/tn5250-0.19.0-ccsid1145-macos-arm64.zip -o /tmp/tn5250.zip
unzip -o /tmp/tn5250.zip -d /tmp/tn5250-bin
mkdir -p ~/.local/bin
cp /tmp/tn5250-bin/tn5250 ~/.local/bin/tn5250
chmod +x ~/.local/bin/tn5250Full feature set (since v0.19.0-fix1)
- CCSID 1145 support (Spain + Euro sign €)
- Upstream setlocale fix for accented characters
- Wide-character rendering via ncurses
add_wch
tn5250 0.19.0 — macOS arm64 (CCSID 1145 / Euro support)
What's New
CCSID 1145 support — the Euro-enabled variant of CCSID 284 (Spain/Latin America). Use map=1145 to connect to IBM i systems configured with this code page.
The Euro sign (€) is now properly rendered on UTF-8 terminals using ncurses wide-character support (add_wch). All other characters are identical to CCSID 284.
Usage
tn5250 map=1145 env.TERM=IBM-3179-2 your.as400.host:23Other changes
- Synced with upstream setlocale fix — accented characters (ñ, á, é, ó, ú) now work on all UTF-8 terminals without workarounds
- Wide-character rendering infrastructure that can support additional Euro-variant CCSIDs in the future (1140, 1141, 1142, etc.)
Binary
- Platform: macOS arm64 (Apple Silicon)
- Signed: Developer ID Application: Beach Lab LTD (UN2N27C6PH)
- Notarized: Apple notarization accepted
Install
curl -L https://github.com/TheBeachLab/tn5250/releases/download/v0.19.0-fix2/tn5250-0.19.0-ccsid1145-macos-arm64.zip -o /tmp/tn5250.zip
unzip /tmp/tn5250.zip -d /tmp/tn5250-bin
cp /tmp/tn5250-bin/build/curses/tn5250 ~/.local/bin/tn5250
chmod +x ~/.local/bin/tn5250tn5250 0.19.0 — macOS arm64 (accented chars fix)
What's fixed
The upstream cmake build omits the setlocale() call needed by ncursesw to handle characters above ASCII 0x7F. Without it, accented characters (ñ, ó, á, ü, é, etc.) display as blank spaces on any UTF-8 terminal.
This build includes the fix from PR #56.
Before fix: Inicio de Sesi n / Contrase a
After fix: Inicio de Sesión / Contraseña
Binary details
- Platform: macOS arm64 (Apple Silicon)
- Signed: Developer ID Application: Beach Lab LTD (UN2N27C6PH)
- Notarized: Apple notarization accepted
- Version: tn5250 0.19.0
Requirements
brew install ncurses openssl@3 luitUsage
# Install
cp tn5250 ~/.local/bin/tn5250
chmod +x ~/.local/bin/tn5250
# Connect (Spanish code page)
luit -encoding ISO-8859-15 tn5250 map=284 your.as400.host:23See README.md for more code pages and build-from-source instructions.
License
GPL-2.0 (same as upstream tn5250)