91 Commits
Author SHA1 Message Date
Neo 2028b0fa04 Merge pull request #11 from D-Modem/claude/project-thread-rds7ij
README: go3270 is a support library, not a core repository
2026-11-27 22:41:34 -08:00
Neo-DesktopandClaude Opus 5.5 894ae4c0c7 README: go3270 is a support library, not a core repository
Remove the suite table and the banner. The suite table and the Rainbow
Book banners are for the core repositories only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRh4dhs1LGg2Sj8h67
Signed-off-by: Neo-Desktop <321592+Neo-Desktop@users.noreply.github.com>
2026-11-28 06:37:41 +00:00
NeoandClaude Opus 5.5 18139fb23b ci: auto-assign Neo-Desktop on new issues (#10)
Claude-Session: https://claude.ai/code/session_01B82eRREcvJwy7FPyndjKhK

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 18:24:18 -08:00
Neo 0161372696 Merge pull request #9 from D-Modem/claude/project-thread-bemanq
docs: add gui to the suite table
2026-11-23 06:42:01 -08:00
Claude 7ec6d673d1 docs: add gui to the suite table
The suite table in the README now has the same eight repositories in
each repository of the suite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSvurgAXJHmd8Fs4ud
2026-11-23 13:48:06 +00:00
Neo 2247b6207f Merge pull request #8 from D-Modem/claude/project-thread-62wuhs
README: the menu repository is now D-Modem/login
2026-11-23 01:30:58 -08:00
Claude d36d924bd9 Docs: modemmenu is now dmodem-login, in D-Modem/login
The menu repository is renamed D-Modem/login, and its program modemmenu
is now dmodem-login (with an LDAP provider).  The links, names and
sample paths follow (/usr/local/bin/dmodem-login,
/etc/asterisk/dmodem-login.conf, /run/dmodem-login/dmodem-login.sock).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTD8BSptdpaUWGcs65
2026-11-23 05:05:33 +00:00
Neo d601517021 Merge pull request #7 from D-Modem/claude/project-thread-fur9m9
docs: rewrite the documentation in Simplified Technical English
2026-11-15 21:44:29 -08:00
Claude 513d9f73d5 docs: rewrite README, usage, code pages, graphics, references and API intro in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:33:27 +00:00
Claude 5f155c9c37 docs: add the STE style guide and require it in CONTRIBUTING.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:31:55 +00:00
Neo b0dbe2db73 Merge pull request #6 from D-Modem/claude/project-thread-xqjct0
Relicense to AGPL-3.0-only + commercial; contributor agreement
2026-11-08 17:02:48 -08:00
Claude ccc15eaba8 Contributor agreement check: Claude's commits on this repository's branches are exempt
As bbs: commits by Claude (noreply@anthropic.com) on a branch of the
repository itself are not checked; on a fork's pull request they still are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSQaj3bYPQDZU4qf9U
2026-11-08 11:42:23 +00:00
Claude b5ea16ea62 Contributor agreement: copyright assigned to D-Modem
Contributors now assign the copyright in their contributions to D-Modem
(the D-Modem organization, its rights held by its owner on its behalf),
with a licence back to them, and an exclusive licence where an
assignment doesn't take effect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSQaj3bYPQDZU4qf9U
2026-11-07 11:10:46 +00:00
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 1546680b96 Contributor agreement: CONTRIBUTING.md and a sign-off check on pull requests
Each contribution comes with the suite's contributor agreement (the one
bbs, menu and brand already use): the contributor keeps the copyright
and licenses it to the D-Modem Authors under the repository's licence
and any other terms, commercial ones included.  Each commit's
Signed-off-by line says they agree.  The new workflow checks for that
line on every commit of a pull request, except pull requests from the
owner, the organization's members and bots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSQaj3bYPQDZU4qf9U
2026-11-07 10:58:30 +00:00
Neo bb32a1775d Merge pull request #5 from D-Modem/claude/project-thread-ph36mk
CI: build, vet and test on every pull request
2026-11-06 05:36:02 -08:00
Claude adc1ed815a CI: build, vet and test on every pull request
GitHub Actions: gofmt, go.mod tidy, the build, go vet and the tests
with the race detector.
Also builds and tests bbs main against this checkout, since bbs depends on it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSWLF3SGGZGo96cae8
2026-11-06 13:31:54 +00:00
NeoandClaude e9fcad29db README: link the website (#4)
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-05 18:23:02 -08:00
NeoandClaude 05e8885037 Add the site, with an API reference made from the doc comments (#3)
tools/apiref (its own module, so go.mod stays at Go 1.18) writes
docs/api.md with go/doc, as go doc and pkg.go.dev read the package.
The Pages workflow builds docs/ and the README with brand's shared
theme, and fails if docs/api.md is out of date.


Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-05 17:52:09 -08:00
Neo 1b80110d0c Merge pull request #2 from D-Modem/claude/project-thread-6n8z9z
README: add the header banner
2026-11-05 17:36:25 -08:00
Claude 7d1f2c56b8 README: add the header banner
The 1280x320 banner from D-Modem/brand (banner/go3270@2x.png), kept at
.github/banner.png.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR7XmhWoFbzJFFFqde
2026-11-06 01:32:17 +00:00
Neo a6550eb72c Merge pull request #1 from D-Modem/claude/project-thread-cwmrpa
Module path github.com/D-Modem/go3270; landing-page README
2026-11-05 02:49:44 -08: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 ff000f5c7f IND$FILE member names, device size fallback, generate errors
- ParseIndFile keeps a "(" within a name, so 'USER.DATA(MEM)' and
  USER.DATA(MEM) keep their member, and RECFM(V)-style options stay
  whole; a CMS "(" (alone, at a word's start, or "fm(ASCII") still
  begins the options.
- makeDeviceInfo: a client that does not answer the Query gets its
  model's size (43x80 for a -4), not always 24x80; IBM-DYNAMIC with
  replies but no Usable Area is 24x80, not 0x0.
- ReadRecord returns a read error inside a subnegotiation rather than
  reading on.
- codepage/generate's read returns its errors, naming the line, instead
  of panicking.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 22:34:31 +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 5b6692d87d Load PS into a triple-plane set's color planes
LoadPS.Plane (PlaneBlue, PlaneRed, PlaneGreen) loads the symbols into
one plane of a triple-plane symbol set: the extended form through byte
12, the color plane (GA23-0059 5.13.2), format 1's cell given as 9x16.
A cell whose color attribute is neutral shows its planes' colors added,
blue and red making pink: 8 colors a pel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 03:51:24 +00:00
Claude aeb7581efa Set Attribute for the character set: AttributeOnly with CharSet
An AttributeOnly field's CharSet is sent as a Set Attribute (type 0x43)
for the characters after it, and DefaultCharSet sets it back: programmed
symbols from more than one set, and in their own colors, within a field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-16 02:41:02 +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
Claude 750b72ee6b IND$FILE file transfer (DFT), the host's side
ParseIndFile reads the "IND$FILE GET|PUT name [(] options" an emulator
types (TSO and VM/CMS forms).  SendFileDFT (GET) and ReceiveFileDFT
(PUT) run the transfer with Data Transfer structured fields: open,
insert or set cursor and get, close, with the request layouts of a real
TSO IND$FILE (x3270's s3270/Test/ft_dft.trc); DFTMessage ends it with
IND$FILE's message.  DFTBufferSize reads the terminal's DFT buffer from
its DDM query reply (0 when it has no DFT).  ReadRecord reads one
inbound record, which the screen functions cannot (the AID is 0x88).

Tested with s3270 through bbs-sec: binary and ASCII CRLF files both
ways, and a GET of a file that is not there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-10 18:08:04 +00:00
Claude e50b7be809 Keep the query replies; programmed symbols and vector images
NegotiateTelnet keeps every query reply the client sends, and DevInfo
gives them out: QueryReply, QueryCodes, CellSize (from Usable Area),
SymbolSets (the Character Sets reply: GE, Load PS support, formats,
slot size, the sets and their RWS and LCID) and SupportsVectorGraphics
(the Segment reply).

LoadPS builds the Load Programmed Symbols structured field (formats 1
and 3, basic or extended) from Symbol bitmaps; WriteStructuredFields
sends structured fields; Field.CharSet (SFE type 0x43) and Field.Raw
show the symbols.  ImagePicture builds an Object Picture structured
field drawing bitmaps with native vector graphics (experimental).

Fixes: a query reply shorter than 4 bytes made NegotiateTelnet panic
(slice of negative length, index out of range), which any client could
send; the replies a client may send are limited to 16 KB; encoded field
text is telnet-escaped, so a character a code page maps to 0xFF cannot
end the record or start a telnet command.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-10 17:20:04 +00:00
Matthew R. Wilson 3b374a1955 Add PositionOnly field attribute v0.9.13 2026-01-02 14:45:25 -08:00
Matthew R. Wilson bdc1d714d2 Add DevInfo.SupportsGE() function v0.9.12 2025-12-15 15:36:18 -08:00
Matthew R. Wilson 6c0b3b038a Add AttributeOnly fields to generate SA (Set Attribute) orders v0.9.11 2025-12-11 17:29:59 -08:00
Matthew R. Wilson 83e1a68bb0 Hack to fix VM telnet client shortcomings v0.9.10 2025-12-01 14:13:23 -08:00
Matthew R. Wilson 595fd63676 Fix example1 to persist codepage display value 2025-12-01 14:12:36 -08:00
Matthew R. Wilson 2c10f7f34d Add more code pages 2025-11-27 03:15:59 -08:00
Matthew R. Wilson ab58ba7a87 Handle out-of-order charset descriptors
The ZOC emulator returns the primary character set descriptor after the
alternate descriptor. Need to pick the right one based on searching for ID 0.
2025-11-27 00:27:40 -08:00
Matthew R. Wilson 7b7d375e91 Per-client codepage detection and handling v0.9.9 2025-11-25 16:31:09 -08:00
Matthew R. Wilson 1859568369 Add additional EBCDIC code pages v0.9.8 2025-11-15 01:40:56 -08:00
Matthew R. Wilson 2f96d51ac3 Groundwork for multi codepage support 2025-11-14 23:54:11 -08:00
Matthew R. Wilson c0ad185cd7 Fix bug in dynamic terminal size query v0.9.7 2025-11-10 20:41:22 -08:00
Matthew R. Wilson 1eee614349 Add link to Moshix' Minesweeper example application 2025-11-10 12:54:12 -08:00
Matthew R. Wilson e6838c397c Add support for graphic escape character set v0.9.6 2025-11-06 12:51:19 -08:00