Commit Graph
32 Commits
Author SHA1 Message Date
Claude c9456be42a Linux: SSH by libdmodemssh, not the system's ssh
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
2026-11-12 13:02:13 +00:00
Claude a771d03af4 Add libdmodemssh: an SSH client on libssh for every app
One engine in C on libssh 0.11 (with mbedTLS, both built from their
release tarballs where the system has no libssh 0.11): host keys for
the caller to trust (and OpenSSH's known_hosts when asked), logins by
password, keyboard-interactive, a key, the agent or OpenSSH's defaults,
a shell on a pty, commands, direct channels, remote listens and the
server's agent channels; keys made, read and re-encrypted.  Its tests
log in to a real sshd when DMODEM_SSH_TEST names one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 12:58:43 +00:00
Neo bbfc82b0e2 Merge pull request #8 from D-Modem/claude/project-thread-eywog3
Remote page: log in to a server by SSH, Telnet or rlogin
2026-11-12 04:42:23 -08:00
Claude 8b2ba3e58c Remote page on macOS: SSH by /usr/bin/ssh on a pty, Telnet and rlogin on a socket; the docs
The terminal view now takes any TerminalHost (the modem, or a remote
login), so both pages draw with the same view.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 12:28:13 +00:00
Claude 2d974d5f1d Remote page on Windows: Telnet and rlogin over Winsock 1.1, SSH by Windows' ssh.exe in ConPTY
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 12:26:14 +00:00
Claude f1451eeaaa Remote page on Linux: SSH, Telnet and rlogin; the protocols in libdmodemctl (dmc_net)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 12:21:00 +00:00
Neo 24c05d658b Merge pull request #7 from D-Modem/claude/project-thread-nu12ep
Read greetings from more sound files than WAV
2026-11-11 09:30:08 -08:00
Claude ae974b3851 Read greetings from more sound files than WAV
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
2026-11-11 14:24:21 +00:00
Neo 70650f2ab8 Merge pull request #6 from D-Modem/claude/project-thread-nu12ep
Add voice calls and a local answering machine
2026-11-11 06:13:14 -08:00
Claude b9e34ceca1 Watcom build: the library's objects named apart from the app's
core/src/voice.c and windows/src/voice.cpp both made voice.obj, the
second overwriting the first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvbHMpudRfQWK4c4H
2026-11-11 12:35:44 +00:00
Claude 9b2206e29a Add voice calls and a local answering machine
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
2026-11-11 12:15:46 +00:00
Neo 8fae0f797a Merge pull request #5 from D-Modem/claude/project-thread-xqjct0
Relicense to AGPL-3.0-only + commercial; contributor agreement
2026-11-08 17:03:02 -08:00
Claude 3be1b49e86 Contributor agreement check: Claude's commits on this repository's branches are exempt
As bbs: commits by Claude (noreply@anthropic.com) on a branch of the
repository itself are not checked; on a fork's pull request they still are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSQaj3bYPQDZU4qf9U
2026-11-08 11:42:24 +00:00
Claude decaf7c425 Contributor agreement: copyright assigned to D-Modem
Contributors now assign the copyright in their contributions to D-Modem
(the D-Modem organization, its rights held by its owner on its behalf),
with a licence back to them, and an exclusive licence where an
assignment doesn't take effect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSQaj3bYPQDZU4qf9U
2026-11-07 11:10:48 +00:00
Claude f7a9b12c0e Licence: AGPL-3.0-only, or a commercial licence from the D-Modem Authors
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
2026-11-07 11:01:39 +00:00
Claude eb6ecf573d Contributor agreement: CONTRIBUTING.md and a sign-off check on pull requests
Each contribution comes with the suite's contributor agreement (the one
bbs, menu and brand already use): the contributor keeps the copyright
and licenses it to the D-Modem Authors under the repository's licence
and any other terms, commercial ones included.  Each commit's
Signed-off-by line says they agree.  The new workflow checks for that
line on every commit of a pull request, except pull requests from the
owner, the organization's members and bots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSQaj3bYPQDZU4qf9U
2026-11-07 10:58:30 +00:00
Neo 18918151c4 Merge pull request #3 from D-Modem/claude/project-thread-u09q93
Native apps for Windows, macOS and Linux
2026-11-06 09:31:18 -08:00
Claude b43ed62c50 macOS: the keychain item without a protocol (Security has no SIP constant)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVTPinTtLUajudobBC
2026-11-06 17:29:45 +00:00
Claude 08fb43aea1 Watcom: blank()'s cell assigned, not initialised; build every file before stopping
Open Watcom's C takes only constants in an aggregate's initialiser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVTPinTtLUajudobBC
2026-11-06 17:24:43 +00:00
Claude db26d85be0 Merge main: the deep scarlet banner
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVTPinTtLUajudobBC
2026-11-06 17:23:35 +00:00
Claude d61696ba18 README: which dmodemd the Settings page needs, and the Linux versions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVTPinTtLUajudobBC
2026-11-06 17:22:52 +00:00
NeoandClaude 82fd1227d9 Banner: deep scarlet #c8102e (#4)
Claude-Session: https://claude.ai/code/session_01B82eRR7XmhWoFbzJFFFqde

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-06 06:02:18 -08:00
Claude 11a023bf0b README and the design notes, with the brand's banner
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVTPinTtLUajudobBC
2026-11-06 13:57:33 +00:00
Claude feb8e66d11 CI for the three apps; a configurator's end found after a long screen
- .github/workflows/build.yml: Linux (with the tests, and again with
  ASan and UBSan), Windows 95 and later with Open Watcom, Windows with
  MSVC, and macOS with XcodeGen and xcodebuild.
- libdmodemctl: a line over 4 KiB keeps its end, not its start.  AT!CF
  sends its screens with no line ends and its OK after the last one, so
  the OK was lost and the app stayed in the configurator after Alt-X.
- Windows: the pages without WS_CLIPCHILDREN, so that the page paints
  inside its group boxes.
- Screenshots of the Windows app, run under Wine against dmodemd.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVTPinTtLUajudobBC
2026-11-06 13:56:38 +00:00
Claude f62777b994 Windows and macOS apps, the app icon, and terminal fixes
- 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
2026-11-06 13:53:21 +00:00
Claude bbcc1548c1 Linux app: GTK 4, libadwaita and VTE over libdmodemctl
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
2026-11-06 13:39:50 +00:00
Claude 8b350409e2 libdmodemctl: the core the desktop apps share
A plain C library with no I/O of its own, so the Windows, macOS and
Linux apps can each be only views: the AT session (commands, their
responses, the call's state from the result codes, hanging up through
the escape), the settings model from AT!M, the call statistics from
AT#UD, a small ANSI terminal screen for the configurator, and reading
dmodemd's start-up lines.  Tested against dmodemd's own output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVTPinTtLUajudobBC
2026-11-06 13:31:30 +00:00
Neo 6ff983e2d6 Merge pull request #2 from D-Modem/claude/project-thread-6n8z9z
Banner: Scarlet a little more purple
2026-11-06 05:28:28 -08:00
Claude 5efc5539c0 Banner: Scarlet a little more purple
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR7XmhWoFbzJFFFqde
2026-11-06 13:26:53 +00:00
Neo 253049f860 Merge pull request #1 from D-Modem/claude/project-thread-6n8z9z
README: add the header banner
2026-11-06 05:25:27 -08:00
Claude 5ca1071891 README: add the header banner
The 1280x320 banner from D-Modem/brand (banner/gui@2x.png), kept at
.github/banner.png.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR7XmhWoFbzJFFFqde
2026-11-06 13:23:12 +00:00
Neo bd349659f2 Initial commit 2026-11-06 05:14:47 -08:00