Commit Graph
311 Commits
Author SHA1 Message Date
Claude 3d2c8f4986 Document printText and its page callback
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRekyRUhR43KbmGNXK
2026-11-20 23:27:22 +00:00
Claude 04f59e74fa Add Send break, Print screen and a connect timer to the terminal
Telnet sends IAC BRK (TerminalLink.sendBreak). The screen prints through
the Android print dialog. The bar of a Telnet, SSH or rlogin session shows
how long the connection is open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRekyRUhR43KbmGNXK
2026-11-20 23:08:52 +00:00
Claude e087235b05 Add the ASCII Setup receive items to the terminal
An LF after each CR, 7-bit ASCII and no wrap, in the shared emulator
(TerminalEmulator.addLineFeeds, sevenBit, wrapLines) with a test, and in
the Android terminal settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRekyRUhR43KbmGNXK
2026-11-20 22:43:18 +00:00
Claude a2c364d2b8 Add YMODEM-G, Skip file, transfer timing and text delays
The HyperTerminal gaps of phase B, as in the GUI:
- YMODEM-G both ways. A G sender that is asked with C uses plain YMODEM.
- Skip file when receiving by ZMODEM (ZSKIP) or Kermit (X in the ACK).
- Elapsed time, remaining time and cps/bps on the progress (Android, iOS).
- Line and character delays for a text file sent (Android settings).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRekyRUhR43KbmGNXK
2026-11-20 22:36:30 +00:00
Neo 29e5687685 Merge pull request #59 from D-Modem/bot/d-modem-bump
Bump D-Modem to c06a380
2026-11-20 07:54:26 -08:00
github-actions[bot] 5fc0f6b544 Bump D-Modem to c06a380
external/d-modem-re: bbeb874 -> c06a380 (D-Modem's main), and its AT command reference.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-20 15:31:31 +00:00
Neo 350700cb96 Merge pull request #51 from D-Modem/claude/project-thread-0xgx4j
Settings: the connection path at the top, as PCOMM draws its link
2026-11-20 03:04:29 -08:00
Claude b0beb6bd7a Merge remote-tracking branch 'origin/main' into claude/project-thread-0xgx4j
# Conflicts:
#	docs/features.md
2026-11-20 10:37:43 +00:00
Neo 5f3d4dae8b Merge pull request #58 from D-Modem/bot/d-modem-bump
Bump D-Modem to bbeb874
2026-11-19 08:01:13 -08:00
github-actions[bot] 909b576357 Bump D-Modem to bbeb874
external/d-modem-re: 94c55e0 -> bbeb874 (D-Modem's main), and its AT command reference.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-19 15:48:59 +00:00
Neo b9e1692118 Merge pull request #57 from D-Modem/bot/d-modem-bump
Bump D-Modem to 94c55e0
2026-11-18 07:59:06 -08:00
github-actions[bot] 17694ad24b Bump D-Modem to 94c55e0
external/d-modem-re: 902fba1 -> 94c55e0 (D-Modem's main), and its AT command reference.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-18 15:43:38 +00:00
Neo 70e645b0b5 Merge pull request #56 from D-Modem/claude/project-thread-2y4er4
Support the MultiTech MT9234MU USB modem (TUSB3410 driver, firmware import)
2026-11-17 03:13:22 -08:00
Claude c02c27c1a5 Ship MultiTech's mts_mt9234mu.fw in the app
The MT9234MU now works with no import step. The app has MultiTech's
firmware file in assets/firmware, with a README that gives its source
(linux-firmware before June 2026) and that its licence is unknown, and
that the AGPL and commercial licences do not apply to it.

TiFirmwareStore uses an imported file first, else the built-in one.
Settings, Line says which one ("built in" / "imported") and has "Use the
built-in file" to remove an import. docs/adapters.md and a unit test
(the asset is the known file and a valid image) follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTNWiwCE3duMg28226
2026-11-16 21:14:44 +00:00
Claude e15e16193a Support the MultiTech MT9234MU USB modem (TUSB3410 driver)
The MT9234MU (06E0:F114) and MT9234ZBA-USB (06E0:F115, 06E0:0319)
have a TI TUSB3410 USB UART between USB and the modem. The chip has
no firmware of its own, so the modem shows only its boot ROM until
the host downloads the firmware.

- TiSerialDriver: our own usb-serial-for-android driver for the
  TUSB3410 (configuration 2, SET_CONFIG, OPEN/START/PURGE, the MCR
  and LCR in XDATA, the lines from GET_PORT_STATUS).
- TiFirmwareLoader: the firmware (header fixed, 64-octet packets) to
  the boot ROM, a usbfs reset (new JNI call), and a wait for the
  modem to come back. SerialAdapters.open does this before it opens
  the port, so the line, the local Linux and the USB bridge all get it.
- TiFirmwareStore and a Settings button: the user imports
  mts_mt9234mu.fw. The app does not ship it: its licence is unknown
  and linux-firmware removed it in 2026.
- The device filter, the probe table, unit tests and docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTNWiwCE3duMg28226
2026-11-16 19:52:15 +00:00
Neo 8450fe0399 Merge pull request #55 from D-Modem/bot/d-modem-bump
Bump D-Modem to 902fba1
2026-11-16 08:18:05 -08:00
github-actions[bot] ffeacfad49 Bump D-Modem to 902fba1
external/d-modem-re: 1d7b572 -> 902fba1 (D-Modem's main), and its AT command reference.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-16 15:53:10 +00:00
Neo e48d2482dd Merge pull request #53 from D-Modem/claude/project-thread-fur9m9
docs: rewrite the documentation in Simplified Technical English
2026-11-15 21:44:17 -08:00
Neo 3f8952328a Merge pull request #52 from D-Modem/bot/d-modem-bump
Bump D-Modem to 1d7b572
2026-11-15 06:13:49 -08:00
github-actions[bot] 332de7f6df Bump D-Modem to 1d7b572
external/d-modem-re: 9a8cb09 -> 1d7b572 (D-Modem's main), and its AT command reference.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-15 13:59:06 +00:00
Claude 6f3933e6e0 Merge origin/main into the STE docs rewrite
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 21:16:09 +00:00
Neo 2166541907 Merge pull request #54 from D-Modem/claude/project-thread-gxvnan
Bump D-Modem to 9a8cb09: SIP over TCP, RFC 3263 lookups
2026-11-14 07:31:22 -08:00
Claude ecc66ead2b USB engine: D-Modem's usb_cadmus2.cpp built in (usb_line.cpp calls it now)
D-Modem's main has its Cadmus2 soft modem in usb_cadmus2.cpp, which
usb_line.cpp now calls: the Android engine and native-test's USB
engines build it, its transfers counted as the others' are.  native-test
builds, and its 14 tests pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-14 15:11:36 +00:00
Claude 1854566747 Bump D-Modem to 9a8cb09: SIP over TCP too, and RFC 3263 lookups tested
external/d-modem-re: da07c8d -> 9a8cb09 (D-Modem's main, with
D-Modem/D-Modem#114: a host's name found by NAPTR, then SRV over TCP
or UDP, then A/AAAA), and its AT command reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-14 15:07:28 +00:00
Claude ebb5267a31 docs: keep the shared suite table the same as in the other repositories
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:30:12 +00:00
Claude bbce5ca974 docs: rewrite features, settings intro and fonts notes 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:28:04 +00:00
Claude 3acca27cc6 docs: rewrite terminals 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:26:45 +00:00
Claude ab1c0a9ae7 docs: rewrite ios and building 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:26:06 +00:00
Claude 60051753b1 docs: rewrite voice and adapters 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:25:36 +00:00
Claude 582a8221bf docs: rewrite README, lines, fax and layout 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:24:53 +00:00
Claude badbe04956 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:23:59 +00:00
Claude fe090f12ab ConnectionPath: each function and test documented (tools/doc_check.py)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvKupDGEromPgYtjG
2026-11-13 14:34:07 +00:00
Claude c67157fe4e Settings: the connection path at the top, as PCOMM draws its link
Settings now opens with how a call is made: the terminal (and what else
shares the modem: dial-up internet, dial-in, the bridges), the modem,
the line and what it reaches; for a modem of its own, the USB serial
adapter or Bluetooth it's reached by, the modem and its line. Each
step's role is above its icon and what it is below, one line joining
them. Idle it shows the settings as they are (a step still to set in
red, its line dashed, and a line saying what); starting, dialling and
online it lights as the call goes. On Android a step opens its page.

The shared Kotlin's ConnectionPath has the steps and their words,
tested, for Android (Compose) and iOS (SwiftUI) alike.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvKupDGEromPgYtjG
2026-11-13 14:31:31 +00:00
Neo c14c012c7a Merge pull request #50 from D-Modem/claude/project-thread-gxvnan
Anonymous SIP: dial a SIP address with no account (Android, iOS)
2026-11-12 12:16:22 -08:00
Claude a8192515ce Tests: the SIP line's new menu label; anonymous SIP's settings and SIP addresses
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-12 19:45:26 +00:00
Claude fda087f72c Bump D-Modem to da07c8d: its anonymous user agent and SIP URIs dialled as they are
external/d-modem-re: ba5ba93 -> da07c8d (D-Modem's main, with
D-Modem/D-Modem#112), and its AT command reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-12 19:33:07 +00:00
Claude 66b3ad4421 docs/settings.md: the anonymous SIP setting (tools/settings_ref.py)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-12 19:26:54 +00:00
Claude c737261367 Anonymous SIP: dial a SIP address with no account (Android, iOS)
The SIP line's "No account: anonymous SIP" switch runs D-Modem's SIP
with no account (an empty user and domain: dmodemd's anonymous user
agent): nothing registered, sip:user@host (or user@host) dialled as it
is from "Anonymous".  The phone's "Call a SIP address" places a voice
call to one (with an account too); a directory entry's number, and ATD
in the terminal, take one for data calls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-12 19:25:44 +00:00
Neo 41c75a5876 Merge pull request #49 from D-Modem/claude/project-thread-eywog3
SSH engine: PuTTY's .ppk keys and agents; iOS logs in with a private key
2026-11-12 10:35:01 -08:00
Claude 1f2aad5720 iOS: SSH logins by a private key, PuTTY's .ppk imported
The Remote screen keeps one key in the app: chosen from Files
(OpenSSH's, PEM, or PuTTY's .ppk turned into OpenSSH's form with the
same passphrase) or made here (Ed25519), its public key to copy, its
passphrase asked when connecting. SSHShell gains the engine's key
helpers (keyEncrypted, publicKey, exportKey, newKey), tested on Linux,
with a .ppk login against CI's sshd.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 18:11:43 +00:00
Claude e0e1888d17 SSH engine: agent.c's functions documented 2026-11-12 15:48:26 +00:00
Claude d9f3f8a731 SSH engine: PuTTY's .ppk keys read natively, an agent chosen (Pageant and OpenSSH's on Windows), as in D-Modem/gui 2026-11-12 15:46:58 +00:00
Neo 48bf218a07 Merge pull request #48 from D-Modem/claude/project-thread-eywog3
SSH on libssh for iOS and Android (sshj and SwiftNIO SSH gone)
2026-11-12 06:30:46 -08:00
Claude 88b31d5913 iOS: the SSH XCFramework's module map apart from the engine's, universal per slice
Both XCFrameworks' headers land in the app's one include/, so
CDModemSSH's module.modulemap goes in include/CDModemSSH/; each
slice's archive is lipo'd from one archive per arch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 14:07:21 +00:00
Claude e567071ad9 Android: SSH on libdmodemssh through JNI, sshj gone
The SSH client is the same as iOS's and the GUI's now: native-ssh, on
libssh, loaded as libdmodem_ssh_jni.so (NativeSsh.kt). SshLink polls
it on its own thread; its channels carry the shell, commands, the
port forwards (-L, -R, -D) and the forwarded agent's requests. Keys
stay the app's: SSH's wire form (SshWire.kt), OpenSSH's and PEM keys
read through the engine, PuTTY's .ppk read here, all on BouncyCastle.

The engine: commands can forward the agent, a write tells what's still
kept for the server (forwards hold back a fast sender), libssh built
WITH_SERVER (its callbacks for the agent's channels need it), and its
remote listen on port 0 patched to take the port from its own reply.

The unit tests build the JNI library for the host (buildHostSsh) and
run against it: OpenSSH's sshd, puttygen and Apache MINA's server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 13:46:38 +00:00
Claude 55bd6015da iOS: SSH on libdmodemssh, the apps' own client on libssh
native-ssh is the desktop apps' SSH engine (D-Modem/gui's ssh/), built
here from libssh's and mbedTLS's release tarballs for the host, Android
and Apple's systems.  ios/build-native.sh makes it
DModemSSHNative.xcframework, each arch linked into one object whose only
globals are dmc_ssh_*, so its mbedTLS never meets the engine's.
DModemSSH's SSHShell keeps its API on it (SwiftNIO SSH goes), adding RSA,
keyboard-interactive and private keys; CI runs its tests and the
engine's against a real sshd.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 13:15:49 +00:00
Neo ef758ec96f Merge pull request #47 from D-Modem/claude/project-thread-eywog3
SSH, Telnet and rlogin: rlogin on Android, all three on iOS
2026-11-12 05:09:43 -08:00
Claude 58b6ab9368 Document the remote login functions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 12:44:38 +00:00
Claude f1eb22c591 SSH, Telnet and rlogin: rlogin on Android, all three on iOS
- shared: TelnetCodec and RloginCodec (sans-I/O), and LoginBridge for Swift
- Android: rlogin directory entries (RloginLink on the shared codec)
- iOS: a Remote screen from the Terminal tab; SSH on SwiftNIO SSH
  (ios/DModemSSH, tested against a real sshd), Telnet and rlogin on
  Network with the shared codecs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 12:41:55 +00:00
NeoandClaude 93febb3790 Draw the retro terminals in their machines' own fonts (#46)
The BBS and home computer terminal types now draw with their machines'
character ROM fonts, SyncTERM's copies of them from Synchronet's ciolib
(LGPL-2.0-or-later), instead of Unscii's lookalikes: the IBM VGA's code
page 437, RIPterm's 8x8, the C64's and C128's, the Atari 8-bit's, the
Amiga's Topaz, Prestel's and the Atari ST's.

- tools/gen_rom_fonts.py writes RomFonts.kt from allfonts.c; RomFont
  keeps a ROM in its machine's code order and doubles or halves it.
- MachineFonts reads each ROM in its machine's set, so a cell's code
  point gets the glyph its machine drew; what a ROM hasn't got comes
  from Unscii.
- ANSI-BBS takes SyncTERM's font selection (CSI 0 ; n SP D) for the
  fonts here, including the Amiga scene fonts.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 04:33:26 -08:00