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
- 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
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
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
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
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
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
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
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
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