- CMake builds libdmodem_embed on macOS too. cmake/MacosEmbed.cmake links a small program with it and keeps the link command (a linker launcher). From it, CMake writes build/macos-embed.xcconfig: the header path, all the static libraries and the Swift condition DMODEM_GUI_EMBED. - macos/project.yml includes that file. - Modem.swift starts the built-in modem for the SIP and USB lines, in a thread of the app. Its DTE socket goes to the same session code as the pty. LineSettingsView has a Built-in modem switch (on by default). - CI: the macOS job checks out the submodule, and checks that the app has the library. - Docs: macOS in docs/embedded-modem.md, building.md, design.md and the README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRTRNP9YEnRxydbrw9G
5.6 KiB
D-Modem desktop apps
Native apps for D-Modem on Windows, macOS and Linux.
The apps (not the Windows 95 build) have the modem built in, so they need no dmodemd (refer to The built-in modem). Each app shows the modem as a desktop program. You can dial and answer from a window, change the settings without AT commands, and see the results of the last call. All three apps are thin native shells over one small C library, libdmodemctl. Thus they operate in the same way.
- Modem: the state of the call, dial, answer and hang up, and the line that the modem uses
- Phone: voice calls through the sound card (dial, answer, keypad), and an answering machine that takes messages on this computer when you enable it (disabled by default)
- Terminal: the AT console, and the setup screens of the modem (AT!CF, AT!CT)
- Remote: log in to a server by SSH, Telnet or rlogin, in a separate terminal. SSH is built in, on libssh, and it uses the keys and the agent of OpenSSH and PuTTY
- Terminal types: the terminal emulator of the D-Modem app, ported to C: xterm, DEC VT52 to VT525, ANSI-BBS, PETSCII, ATASCII, Viewdata, Minitel and Tektronix 4014, with sixel, ReGIS and Tektronix graphics
- The Windows app: file transfers (ZMODEM, YMODEM, XMODEM and Kermit), copy and capture, and the ASCII Setup, Terminal Settings and Call menu of HyperTerminal. Refer to Features
- Settings: each modem setting as a native control, from AT!M
- Call Stats: the rate, modulation, error control and line figures of the last call (AT#UD, ATI11)
- Line settings: a SIP account, a USB modem, or a modem that already runs (dmodemd, or a hardware modem such as the MultiTech MT9234MU)
- Windows 95 and later: plain Win32, built with clang-retro. On Windows 9x, the app connects to a modem through TCP or a COM port
- The Windows app on Linux and macOS (first pass): the same Win32 code, built over the portable Win32 layer of clang-retro MFC. At this time, it connects to a modem through TCP only, and the Phone page cannot play or record sound. Refer to "The Windows app on Linux and macOS" in Design
| Windows | macOS | Linux | |
|---|---|---|---|
| Toolkit | Win32, C++ | SwiftUI | GTK 4, libadwaita |
| Runs on | Windows 95 and later | macOS 13 and later | GTK 4.10 and libadwaita 1.5 or later (Ubuntu 24.04, Fedora 40) |
Nightly builds
The nightly release
has the apps from the newest build of main. It has the Windows app (for
Windows 95 and later, and for Windows 7 and later), the Linux app, the
macOS app, and the Windows app for Linux and macOS. A workflow
(.github/workflows/nightly.yml) replaces the release one time each day.
When main has no new commits, the release does not change.
These builds are not stable releases. The files are not signed. Thus Windows and macOS can show a warning before the app starts.
Quick start
Linux:
sudo apt install cmake libgtk-4-dev libadwaita-1-dev libpulse-dev \
libsndfile1-dev
cmake -S . -B build && cmake --build build && ./build/linux/dmodem-gui
For Windows (with clang-retro), macOS, and the Windows app on Linux and macOS, refer to Building.
Documentation
- Features: each page and menu of the apps, with the details of the Windows app
- Building: Linux, Windows with clang-retro, macOS, and the Windows app on Linux and macOS
- The built-in modem: the modem inside the Linux and Windows apps, with no dmodemd
- Design: how the apps are built, what they share, hardware modems (the MultiTech MT9234MU), the Windows 9x notes, and the Windows app on Linux and macOS
- libdmodemctl: the API of the library
- Documentation style: the rules for ASD-STE100 Simplified Technical English
The D-Modem suite
| Repository | What it is |
|---|---|
| D-Modem | The open V.92 softmodem: dmodemd, libdmodem and the Asterisk, FreeSWITCH and ARI modules |
| app | The D-Modem app for Android and iOS: a dial-up modem on a SIP call |
| gui | D-Modem on the desktop: native apps for Windows, macOS and Linux |
| hardware | pico-serial: RP2040 serial adapters and phone-line USB sticks |
| login | dmodem-login: the login, menu and LDAP provider for dial-up callers |
| bbs | A bulletin board for telnet, SSH, TN3270 and modem callers |
| go3270 | A Go library for 3270 terminal servers, used by bbs |
| brand | Logos, colours, type and the naming guide |
Licence
AGPL-3.0-only (LICENSE), or a commercial licence from the D-Modem Authors (COMMERCIAL-LICENSE.md). Contributions come with a contributor agreement (CONTRIBUTING.md).



