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