Commit Graph
6 Commits
Author SHA1 Message Date
Claude 53f633105d Module path github.com/D-Modem/go3270; README as a landing page
The module and every import move from github.com/racingmars/go3270 to
github.com/D-Modem/go3270, so the fork no longer needs a replace line in
the programs that use it. The upstream files' 'This file is part of'
headers keep their attribution.

The README becomes a landing page that credits upstream; usage, code
pages, the fork's graphics and IND$FILE, and the 3270 references move to
docs/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
2026-11-05 10:42:34 +00:00
Claude f0249a07cb Doc comments on every function
Every function and method, tests included, has a doc comment: what it
is or does, what it returns and anything a caller needs to know.  Only
comments are added; gofmt split a few aligned blocks of one-line
functions once each had its own comment.  The generated protobuf code
is left as protoc writes it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 21:26:14 +00:00
Matthew R. Wilson 7b7d375e91 Per-client codepage detection and handling 2025-11-25 16:31:09 -08: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 d39b10e79d Add auto-skip support to protected fields 2023-10-19 10:02:16 -07:00
Matthew R. Wilson fee74affa2 #1: Add HandleScreen() function as a higher-level interface to ShowScreen() 2020-12-07 01:59:04 -08:00