Commit Graph
11 Commits
Author SHA1 Message Date
Matthew R. Wilson 7b7d375e91 Per-client codepage detection and handling 2025-11-25 16:31:09 -08:00
Matthew R. Wilson 2f96d51ac3 Groundwork for multi codepage support 2025-11-14 23:54:11 -08:00
Matthew R. Wilson 904699bf1e Fix broken EBCDIC conversions. Fully switch to CP1047<->UTF-8. 2025-10-25 16:06:14 -07:00
Matthew R. Wilson b6fa48f37f Alternate screen size support.
This is a relatively big new feature, which introduces small breaking changes
to the API:

 * NegotiateTelnet() now returns (DevInfo, error) instead of just error.  The
   function signature for the Tx type now has one additional DevInfo parameter.
 * RunTransactions() requires one additional parameter, the DevInfo (which is
   allowed to be nil).

Otherwise, existing behavior continues to work as-is and everything still
defaults to operating on the default 24x80 terminal size.

See example5 for a larger-terminal-aware application.

Pending some time to make sure no new bugs cropped up in this release and that
the alternate screen size support works in the wild, I anticipate this will
become the v1.0.0 release of go3270.
2025-06-29 12:58:18 -07:00
Matthew R. Wilson 3a38ce6e4a bugfix: Correct Response row and col values (swap them) 2025-06-07 14:04:21 -07:00
Matthew R. Wilson cb57796dfc Issue #4: actually make it work 2020-12-30 17:27:57 -08:00
Matthew R. Wilson cfa06ec4bc Issue #4: add and use telnetRead() function 2020-12-30 15:55:31 -08:00
Matthew R. Wilson f01cf72d6d Add logging code for out-of-bounds buffer addresses 2020-12-27 01:31:20 -08:00
Matthew R. Wilson 1e6ae603e7 Issue #2: handle PA keys like Clear 2020-11-05 13:28:22 -08:00
Matthew R. Wilson ebff6c7a2f Thing seem to be working! 2020-11-02 17:35:43 -08:00
Matthew R. Wilson adb42dea54 Early response parsing work 2020-11-02 16:12:45 -08:00