11 Commits
Author SHA1 Message Date
Claude 8539da3147 Licence: AGPL-3.0-only, or a commercial licence from the D-Modem Authors
The suite's licence, as D-Modem, bbs, menu and brand: the AGPL-3.0-only
by default, and a commercial licence from the D-Modem Authors for uses
that can't meet its terms (COMMERCIAL-LICENSE.md).  The contributor
agreement grants the licence for both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSQaj3bYPQDZU4qf9U
2026-11-07 11:01:37 +00:00
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 6c7224eb64 Comment fixes; gfxtest: unused parameter, Erase/Reset error
- decodeBufAddr's binary case is 14-bit addressing, not 16-bit; eor is
  0xef, not 0xf1; dftExchange's comment names it; "If the user pressed".
- gfxtest: sf0F's unused out parameter dropped; a failed Erase/Reset
  (PF6) ends the session like any other write; the origin comment no
  longer offers T, which the settings never took; a stray comment gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 22:38:30 +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
Claude 6c4a4ee0bb GraphicColors and DitherBitmaps: images in the terminal's own palette
The terminal's graphics palette (its Graphic Color query reply, or the
8 base colors) and an image error-diffused to it, a bitmap a color for
ImagePictures with overpaint, move from gfxtest into the library for the
BBS's pictures; gfxtest uses them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-16 02:11:40 +00:00
Claude af082a95f9 gfxtest: test 4's text and cursor off the squares
A character over graphics clears them in its cell (PCOMM: "Hole in
Screen Caused by Clearing a Graphic Character"), and so does the
cursor: test 4's labels were on row 4, the row,col square's row, and the
cursor on the top left square.  The labels go to rows 6-9, the cursor
after Enter=back; the picture's caption no longer wraps onto row 2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-16 02:03:53 +00:00
Claude 8daa395699 Ask for the replies the Summary lists; ImagePictures crops and splits
NegotiateTelnet: IBM Personal Communications lists its graphics replies
(A8, B0-B6) in its Summary but sends them only for a Query List, so a
Query List now asks for whatever the Summary lists that did not come
(a client that does not answer is waited for 3 seconds).  The Graphic
Color reply, PCOMM's 16 colors, is there from the start.

ImagePictures: each bitmap cropped to its pels, a picture over 64K
split into segments of their own (named B001 on, from a first number
given), a bitmap into bands of rows if need be, the mix given.

gfxtest draws with it: size L fills the space below the picture's row,
the corner markers each have a segment of their own, and origin T (y
down, which cropping cannot follow) is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-15 22:06:05 +00:00
Claude 4c5deed79b gfxtest: images overpainted in the terminal's own palette
With mix O the image test diffuses the picture (Floyd-Steinberg) to the
colors in the terminal's Graphic Color query reply (B4) - IBM Personal
Communications has 16, orange, purple, the dark shades and grey among
them - a bitmap a color, black left as the background; without the reply,
the 8 base colors.  The preview draws in the same palette.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-15 21:58:26 +00:00
Claude c3cb342f1a Vector graphics by the Summary reply; gfxtest: overpainted images, Query List
IBM Personal Communications lists the Segment reply (B0) and the other
graphics replies in its Summary but does not send them for a Query, so
SupportsVectorGraphics said no to a terminal that draws them.  It now
takes B0 in the Summary too.

gfxtest: with mix O the image test sends a bitmap per colour, each pel in
one, overpainted (no exclusive or); test 9 sends a Query List for the
replies the Summary lists that did not come; the trace logs telnet
commands on their own rather than as the start of the next record.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-15 21:48:59 +00:00
Claude 0248a683b0 gfxtest: -preview writes each picture as a PNG; the image test says what it decoded
The image test's caption and the log give the file's decoded size,
format and length and the size drawn, and -preview DIR writes what the
terminal should show (the planes XOR'd, or overpainted) to compare with
what it does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-15 21:41:52 +00:00
Claude 64d1f6bd78 gfxtest: a TN3270 server for debugging vector graphics on an emulator
Shows the terminal's query replies, draws Object Picture test pictures
(test pattern, colour bars as XOR planes or bitmaps, corner markers, a
dithered image) with the origin, position, size, mix and order as
settings, sends structured fields typed in hex, and logs every record
both ways with the graphics orders and inbound replies decoded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-15 21:23:33 +00:00