Files
bbs/go.mod
T
Claude 2fa6e2c83f Pictures on 3270s: vector graphics in the terminal's colors, or blocks
An image board's pictures (a post's thumbnail, the image whole) are now
drawn on a 3270 instead of only said in words:

- vector graphics (PCOMM): bitmaps a pel a pixel, error-diffused to the
  terminal's own palette (PCOMM's 16 colors, from the Graphic Color
  reply go3270 now asks for), overpainted (PCOMM's exclusive or does not
  combine blue), cropped and split over segments by go3270's
  ImagePictures; drawn after the screen over cells left empty, since a
  character over a picture clears it in its cell
- blocks (x3270, any color 3270 with graphic escape): ▀ ▄ ▌ ▐ █ in the
  7 colors, a cell two pixels by two, each cell the color and block
  nearest its pixels, a run of a color one Set Attribute

and in words on the rest, as before, under the picture where there is
one.  Pictures on/off (M, PF11) on the profile, kept as the text
terminals' preference is; the profile's terminal line says how they are
drawn.  tn3270_vector is on by default now that PCOMM draws them.

go3270-sec: GraphicColors, DitherBitmaps, ImagePictures, the Query List.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-16 02:22:10 +00:00

52 lines
1.8 KiB
AMPL

module github.com/Neo-Desktop/bbs-sec
go 1.24.0
toolchain go1.24.7
require (
github.com/coder/websocket v1.8.13
github.com/dop251/goja v0.0.0-20260603125802-cfe4039cb6d7
github.com/ergochat/irc-go v0.7.0
github.com/fclairamb/ftpserverlib v0.30.0
github.com/go-sql-driver/mysql v1.8.1
github.com/jackc/pgx/v5 v5.7.2
github.com/jlaffaye/ftp v0.2.0
github.com/racingmars/go3270 v0.9.13
github.com/spf13/afero v1.15.0
golang.org/x/crypto v0.31.0
golang.org/x/image v0.23.0
golang.org/x/sys v0.40.0
golang.org/x/term v0.27.0
golang.org/x/text v0.28.0
google.golang.org/protobuf v1.36.6
modernc.org/sqlite v1.33.1
)
require (
filippo.io/edwards25519 v1.1.0 // indirect
github.com/dlclark/regexp2 v1.11.4 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
github.com/google/pprof v0.0.0-20240409012703-83162a5b38cd // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/ncruces/go-strftime v0.1.9 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
golang.org/x/sync v0.16.0 // indirect
modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 // indirect
modernc.org/libc v1.55.3 // indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/memory v1.8.0 // indirect
modernc.org/strutil v1.2.0 // indirect
modernc.org/token v1.1.0 // indirect
)
replace github.com/racingmars/go3270 => github.com/Neo-Desktop/go3270-sec v0.9.14-0.20261016021140-6c4a4ee0bbe9