Commit Graph
53 Commits
Author SHA1 Message Date
lotherk db495039af dtphoto P1: a document that opens and saves, undo, zoom, submenus
The menu file grew the submenus of the reference (Image > Mode/Adjust/
Flip/Rotate/Effects, Layer, Select > Modify/Matting, the Filter groups,
View > Preview); the parser understands sub/endsub and builds cascades.
Open and Save run through XmFileSelectionBox and BMP 24-bit, Undo restores
the one-step snapshot, View > Zoom In/Out/Fit/Actual scales the document
(nearest neighbour) and the status line shows percent and document size.

Measured under Xvfb: dtphoto -selftest testpic.bmp roundtrip.bmp -> PASS
(the saved file reopens with the same pixels; 230454 bytes), and
build/mcde-shots/dtphoto-open.png shows the picture at 100%.
2026-11-12 10:07:06 +00:00
lotherk 4f1a66f23b mcde: dtphoto and dtpaint -- the Photoshop 2.5/3.0 look, the simple paint
dtphoto (P0): the window, the menu bar from a data file (dtphoto.menu, one
file for both versions, @2.5/@3.0 lines), the toolbox in the reference order,
the status line, and the 2.5/3.0 switch; the menus File..Help, Layer only in
3.0.  Built with make mcde-linux, screenshot build/mcde-shots/dtphoto-30c.png
and dtphoto-25.png.

dtpaint (D0/D1, D2 in part): the simple paint program of MCDE -- 16 tools,
2x14 colour box, pencil/brush/eraser/line/rect/ellipse/roundrect/fill/pick,
undo, invert, flip, new, open and save BMP 24-bit.  -selftest draws a line
and flood-fills a pixmap and checks the pixels: PASS.

Both are in programs/Makefile.am and configure.ac; the menu matrix of the
Photoshop reference is docs/reference/photoshop-ui.csv (153 rows), the plan
is docs/MCDE-PROGRAMS.md (C1, C3, provenance).
2026-11-12 09:15:51 +00:00
lotherkandClaude Opus 5.5 09cd93673c mcde: the monitors move into libDtSvc, for System Settings and dtwm alike
include/Mcde/Displays.h (McdeDisp*): the arrangement arithmetic
(DtUtil2/McdeDispConf.c, test_displays now in lib/DtSvc) and reading,
setting and keeping the monitors through RandR (DtUtil2/McdeDisplays.c,
the RandR ids in the structure instead of tables of the pane).  libDtSvc
links Xrandr when configure found it; dtwm links it for the coming plug
and play.  Tested: make check in lib/DtSvc (test_displays) and
dtsystemsettings; the pane on the dummy Xorg as before (applied, back
after 16 s, kept and written).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 23:41:23 +00:00
lotherkandClaude Opus 5.5 ab79f53571 mcde: System Settings > Displays -- arrange, resolution, rotation, main display, mirror
The monitors as rectangles to drag, docked to each other; per monitor on
or off, resolution, rotation, main display (top bar and front panel);
mirroring.  RandR 1.3, set as xrandr(1) does.  Apply asks to keep the
settings and goes back by itself after 15 seconds.  MCDE remembers the
monitor (EDID id), not the socket, also while it is unplugged:
~/.dt/displays, applied at login by Xsession.d/0071.displays.

Tested: make check (test_displays, 31 cases); Xorg with the dummy
driver: -apply-displays, an unknown mode and all-off refused; in the
pane 1024x768 applied and back after 16 s, kept with Keep and written.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 23:36:27 +00:00
lotherkandClaude Opus 5.5 c1367c039b mcde: dtthemesync -- GTK, Qt, KDE and X programs take MCDE's palette
From the session's palette and font, with Motif's own colour calculation:
X resources (and the 16 terminal colours), GTK 1, GTK 2/3/4 themes with
Motif's bevels and no animation, qt5ct/qt6ct schemes and kdeglobals.  It
is also the XSETTINGS manager, so running GTK programs change with the
palette at once; System Settings runs it when a palette or font is chosen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 23:00:27 +00:00
lotherkandClaude Opus 5.5 f294b4f2ea mcde: translated key names stay in the menus, bindings stay English
What a user sees may be translated; configuration is English.  The labels
of the translated catalogs show their key names again (Strg+Einfg,
Umschalt+Einfg, ...); the bindings keep the English modifiers Xt reads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 22:39:37 +00:00
lotherkandClaude Opus 5.5 f1b9f53690 mcde: the programs' menu shortcuts are Command shortcuts, key names English
The letter shortcuts of CDE's programs (dtpad, dtfile, dtmail, dtcm,
dticon, dtstyle, dtbuilder, the calendar, help) are Mod4 and read Cmd+X in
every language; Shift, Ctrl, Alt and Cmd are named in English everywhere.
The German, Danish and Spanish catalogs had translated the modifier in the
bindings themselves (Strg<Key>z), which Xt never understood.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 22:37:36 +00:00
lotherkandClaude Opus 5.5 1b2f0c6b58 mcde: System Settings: the kind of keyboard, and how windows take the focus
Keyboard chooses which key is Command (find out, PC, Macintosh) and runs
dtkeys at once; Mouse has "The focus follows the pointer" and "The active
window comes to the front", applied as the Style Manager applies them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 22:34:37 +00:00
lotherkandClaude Opus 5.5 15a0d09f45 mcde: the Command key -- the key left of the space bar, on every keyboard
dtkeys makes it Mod4 at login (a PC keyboard's left Alt and Windows keys
are exchanged, a Macintosh keyboard is so already; ~/.dt/keyboard chooses,
McdeSys tells a Macintosh keyboard).  Motif's text fields copy, cut, paste
and select all with Command+C/X/V/A; dtterm pastes, copies, opens and
closes tabs and switches them with Command; dtwm's switching, minimizing,
zones and full screen go by Command too.  Option is Alt, where Motif's
menu mnemonics stay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 22:29:03 +00:00
lotherkandClaude Opus 5.5 16c09a7110 mcde: dtwm snaps windows to zones, has Full Screen, and rests while moving
A monitor below the bar is three columns by two rows; dragging a window to
an edge shows a zone (or a half), sliding along the edges joins zones, and
release takes it; dropped elsewhere it gets its size back.  f.mcde_snap and
f.mcde_fullscreen, the window menu's Full Screen and Alt+Ctrl keys in all
locales.  The move loop polled the pointer without end when the server was
not grabbed (177 CPU ticks in 3 s with a window held still), now it waits.
Focus follows the pointer without raising by default, as session
resources the Style Manager changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 22:15:59 +00:00
lotherkandClaude Opus 5.5 311733af5e mcde: build its own Motif (motif/) unless told not to; Xft renditions load
--with-private-motif (the default) builds motif/ with the options of
pkgsrc x11/motif and MCDE's C dialect and installs libXm, libMrm, libUil
and uil in ${prefix}/lib, for MCDE's programs; --without-private-motif
links the system's (Makronix: x11/motif from motif/, next).  Motif fixes:
<string.h> in XpmI.h on every system, and an Xft rendition that came with
a core font from the resources is loaded all the same -- before, it kept
no Xft font and XmStringExtent read through a NULL pointer
(dtsystemsettings crashed at start).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 20:36:58 +00:00
lotherkandClaude Opus 5.5 ee91a9ffbc mcde: readable computer names in the network view; Remote Login's title
The names the computers announce are UTF-8; CDE's ISO 8859-1 interface
fonts showed a typographic quote as three wrong characters.  The usual
punctuation becomes ASCII before it is shown.  dtremotelogin names its
window "Remote Login", then after the computer, with an xterm title
sequence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 19:20:31 +00:00
lotherkandClaude Opus 5.5 d95f0fc8af mcde: dtappscan, the installed applications by category
CDE's application manager shows a fixed list, installed or not.
dtappscan reads the desktop entries of the installed packages (Desktop
Entry Specification 1.5) and a table of the desktop's own programs, keeps
what is on the PATH, and writes CDE actions, icons (PNG to XPM) and one
folder per category in ~/.dt/Applications, at every login before the
session loads its actions.  The file manager has Applications among its
places, and the application manager opens the same folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 19:02:22 +00:00
lotherkandClaude Opus 5.5 43305571ac mcde: the front panel in a new order, its switch in the middle of the screen
Left of the workspace switch: Files (Home, Desktop, Documents, Downloads),
Mail (Text Editor, Calendar, Calculator, Icon Editor), Terminal (Disk
Utility, System Settings), Network (Remote Login, Sharing) and Desktop
Style with CDE's printers, applications and help in its drawer; right of
it only the running programs and the trash.  dtwm moves the panel so that
the switch stays in the middle of the screen, also when programs come and
go.  A program in a drawer is in the dock and not shown again on the
right.  dtfile shows the network for the folder ~/Network, which the panel
opens; the home folders are made at login.  Icons for the disk and the
network; dtremotelogin asks for user@computer and runs ssh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 18:49:07 +00:00
lotherkandClaude Opus 5.5 6d6f37c40c mcde: dtwm: Always on Top, for any number of windows
The window menu has "Always on Top" (f.mcde_above), a toggle with a
check mark, in sys.dtwmrc of every locale and in the built-in menu.  The
flag is per window and is also _NET_WM_STATE_ABOVE; every raise of another
window, a new window and a workspace switch raise the windows kept on top
again, lowest first.  Upstream's single topClient, raised again on every
VisibilityNotify, is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 17:53:15 +00:00
lotherkandClaude Opus 5.5 2f38a94a53 mcde: System Settings: Backup
The pane for the backup: Back Up Automatically, every hour; the backup
disk with Choose Disk... -- the partitions that do not hold the system,
and a password, twice, whose fields show stars, that encrypts the
backups (a reminder to keep it safe follows); when the last backup ran
and how it ended; Back Up Now, which runs dtbackup in a terminal where it
shows what it does; Restore..., the backups newest last and a path to
bring back into ~/Restored; how many hourly, daily and weekly backups
are kept, every monthly one or not, and the free space in percent below
which the oldest go.  As a user it shows and offers Unlock....

Measured on Xvfb as a user (build/mcde-shots/desk-0.png): no disk, no
backup yet, the defaults 24/30/52, every monthly, 10 %, all greyed but
Back Up Now and Unlock....  Not measured: setting up, running and
restoring (borg comes into the set with the next userland).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:54:27 +00:00
lotherkandClaude Opus 5.5 1d71a2d14d mcde: dtterm shows the tab bar only when there are tabs
With one tab the window shows the terminal alone.  XmTabStack places its
tab box whether it is managed or not (Motif 2.3.8, TabStack.c: PickSizes,
Layout), so the stack now sits in a form, and while there is a single
tab its top is moved up by the tab box's height: the bar lies above the
window and X clips it.  The second tab brings it back; closing to one
takes it away again (after the page is really destroyed).

Measured on Xvfb (build/mcde-shots/tabbar-*.png): one tab, no bar;
Ctrl+Shift+T, two tabs with the bar; Ctrl+Shift+W, one tab, no bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:51:59 +00:00
lotherkandClaude Opus 5.5 c8e8587f9b mcde: backup by BorgBackup to a disk of its own, with a watcher for space
McdeSys gets the backup (lib/McdeSys/backup.c): a partition becomes the
backup disk with an encrypted repository (borg init -e repokey-blake2);
every hour root's crontab runs dtbackup run: borg create of / (and /home)
on its own file systems, lz4, then prune -- 24 hourly, 30 daily, 52
weekly, every monthly unless set otherwise (keep_* in
/etc/mcde-backup.conf, -1 keeps every one) -- and compact.  The watcher:
before and after each run, while the backup disk has less than min_free
percent free (10 unless set), the oldest backup is deleted and the space
given back; the newest is never deleted.  Listing (borg list --json) and
restoring a path into a folder (borg extract).  The passphrase lives in
/etc/mcde-backup.pass, root's alone, handed over by BORG_PASSCOMMAND.
docs/reference/borg.txt from borg 1.4.5's own documentation.

dtbackup run | status | list: the same from a shell and for cron, no X.

Measured: builds on the Linux host and compiles in the build VM; as a
user dtbackup status says no disk is set up and dtbackup run refuses.
Not measured: a real backup -- borg is not on the host and goes into the
set with the next userland.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:49:38 +00:00
lotherkandClaude Opus 5.5 5eee8d5d8f mcde: dtdiskutility, the disks of the computer
A program of its own: the drives on the left, each followed by its
partitions (label, or where mounted, and size); on the right the chosen
one's name, model, device, capacity, file system, mount point, used and
available, and a bar of how full it is; below two pages.  First Aid:
Verify Disk (fsck -n, changes nothing), Verify Permissions and Repair
Permissions (the system's files against /etc/mtree/set.*), with their
report.  Erase: a name and a format -- NetBSD FFS, MS-DOS FAT32, Linux
ext4 -- for a whole drive, after a warning that names the drive and says
everything on it is lost; a drive that holds the system is never offered.
The toolbar mounts and unmounts.  As a user it shows and verifies, and
Unlock... starts it again as root under su in a terminal.  All through
McdeSys.

Measured on Xvfb as a user (build/mcde-shots/du-*.png): the host's NVMe
drive with /boot/efi, /boot and the crypto partition; /boot chosen showed
ext4, 318 MB used, 603 MB available, "Holds the system" and the bar;
the Erase page offers the three formats and erases nothing for a
partition.  Not measured: mounting, verifying, erasing, repairing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:27:26 +00:00
lotherkandClaude Opus 5.5 6de349e604 mcde: dtfile: Network, a browser for the computers around
"Network" in the sidebar shows, in place of the work area: the
computers that announce themselves by DNS-SD (McdeSys), what the chosen
one offers -- its files by SFTP, a terminal by SSH, its NFS exports, its
SMB shares (listed; NetBSD has no SMB client that mounts) -- and
"Connect to Server:" for sftp://, nfs:// and afp:// addresses.  A share
is mounted on ~/Network/HOST[/NAME] and opened in the window; a server
that wants a password gets a dialog whose field shows stars, and the
mount is tried again with it.  Finding takes a few seconds and runs once
the view is drawn; going to any folder leaves the view.

Measured on Xvfb (build/mcde-shots/df-*.png): Network found the 4
computers of the LAN, by the names they give; KITT listed its SMB share
"nobody"; Connect to sftp://localhost without a key asked for the
password (nothing mounted).  Through McdeSys on the host:
sftp://127.0.0.1/.../www mounted with the user's key, its files were
there, and it was unmounted again.  Not measured: NFS and AFP mounts,
and anything of this on NetBSD past the build (no LAN in the VM).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 12:54:19 +00:00
lotherkandClaude Opus 5.5 64bfd2048f mcde: Sharing in System Settings: SSH, SMB, NFS, AFP, AppleTalk
McdeSys gets the services that let others in (mcde_sys_service_state,
mcde_sys_service_set) and one list of shared folders for SMB, NFS and AFP
(mcde_sys_shares, mcde_sys_shares_set: /etc/mcde-shares, and a block
between "# MCDE shares begin" and "... end" in exports, smb.conf and
afp.conf; the rest of each file stays as written).  NetBSD switches
rc.conf and runs the rc.d scripts -- sshd; rpcbind, mountd, nfsd and
nfslocking for NFS; samba, netatalk, atalkd and papd from pkgsrc, whose
example rc.d scripts are copied to /etc/rc.d first, as PKG_RCD_SCRIPTS=YES
would.  Linux uses systemctl (ssh, smbd and nmbd, nfs-server, netatalk;
no AppleTalk).  NetBSD's kernel has AppleTalk (GENERIC: options NETATALK)
and pkgsrc's netatalk4 builds atalkd on NetBSD.  docs/reference/sharing.txt.

The Sharing pane (Internet & Network) shows each service with its switch
and how others reach it (ssh host, smb://host/, host:/folder,
afp://host/), and the shared folders with Add and Remove; as a user it
offers Unlock..., as Accounts does.

Measured: on the Linux host, read only: ssh, smb, nfs installed, enabled,
running; afp and appletalk not installed (the pane on Xvfb says so).  In
the build VM as root: NFS on started rpcbind, mountd, nfsd, statd, lockd;
sharing /tmp/mcdeshare made showmount -e list it for Everyone; NFS off
stopped them; the VM's rc.conf was restored after.  First found there:
mountd will not start without /etc/exports, and statd/lockd are one
script, nfslocking.  Samba and netatalk are not in the makronix set yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 12:36:46 +00:00
lotherkandClaude Opus 5.5 0987753527 mcde: the front panel shows the open programs left of the trash
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>
2026-11-11 12:16:06 +00:00
lotherkandClaude Opus 5.5 d0fd050046 mcde: dtfile: the column view
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>
2026-11-11 09:00:01 +00:00
lotherkandClaude Opus 5.5 648a11f4de mcde: System Settings draws Startup, with programs opened at login
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>
2026-11-11 08:45:25 +00:00
lotherkandClaude Opus 5.5 dffeaf9b17 mcde: Wi-Fi in System Settings: the networks in reach, joining one
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>
2026-11-11 08:37:38 +00:00
lotherkandClaude Opus 5.5 db32002727 mcde: choosing the time zone in Date & Time
McdeSys gets mcde_sys_timezone_get (where /etc/localtime points into
/usr/share/zoneinfo), mcde_sys_timezones (zone1970.tab, else zone.tab, and
UTC) and mcde_sys_timezone_set: the zone must be a file of the zoneinfo
directory and a plain name, the caller root; the new link is made beside
/etc/localtime and renamed over it, so it is never missing (sysinst makes
the same link: src/usr.sbin/sysinst/util.c), and Debian's /etc/timezone
follows where it exists.  All POSIX, in common.c, for NetBSD and Linux.

Date & Time shows the regions and their places with the zone in use
selected; Set Time Zone sets it as root, or opens a terminal where su asks
for the password and runs dtsystemsettings -set-timezone ZONE.

Measured: test_sysinfo on the Linux host says "zone Europe/Lisbon, 313
zones offered" and refuses "../../etc/passwd"; on Xvfb the pane shows
Europe / Lisbon selected (build/mcde-shots/desk-0.png).  Setting a zone
is not measured yet (not on the host; the build VM is busy).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:29:50 +00:00
lotherkandClaude Opus 5.5 f788367833 mcde: read PNG with libpng, not with Motif
Motif 2.3.8 shifts the channels of a PNG without alpha the wrong way and
draws only its blue (docs/reference/motif-png.txt).  libDtSvc gets
McdeImageGetPixmap/McdeImageFreePixmap (Mcde/Image.h): PNG through libpng's
simplified interface (png_image, the background for the alpha), packed by
the visual's masks; every other format still through XmGetPixmap.  dtwm's
backdrops and slideshow and the small pictures of System Settings use it.
dtwm now also frees a backdrop pixmap that is not in Motif's cache (a
scaled copy), which it kept for good before.

configure finds libpng >= 1.6 with pkg-config; the recipe includes
graphics/png's buildlink3.mk (Motif depends on it already); the header is
in the PLIST.

Measured on Xvfb: the RGB PNG that showed only blue (slide-3.png before)
shows its colours as backdrop (build/mcde-shots/slide-3.png) and as a
small picture (desk-2.png).  A 16-bit PNG is not measured.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:16:14 +00:00
lotherkandClaude Opus 5.5 e73c2858e9 mcde: System Settings: Desktop and Screen Saver, with a folder as slideshow
One pane with two pages.  Desktop: the backdrop in use as a preview with
its name; the places on the left -- CDE's backdrops, ~/.dt/backdrops,
~/Pictures, folders the user adds with Choose Folder... (kept in
~/.dt/backdrop-folders); their pictures small on the right, made one at a
time while the window is idle and scaled with Xrender; the style (fill,
fit, centre, tile); "Change picture every ..." and "Random order" make
the place a slideshow in dtwm (f.mcde_slideshow now, Dtwm*mcdeSlideshow
for the next login).  Screen Saver: the savers of $DTSCREENSAVERLIST with
one running in a preview (_DtSaverStart), the minutes until it starts and
whether it asks for the password, sent to dtsession as dtstyle does.

DtWidget's mail control crashed in strlen when neither MAIL nor LOGNAME
was set (dtwm's front panel in a session started by hand): the name now
comes from the password file.

Measured on Xvfb with dtwm (build/mcde-shots/desk-*.png): the backdrops
and ~/Pictures appear as small pictures; a click made d-green.jpg the
backdrop and the preview; Change picture put "Dtwm*mcdeSlideshow: 30 0 3
.../Pictures" into the resources and dtwm showed the folder's first
picture; the Screen Saver page ran Swarm and Qix in its preview.  Not
measured: the saver settings through dtsession (the test was not run).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 08:12:20 +00:00
lotherkandClaude Opus 5.5 14b53c70f1 mcde: dtwm: backdrops from picture files, a folder as a slideshow
f.change_backdrop with pixmap 0 makes dtwm load the picture itself
(XmGetPixmap: JPEG and PNG through Motif), and the request is parsed from
its end, so a path may hold blanks.  f.mcde_slideshow INTERVAL RANDOM STYLE
FOLDER, and the resource Dtwm*mcdeSlideshow at the start, change the
backdrop of every workspace every INTERVAL minutes, in order or at random;
the folder is read anew each time.  Fit and Fill scale with Xrender's
bilinear filter instead of the nearest pixel.

Measured on Xvfb (build/mcde-shots/slide-*.png): c-red.jpg from "My
Pictures" filled the screen; the slideshow showed a-blue.jpg at once,
fitted, and the next picture after one minute; dtwm kept running.

Found: Motif 2.3.8 draws an RGB PNG without alpha as its blue channel only
(lib/Xm/Png.c shifts right where it must shift left);
docs/reference/motif-png.txt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:54:21 +00:00
lotherkandClaude Opus 5.5 49860dec83 mcde: System Settings draws Appearance and Fonts
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>
2026-11-11 07:42:21 +00:00
lotherkandClaude Opus 5.5 c0bf505c0a mcde: keyboard and mouse in System Settings; dtsession keeps them
dtsystemsettings draws the Keyboard pane (key repeat, its delay and rate,
key click, a field to try it) and the Mouse pane (primary button, pointer
speed, threshold, double-click time) instead of opening dtstyle.  A change
takes effect at once through Xlib and goes to dtsession as dtstyle sends
it (_DT_SM_KEYBOARD_INFO, _DT_SM_POINTER_INFO; *multiClickTime through
_DtAddToResource).

dtsession saves and restores the XKB repeat delay and interval
(XkbGetAutoRepeatRate at logout, XkbSetAutoRepeatRate at login), which the
core keyboard state does not carry.  And it keeps every pointer button: the
map was char[5], the parse of the property wrote past it without a bound,
and the restore cut the map to 5, which the server refuses on a mouse with
more buttons.

Measured on Xvfb (build/mcde-shots): the sliders set the server (xset q:
delay 490, rate 29, click 20; acceleration 3/1, multiClickTime 280; xmodmap
-pp 1->3, 3->1).  Through a whole dtsession: logout wrote RepeatDelay 490,
RepeatInterval 34, ButtonMap 3,2,1,4,...,10 (10 buttons), AccelNum 3; the
next login restored delay 490 rate 29, acceleration 3/1 and the swapped
buttons.  The double-click time is saved (dt.resources) but its restore is
not measured: a dtsession started without Xsession gets no resources
loaded (3 in xrdb, against 108 in a real session).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:30:58 +00:00
lotherkandClaude Opus 5.5 451aac7fe4 mcde: the battery in the bar
McdeSys gets mcde_sys_battery: all batteries as one, charging, mains,
minutes left.  NetBSD reads the envsys(4) dictionary of /dev/sysmon as
envstat(8) does (acpibat "present", "charge", "charging", "discharge
rate"; acpiacad "connected"), Linux /sys/class/power_supply (energy_* or
charge_*, status, Mains/USB online).  The sources are in
docs/reference/battery.txt.

dtbar shows a fourth icon, only when there is a battery: full, half, low
(red), charging; its menu says the charge, the power source and the time
left.  The status bar is 30 pixels an icon.

Measured: on the Linux host test_sysinfo says "battery 76% ac", as
/sys/class/power_supply/BAT0/capacity and AC/online do; the menu on Xvfb
(build/mcde-shots/battery-menu.png) says "Battery: 76 %", "Power Source:
Power Adapter".  The NetBSD backend compiles and runs in the build VM,
which has no battery (envstat: no drivers registered): only the
no-battery case is measured there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:01:18 +00:00
lotherkandClaude Opus 5.5 3969c15907 mcde: dtterm: closing a split pane leaves the window its size
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>
2026-11-10 22:18:09 +00:00
lotherkandClaude Opus 5.5 92f1d6a762 mcde: dtfile: search field, view buttons right at start, places and Back/Forward fixed
- A search field in the toolbar narrows the window to the names with the
  text (any case); FilterFiles asks _McdeNavHidden, the text is kept per
  window in Navigation.c; a new directory starts with an empty search.
- The view buttons show the window's view from the start, and the first
  directory starts the history: the first window gets it without
  ShowNewDirectory, so both are set once the window's data is attached.
- ChangeDir.c: the desktop folder's lock compared two empty ToolTalk paths
  and refused every folder ('restricted folder' with an empty name); it
  compares real paths only.
Tested on Xvfb with dtwm: Icons pressed at start, List, Documents from the
sidebar, Back to home, Forward to Documents, 're' leaves report.pdf.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 18:17:13 +00:00
lotherkandClaude Opus 5.5 f28826c4f2 mcde: dtterm splits a tab: Ctrl+Shift+D, one more terminal below
Every tab is a page now, an XmPanedWindow (mcdeSplit) holding the tab's
DtTermViews -- Xt cannot give a widget another parent, so the page is there
from the start and a split is one more view in it (_McdeTabsPageFor).  The
new view is held at its share of the page's height until the paned window
has laid it out, then gets the keyboard; a pane keeps at least 60 pixels.
Ctrl+Shift+W closes the view, the tab with its last, the window with its
last tab.  Tested on Xvfb: two terminals in one tab, typing goes to the new
one, closing it keeps dtterm running, Ctrl+Shift+T still opens a tab.
Open: after closing a pane the window shrinks to the one left.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 18:08:03 +00:00
lotherkandClaude Opus 5.5 928c77506c mcde: dtterm -dropdown, the terminal that comes down from the top on F12
Dropdown.c: full width, 40 % of the screen high, override-redirect, hidden
until its key (resource dropdownKey, F12); then it slides down in 8 steps to
below the top bar and takes the keyboard, the key sends it back up.  The key
is grabbed on the root window (with the CapsLock/NumLock combinations, a
BadAccess is reported) and taken in dtterm's own event dispatcher
(XtSetEventDispatcher): registering the root window with a widget did not
bring it.  Xsession.d/0085.dtdropdown starts it in every session.
Tested on Xvfb with dtwm and dtbar: hidden at start, down on F12 below the
bar with the keyboard (typed 'echo dropped down'), up again on F12.
xdotool key F12 maps F12 to a spare keycode the grab never sees; the test
sends an XTest event on F12's own keycode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 18:03:39 +00:00
lotherkandClaude Opus 5.5 0c7451b46d mcde: dtbar's M is the Makronix logo, drawn for 16 pixels
MakronixDtlogo.t.pm: the M with its star, drawn by hand -- the 240-pixel logo
scaled to 16 was a dark square.  dtbar gives it when the button is made (so
Motif sizes it) and keeps the letter M where the icon is missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 17:56:32 +00:00
lotherkandClaude Opus 5.5 8ab668c689 mcde: Accounts and Software Update, in dtsystemsettings and McdeSys
McdeSys: mcde_sys_users/user_add/user_delete (users.c, POSIX getpwent and
useradd/userdel), user_set_password and user_set_admin per system (NetBSD:
pw_gensalt+crypt for usermod -p, wheel; a group member removed by rewriting
the group's line as user.c does, since usermod -G only appends -- measured;
Linux: chpasswd on stdin, gpasswd, sudo), mcde_sys_update_check/apply
(NetBSD: /etc/makronix/update, RELEASE, sysupgrade, pkg_add -uu; Linux:
apt-get).  A secret goes through a pipe, never on a command line.
Tests: test_sysinfo refuses a bad login and, not as root, adding (PASS on
Linux and NetBSD); as root in the NetBSD VM add/admin on/off/password/delete
pass and /etc/group is as before.

dtsystemsettings: Accounts (list, Add/Delete/Password/Administrator,
Unlock... through su -m root in a terminal, password fields show stars),
Software Update (running, available, new packages, source, Check Now,
Update Now... runs -apply-update as root in a terminal; the check runs
after the pane shows: apt took 21 s here).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:38:21 +00:00
lotherkandClaude Opus 5.5 6f68d92f75 mcde: dtsystemsettings, the settings of the computer in one window
Four bands of icons -- Personal, Hardware, Internet & Network, System --
from panes.c (plain C, PASS test_panes); a click opens the pane in the
window, Show All goes back, -pane ID opens one directly.  Own panes through
McdeSys: Sound (volume, mute), Network (the cards, addresses, SSID),
Bluetooth (state, on/off), Date & Time (a running clock, the zone), About
(everything mcde_sys_info knows).  Appearance, Desktop, Fonts, Language,
Screen Saver, Keyboard, Mouse, Startup open dtstyle, Printers dtprintinfo,
until they are drawn here; Accounts and Software Update are greyed.  dtbar's
System Settings... and the Sound/Bluetooth/Network Settings... items open
it.  New icons: a 48-pixel Makronix logo, 32-pixel network and Bluetooth.
Seen on Xvfb with dtwm and dtbar, sound against a private PulseAudio.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:24:42 +00:00
lotherkandClaude Opus 5.5 776e0f3d47 mcde: dtbar status menus work: slider in the menu, icons as CDE icon files
- menuscale.c gives XmScale Motif's XmQTmenuSavvy trait (XmeTraitSet, as
  Label.c does for its classes): a menu takes the volume slider without
  "wrong child type".  Dragged against a private PulseAudio (null sink):
  40 % -> 100 %, two wheel steps -> 90 %.
- The icons are CDE icon files (icons/Mcde*.t.pm, appconfig/icons/C, in the
  PLIST), loaded with XmGetPixmap; the status menu bar has a fixed width (the
  form had squeezed the buttons to 10 pixels).
- McdeSys sets SIGCHLD to the default while it waits for a tool: dtbar
  ignored SIGCHLD, waitpid gave no status and every query failed (volume -1).
  dtbar starts programs with a double fork instead.
- Menu entries left-aligned; Mute shows its box when off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 11:23:50 +00:00
lotherkandClaude Opus 5.5 e8b69e1cfd mcde: dtbar: volume, Bluetooth and network icons with their menus (work in progress)
status.c: three menus with 16x16 XPM icons left of the clock, through
McdeSys (volume via pactl/mixer, Bluetooth, interfaces); the wheel over the
speaker turns the volume.  Shown on Xvfb with dtbar alone (speaker, Bluetooth,
network, clock).  Open: with dtwm running the icons do not show
(build/mcde-shots/wcmp.png); the volume scale in a pulldown draws Motif's
'wrong child type' warning (RowColumn.c checks the XmQTmenuSavvy trait) --
next step a scale subclass with that trait; the network icon shows wired
while the host is on Wi-Fi.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:23:59 +00:00
lotherkandClaude Opus 5.5 2c7ca200b0 mcde: dtbar's M menu: About This Computer, Favourites, Recent Items, Force Quit, power
The M menu has About This Computer (logo, system and version, processor,
memory, startup disk, More Info with machine, kernel, host name, disk space
and the desktop's version, all from mcde_sys_info), Software Update (greyed
until the update exists), System Settings, Favourites (~/.dt/favourites, with
Edit Favourites...) and Recent Items (~/.dt/recent, written when an item is
opened, with Clear Menu) -- items.c with its test (PASS test_items) --, Force
Quit (the programs with a window, XKillClient), Sleep, Restart..., Shut
Down... (McdeSys, the last two ask first), Lock Screen and Log Out <name>.
The bar's dialogs are centred on the screen (Motif centred them on the bar).
Tested on Xvfb: About, a favourite started and listed under Recent Items,
Force Quit ended dtcalc, the Shut Down question shows (not confirmed: on the
development host it could shut the computer down).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:03:48 +00:00
lotherkandClaude Opus 5.5 7757e1b19f mcde: dtterm's menus in dtbar; every menu bar of a window hidden; no rebuild of an open menu
dtterm does not call DtInitialize: it starts the program side itself
(_DtMcdeGlobalMenuInitialize, declared in Mcde/GlobalMenu.h when Xt is in).
McdeGlobalMenu.c keeps all menu bars (dtterm has one per tab), hides any the
program manages while the bar runs (Xt change hook) and exports the first
that lives.  dtterm's menus follow the tab with the focus
(_DtTermViewMenuSetCurrent, setContext split into contextFor), since from the
bar they are not posted from the tab.  dtbar defers a new menu text while one
of its menus is open (the open menu was pulled away under the click).
Tested on Xvfb: dtterm's Window/Edit/Options/Help in the bar, no menu bar in
the window with two tabs, Window > New Tab from the bar makes the third.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 07:43:50 +00:00
lotherkandClaude Opus 5.5 38674be8b2 mcde: dtwm places and maximizes windows below dtbar
McdeExcludeBar (WmMultiHead.c) takes the bar's height off the area at the top
of the screen while dtbar owns _MCDE_BAR_S<screen>; used for the placement
area and for maximizing, not for full screen.  Tested on Xvfb: dtcalc placed
at frame y=23 (the bar is 23 high), maximized to 1012x648 below the bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 07:31:12 +00:00
lotherkandClaude Opus 5.5 e8240130d8 mcde: dtbar, the bar at the top with the menus of the active program
include/Mcde/GlobalMenu.h is the protocol (selection _MCDE_BAR_S<n>,
_MCDE_MENU on the program's window, _MCDE_ACTIVE_MENU on the root, client
messages to activate and refresh).  libDtSvc's McdeGlobalMenu.c, started by
DtInitialize, finds every XmMenuBar with an Xt create hook, hides it while
the bar runs and writes its tree; a click in the bar calls the button's own
callback -- no Motif patch, every CDE program takes part.  The text form is
McdeMenuModel.c with its test (PASS test_menumodel).  dtbar: M menu (dtaction
Dtstyle, Dtterm, Dtfile, LockDisplay, ExitSession), the program's menus, the
clock; started by Xsession.d/0090.dtbar.  The Mcde headers are installed.
Tested on Xvfb with dtwm and dtcalc: its menu bar leaves its window, Options
and Help are in the bar, Options > Memory Registers opens dtcalc's dialog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 07:27:29 +00:00
lotherkandClaude Opus 5.5 261cb1e992 mcde: dtterm profiles (font, colours, command); Window > New Tab with Profile
Profiles.c reads ~/.dt/dtterm.profiles (else the config/ one), plain C with
its test (make check: PASS test_profiles).  A view with a profile is named
profile_<name>; its colours are resources of that name, its font an Xft
render table that TermView now passes on to the terminal, its command
DtNsubprocessArgv unless -e gave one.  Ctrl+Shift+T keeps the profile of
the tab; the Window menu gets New Tab and New Tab with Profile through a
hook in TermViewMenu.c; dtterm -profile NAME, and "Default" to start with.
Tested on Xvfb with dtwm: -profile, a tab by key, a tab by the menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 07:08:16 +00:00
lotherkandClaude Opus 5.5 b14aea8543 mcde: dtterm tabs (Ctrl+Shift+T/W/Left/Right), titles per tab
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>
2026-11-10 00:03:16 +00:00
lotherkandClaude Opus 5.5 ac0952a29b mcde: anti-aliased Hack everywhere; dtterm draws through Xft with UTF-8 and glyph fallback
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>
2026-11-09 23:55:41 +00:00
lotherkandClaude Opus 5.5 07c3ce19f0 mcde: dtlaunch, the launcher: hot key, programs, snippets, clipboard history, calculator
programs/dtlaunch: Alt+space (Dtlaunch*hotkey) opens a field and a list;
matches programs in $PATH, ~/.dt/snippets (keyword TAB text), the
clipboard history (polled CLIPBOARD, 50 entries, memory only) and
calculations (=12*(3+4)).  Return starts the program or puts the text on
CLIPBOARD and PRIMARY.  One per display (_MCDE_DTLAUNCH); a second start
opens the first.  C99/POSIX + Xt/Motif, no warnings with -Wpedantic.
model.c (no X) with test_model.c: make check PASS.  Started in every
session by config/Xsession.d/0080.dtlaunch.  Tested on Xvfb: snippet and
result reach the clipboard (build/mcde-shots/dtlaunch-*.png).
tools/mcde-linux.sh: check mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 20:41:14 +00:00
lotherkandClaude Opus 5.5 94f116c272 mcde: builds on Linux (GCC 15); dtfile gets toolbar, sidebar, history, free space; make mcde-linux, mcde-shot
- configure.ac: the C dialect (-std=gnu11 and five GCC 14 downgrades) is
  configure's own, also handed to dtksh's ksh93 build (MCDE_DIALECT_CFLAGS).
- The pkgsrc placeholders folded in from wm/cde (@PREFIX@, @VARBASE@,
  @PKG_SYSCONFDIR@) are configure options now: --with-logfiles-dir,
  --with-config-dir, --with-local-bindir; and --with-pamdir (dtlogin,
  dtsession) and --with-calendar-dir (dtcm, rpc.cmsd) replace paths that
  were fixed.  Defaults unchanged; the recipe passes its paths.
- dtfile: programs/dtfile/Navigation.c -- Back/Forward with a history per
  window, views Icons/Small/List, places in a sidebar, free space in the
  status line (statvfs).  Screenshot: build/mcde-shots/dtfile-7.png.
- make mcde-linux (tools/mcde-linux.sh): the development build on this host,
  every system path under build/mcde-root.  tools/mcde-shot.sh: run a
  program on a private Xvfb with ttsession and dtwm, empty environment and
  its own HOME, take a screenshot.  tools/ext-sync.sh: ext recipes into
  pkgsrc/<cat>/<name>.

Measured: build/logs/mcde-linux-install3-2026-11-09.log (mcde-linux exit=0).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 20:32:32 +00:00