license.html carries the CNCL and the table of docs/LICENSES.md and is linked
from every page and the guide's template; shot-bar and shot-dtchat are used
by desktop.html and index.html (every href/src of www/*.html resolves). The
guide no longer announces a photo editor (dtphoto exists).
QEMU/KVM: KVM/CPU host, 2-4 GiB, 32 GiB disk, BIOS and UEFI (OVMF with a
writable variable store), AHCI for UEFI because OVMF's IDE is slow, the
serial console (com0) and the device names the installer shows (ld0,
sd0, wd0). Proxmox VE: q35/OVMF or i440fx/SeaBIOS, VirtIO SCSI, the
qm create example, boot order, serial socket and the noVNC focus note.
The installation chapter points to it. Rebuilt 28 manual pages and the
73-page PDF with page numbers and the chapter outline; www/guide.html
updated. The print stylesheet wraps long commands instead of clipping
them.
The MCDE chapter gets the desktop, System Settings, file manager and
terminal figures; the Information Manager chapter gets its book list.
The system HTML embeds the PNGs as data URIs, the website form points to
www/img/, the manual pages keep the caption and the dtinfo book keeps
the caption (the CDE DTD could carry TIFFs, but the library stays text).
The PDF gets a page-number overlay (gs + qpdf) and a chapter outline
(mutool); mutool clean normalises the file so qpdf and readers see the
outline. docs/guide/check.sh checks outline and page numbers when the
tools are installed; tools/test-tools.sh copies www/img for the site
check and stays at 33 ok.
Appendix C now contains the full CNCL 1.0 text, exactly as it is in
LICENSE (line-wrapped for the page), and the preface has a long section
that explains what the licence says, what it does not cover (NetBSD's
BSD licence, CDE/MCDE's LGPL, pkgsrc packages, Hack, DocBook) and why
Makronix uses a licence this short.
The same pass corrects the MCDE help claim: the cross-built MCDE
package has no help pages (options.mk turns docs off), so the
Information Manager holds this guide and no program help books.
Rebuilt all five forms: 67-page PDF, HTML, 27 manual pages, the dtinfo
library and www/guide.html. check.sh green, test-tools 33 ok, 0 bad.
The source set is one tree since 2026-11-15 (tasksd t0071):
/usr/src/src, /usr/src/xsrc, /usr/src/pkgsrc, with the tools and the
documentation at the top. The chapters still sent the reader to /usr/msrc
and /usr/xsrc (building, tour, cross, help, updating, dtinfo and the
glossary's "msrc" entry); they now name /usr/src and its subdirectories.
Rebuilt with docs/guide/build.sh all, check and install: 27 manual pages,
61 PDF pages (build/logs/guide-2026-11-16.log). A grep for usr/msrc and
usr/xsrc over src/share/doc/makronix, src/share/man/man7 and www/guide.html
finds nothing.
The guide's web form is generated from the same DocBook source as the
manual pages, the PDF and the information library: pandoc's html4
writer, docs/guide/template-web.html and the site's style.css. It is
installed as www/guide.html, all pages link to it from the menubar, and
the home page names it.
HTML 4.01 Strict checked with xmllint; docs/guide/check.sh checks the
site copy and tools/test-tools.sh still passes (33 ok, 0 bad).
consmirror.c: the BSD notice is replaced (Makronix's own file). Files with
changes of other sessions pending are left for their commit.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
CDE's front panel stays as it is. Left of the trash it gets one part of
MCDE's (dtwm/WmMcdePanel.c): first the programs kept in the panel
(~/.dt/panel-apps), then the running programs no main panel control names.
A click brings a window forward on its workspace, or starts a kept
program; the right button offers Keep in Panel / Remove from Panel, and
dragging a running one to the left with the button held keeps it too.
The command to start a kept program comes from WM_COMMAND, else from the
process of _NET_WM_PID through the new mcde_sys_process_command (NetBSD:
sysctl kern.proc_args, Linux: /proc/PID/cmdline), else the class.
The buttons are CDE's panel controls (_DtCreateControl) with the class's
icon; a blank of the same width in the arrow row keeps every drawer's
arrow over its control; colour and pattern come from the panel row, so the
part follows the palette. Hooks: UI.c (MainControlCreate), WmManage.c
(manage, unmanage), PopupMenu.c (the menu button over the part).
Measured on Xvfb (build/mcde-shots/panel-*.png, theme-*.png): dtterm and
dtcalc appear left of the trash; Keep in Panel wrote "Dtterm dtterm",
the drag "Dtcalc 'dtcalc'"; with none running a click on the kept
dtcalc started it; in a dtsession with the Default and the Arizona palette
the part has the panel's colours and the bar, the panel and the windows
all change with the palette.
www: the front panel and the colours.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A fourth view button, Columns: one column per folder from Home (or /)
down to the window's folder, as many of the deepest as fit, and on the
right a preview of what is chosen -- the type's icon, its kind (TYPE_LABEL
as words, and the MIME type), size and date. A folder chosen opens the
next column and becomes the window's folder through dtfile's own
ChangeDirectoryToParent, so title, path bar, history and the other views
follow; Back, Forward and the places rebuild the columns; a double click
on a file runs the first action of its type.
The columns are a sibling of CDE's work frame with its attachments; they
are managed before the work frame is unmanaged, with the form around held
at XmRESIZE_NONE: otherwise the window shrank to the columns' own size.
Measured on Xvfb (build/mcde-shots/df-*.png): Columns, Documents,
Projects, plan.txt -- three columns, the preview with the text icon,
"Kind: Textfile (text/plain)", 6 bytes; Back rebuilt the columns at
Documents; Icons brought the work area back; the window kept its size.
Not measured: the double click.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
At login the session left or the home session, asking before logout, and
Save These Windows as Home Session: what dtstyle's Startup sets, sent the
same way (_DtSetSmState with SM_STATE_START and SM_STATE_CONFIRM; the
client message _DT_SM_SAVE_TO_HOME). And a list of programs to open at
login, one command a line in ~/.dt/login-items, which the new
Xsession.d/0095.loginitems starts five seconds into the session, each
through sh in the background, as 0090.dtbar starts the bar.
Measured in a dtsession on Xvfb (build/mcde-shots/startup-*.png):
_DT_SM_STATE_INFO went from start 4 (current), confirm 1 (verbose) to 3
(home), 2 (quiet); adding dtcalc wrote ~/.dt/login-items. 0095.loginitems
sourced by ksh returned at once and ran both entries of a test list (one
with blanks in its argument) after the pause, skipping the comment. Save
as Home Session is not measured.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
McdeSys implements mcde_sys_wifi_scan and mcde_sys_wifi_join. NetBSD
does what sysinst does (src/usr.sbin/sysinst/net.c): a network block in
/etc/wpa_supplicant.conf -- a new file gets the example's ctrl_interface
for the wheel group, so wpa_cli answers users -- and wpa_supplicant,
wpa_supplicant_flags and dhcpcd in rc.conf, each line replaced or added;
then both are restarted. Scanning asks wpa_cli scan_results, else
ifconfig -v IF list scan (root). Linux uses nmcli. The sources are in
docs/reference/wifi.txt.
The Network pane lists the networks of the first Wi-Fi card with signal
and lock, scanned once the pane is drawn. Join... opens a terminal where
su asks for the administrator's password and dtsystemsettings -join-wifi
IF SSID-HEX asks for the network's password without echo: the name goes
as hexadecimal, the password on no command line of MCDE's (nmcli takes it
on its own on Linux; said in linux.c).
Measured on the Linux host: test_sysinfo finds 5 networks on wlp0s20f3
(read only); the pane lists them on Xvfb; -join-wifi as a user refuses
with "Only the administrator can join" and refuses a bad name. Not
measured: joining (never on this host), NetBSD scanning and joining
(no Wi-Fi in the build VM).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Appearance shows CDE's palettes, each as a row of its colours (named
colours too: Black.dp, BlackWhite.dp), found where the colour server looks
(~/.dt/palettes, the configuration and the installation directory). A
choice merges "*0*ColorPalette: NAME.dp" with _DtAddToResource as dtstyle
does (ColorMain.c) and says it takes effect at the next login, with a Log
Out Now button: on TrueColor the colour server cannot change colours it has
allocated, which dtstyle says as well.
Fonts lists the families Xft knows and a size, with a preview in that
font, and merges *mcde.fontName/*mcde.fontSize, the render table every
MCDE program draws with (sys.resources). dtsession saves the whole
RESOURCE_MANAGER at logout (SmSave.c, OutputResource).
Measured on Xvfb (build/mcde-shots/input-appearance.png, input-fonts.png):
choosing Arizona put "*0*ColorPalette: Arizona.dp" into RESOURCE_MANAGER;
choosing DejaVu Sans Mono at 12 put "*mcde.fontName: DejaVu Sans Mono",
"*mcde.fontSize: 12" there, and the preview drew in it. The next login
with the new palette is not measured here.
www: System Settings and the bar brought up to date.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The paned window gave the closed pane's height back to the shell and the
window shrank. The neighbour above (else below) is held at both heights
until the paned window has laid it out, as a split holds the new pane
(SplitDone). Measured on Xvfb: build/mcde-shots/split-1.png, split-2.png.
www: split and drop-down are done, the search field of dtfile too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
desktop.html: the bar (the Makronix menu, the program's menus in the bar,
volume, Bluetooth, network, clock), the volume menu, dtsystemsettings with
its panes, terminal profiles; 'Being built' says what is still missing (the
battery was never there). Pictures from the Xvfb tests of today.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
programs/dtterm/Tabs.c: the window holds an XmTabStack, every tab a whole
DtTermView (its own process, menu, scroll bar); a tab whose shell exits
closes alone, the window with its last tab; the keyboard follows the tab
in front. DtTermMain.c: views go into the container, the window's menu
toggle and close callback belong to the first tab, NewTab for Ctrl+Shift+T,
ShellOf where the code took the view's parent for the shell (session
save, clone). TermParse.c: a title set by a program goes to its tab, and
to the window only from the tab in front.
Found on the way: XmTabStack has a child of its own (the bar of tabs);
counting it as a tab crashed Ctrl+Shift+Left and kept the first tab from
registering the close callback.
Tested on Xvfb with dtwm and xdotool (build/mcde-shots/tabs-*.png): two
tabs, titles 'second' / 'first' on switching, one closed, dtterm running.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fonts:
- fonts/hack: Hack 3.003 (Expat + Bitstream Vera, from Debian fonts-hack),
installed to dt/fonts; config/fonts.conf (the system's fontconfig plus
that directory) exported by Xsession.d/0070.dtfonts and
Dtlogin*environment.
- sys.resources and dtlogin Xresources: Xft render tables in Hack 10 for
renderTable, textRenderTable, labelRenderTable, buttonRenderTable (a
render table wins over sys.font's *FontList; dtterm and text fields read
the text table).
dtterm (ported from MakroDE -- setlocale and the Xft renderer -- then fixed):
- configure: Xft on by default, --disable-xft for machines without it.
- TermPrimRenderXft.c: reads wchar_t in multibyte locales (it read the
buffer as UTF-8 bytes: three boxes after every character), places every
character in its cell on the baseline, fills the background, draws
underline/overstrike/secure, wcwidth for wide and combining characters,
borrows glyphs from fontconfig fallbacks (check mark, CJK), and makes its
XftDraw at the first drawing (made in Initialize it was window 0, and the
first string a BadDrawable that ended dtterm).
- TermPrim.c AdjustWindowUnits: the cell from the renderer's extents when
there is no XFontStruct (crashed with Xft); _DtTermPrimRenderFontExtents.
- TermPrimRenderFont.c: with setlocale the buffer is wchar_t in UTF-8, the
single-font renderer draws it as XChar2b (it drew boxes too).
Screenshots: build/mcde-shots/dtterm-utf8b-crop.png, dtterm-classic-crop.png.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Home, Download, Install, Desktop (MCDE), Source; the Camouflage palette as
Motif windows in CSS 2.1; logo and screenshots in img/. Every page parses
with xmllint --html. Claims are what the tree measured; planned parts say
"being built".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>