mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
go3270 is replaced by the Neo-Desktop/go3270-sec fork, which keeps the terminal's query replies and builds Load PS and Object Picture structured fields. With it the 3270 BBS uses what the terminal has: - graphic escape (nearly every 3270): a box around the main menu, rules, bar charts of messages by area; ASCII where there is none - programmed symbols (PCOMM, HostExplorer): the logo on the logon screen, the system's name in a pixel font or a PNG (tn3270_logo), cut into character cells, deduplicated and loaded into the first loadable symbol set, format 1 (9x16) or 3 as the terminal says - vector graphics (PCOMM's native host graphics): the logo as a bitmap image instead, with tn3270_vector = yes; experimental Option 7, "Your terminal", shows what the terminal reported, every query reply in hex included, and the log has a line of it for each 3270, for setting emulators up. A panic while serving a caller now costs that call only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
26 lines
562 B
Makefile
26 lines
562 B
Makefile
PREFIX ?= /usr/local
|
|
GO ?= go
|
|
# go3270 is replaced by the Neo-Desktop/go3270-sec fork (go.mod): fetch it
|
|
# from GitHub directly, not through the public proxy and checksum database
|
|
export GOPRIVATE ?= github.com/Neo-Desktop/*
|
|
|
|
all: bbs
|
|
|
|
bbs:
|
|
$(GO) build -o bbs ./cmd/bbs
|
|
|
|
test:
|
|
$(GO) vet ./...
|
|
$(GO) test -race ./...
|
|
|
|
install: bbs
|
|
install -D -m 0755 bbs $(DESTDIR)$(PREFIX)/bin/bbs
|
|
@if [ ! -e $(DESTDIR)/etc/bbs/bbs.conf ]; then \
|
|
install -D -m 0640 bbs.conf.sample $(DESTDIR)/etc/bbs/bbs.conf; \
|
|
fi
|
|
|
|
clean:
|
|
rm -f bbs
|
|
|
|
.PHONY: all bbs test install clean
|