- libdmodemctl: a command's response in pages (ATI11 on the Agere
modems, the MultiTech MT9234 among them) stops at "Press any key".
The session now sends a space at that prompt, for 8 pages at most,
and keeps the prompt out of the response. So the Call Stats page
gets the full report instead of a timeout. Text typed in the
terminal is left to the user. A test covers it.
- Linux: usbmodem.c finds an MT9234MU or MT9234ZBA-USB in sysfs. The
line settings show its ttyUSB with a "Use" button, or say that it
needs mts_mt9234mu.fw (or the ti_usb_3410_5052 driver). Its port
opens with RTS/CTS (the modem's &K3).
- docs/design.md: hardware modems on each system, the firmware file
and the country setting (AT%T19).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTNWiwCE3duMg28226
A "No account (anonymous)" switch in the line settings starts dmodemd
with SIP_LOGIN=anonymous: nothing registered, sip:user@host (or
user@host) dialled as it is from "Anonymous", for the Modem page's
data calls and the Phone page's voice calls; the account's fields are
hidden (Linux, macOS) or greyed (Windows) and kept. The number fields
say they take a SIP address too. Needs D-Modem with the anonymous user
agent (D-Modem/D-Modem#112).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
The Remote page's SSH runs libdmodemssh on a thread of its own: OpenSSH's
config, known_hosts, keys and agent are read; a new server's key is asked
about and remembered, a changed one refused; passwords and the server's
questions are asked in dialogs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
The library now reads WAV of 8 to 32-bit PCM, floats, A-law, mu-law,
IMA and Microsoft ADPCM, AIFF and AIFF-C, and Sun/NeXT .au, at any rate
and channel count (dmc_audio_decode; dmc_wav_decode stays as its old
name). Each app hands the rest to the system's decoders:
- Linux: libsndfile when built with it (MP3, FLAC, Ogg Vorbis, Opus)
- Windows: the ACM codecs (MP3 and compressed WAVs), Windows 95 and up
- macOS: AVAudioFile (MP3, AAC/M4A, FLAC, ALAC, CAF)
The decoders were checked against ffmpeg's for each format, and fuzzed
under ASan and UBSan; the Windows path was run under Wine.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvbHMpudRfQWK4c4H
libdmodemctl now drives dmodemd's V.253 voice mode: placing and
answering voice calls, the DLE stream and its events, G.711 mu-law,
DTMF, and an answering machine (greeting, beep, recording) that takes
messages as WAV files. It is off until the user turns it on.
Each app gains a Phone page: Linux (PulseAudio), Windows (waveOut and
waveIn, Windows 95 and later) and macOS (AVAudioEngine).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvbHMpudRfQWK4c4H
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
- windows/: the Windows app in plain Win32 C++ (ANSI APIs, Win95
common controls, Winsock 1.1), so that it runs on Windows 95 and
later: Modem, Terminal, Settings, Call Stats and Log pages over
libdmodemctl. dmodemd is started where Windows can run it; on 9x
the app reaches a modem over TCP or a COM port. build-watcom.sh
builds it with Open Watcom; CMake builds it with MinGW or MSVC.
- macos/: the SwiftUI app (XcodeGen project), with the terminal drawn
from libdmodemctl's screen, the SIP password in the keychain.
- The app icon (assets/dmodem.svg, from the brand's jack art) as .ico
and an asset catalogue, by tools/icons.js and tools/icons.py.
- libdmodemctl: anonymous enums (Swift imports them as constants),
Backspace as BS (the modem's S5), key table without designated
initialisers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVTPinTtLUajudobBC
Starts dmodemd as the user and opens its pty, or opens a modem that
already runs. Five pages: Modem (state, dial, answer, hang up, start
and stop, the device for other programs), Terminal (a VTE on the modem,
with the full-screen and command-line setup), Settings (a row for each
of the modem's settings from AT!M, applied at once; the init string),
Call Stats (AT#UD as rows, and ATI11) and Log (dmodemd's output).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVTPinTtLUajudobBC