tools/fti2xpm.py rastered at one size only (32x32). It takes the size as a
third argument now, and the six pictures the desktop shows come from the
Foundation .fti sources at 64x64: IrixDisk (scsi.fti), IrixCD
(cdrom.loaded.fti), IrixDVD (dvd.loaded.fti), IrixFloppy (floppy.loaded.fti),
IrixTape (dat.loaded.fti) and IrixNet (device.remote.fti). The array in the
file keeps the name of the old ones (IrixDisk_m_pm), so nothing that includes
them changes.
WmMcdeDesktop.c names them, and a medium picks its picture by file system:
cd9660 the CD, udf the DVD, msdos the diskette, tar/dump the tape, anything
else the disk. The cell grows to 96x96 for the 64 pixel picture and the
label under it.
Measured: make -C programs/dtwm rc=0, 0 errors (build/logs/dtwm-icons64.log).
programs/types/dtchat.dt defines ACTION Dtchat (Chat, icon Dtchat, EXEC dtchat, NO_STDIO) and is merged into every locale through the types template; Internet/Dtchat joins the App-Manager list. Three icon sizes (16/32/48) draw a speech bubble with three dots. Dtchat app-defaults install into app-defaults/C with the fixed fonts and 760x540 geometry, and dtchat.msg builds a dtchat.cat catalog for the UI strings. The action was executed through dtaction with DTDATABASESEARCHPATH (a test copy wrote its marker file), and the icons decode as XPM. make mcde-host is still waiting for the build lock (pid 1207058).
tools/fti2xpm.py raster the Foundation .fti vector icons into 32x32 XPM
(colour(N), bgnpolygon/endpolygon, bgnoutlinepolygon/bgnline, vertex).
Six of them -- IrixDisk, IrixCD, IrixDVD, IrixFloppy, IrixNet, IrixTape
-- are in programs/icons, Makefile.am and the PLIST. Measured: they
are thin line drawings at 32x32 and stay pale on the desktop, so
DeskIconName keeps the CDE glyphs; the icons are there for a later,
larger rendering.
Konrad's task t0265: the CDE icons of Solaris 2.6 (SUNWdticn) should be
available to dtfile. 178 of its 647 .pm files have names the tree does not
have (469 do, with the CDE 2.5.3 artwork, and are not overwritten); they are
copied here, listed at the end of dist_icon_DATA and added to the PLIST.
provenance: programs/icons/SOLARIS.
Measured: make mcde-linux MCDE_DIRS="install programs/icons" exit=0, the new
files in build/mcde-root/dt/appconfig/icons/C (DtMal.s.pm, SDturlfile.t.pm);
tools/mcde-plist-check.sh (MCDE_DIRS=plist): 3409 installed names under dt/,
8597 in the PLISTs, ok. Two of the new files render as valid XPM (ImageMagick).
McdeFile.m.pm (32x32 XPM: a sheet with a folded corner and grey text
lines) is the desktop icon of a file; a folder keeps DtdirB.m.pm.
DeskIconName() picks it for the 'f' of DeskAddDir(). The icon is in
programs/icons/Makefile.am and the PLIST. Measured under Xvfb:
datei.txt shows the document, Ordner the folder.
dtwm draws the volumes of the computer in a small window in the top right
corner under the bar (new programs/dtwm/WmMcdeDesktop.c): one tile for each
mounted volume from mcde_sys_disks -- the drive glyph, the volume's name on
a background field of its own (no shadow, no transparency), the chosen one
boxed. A second click within 500 ms opens the volume in dtfile
(fork/execv, no shell). The list is read when the window manager starts;
a volume plugged in later needs the mount events of t0080/t0083.
MCDE_DESK_DEBUG=1 prints what it found (tools/mcde-shot.sh passes it into
the session).
The bar's right end gained the reference's two parts: a person cascade with
the login name (the passwd entry first: a session started with an empty
environment has no USER -- measured, the menu said "user"), Accounts... and
Log Out...; and a magnifier cascade with "Launcher (Command+space)"
(dtlaunch -show) and the settings. Both are cascades because the status
area is a homogeneous menu bar and refuses any other child (measured:
"Attempt to add wrong child type").
McdeSys's Linux disk backend now lists lvm and crypt volumes; the root of a
host with LVM was missing from every disk list before (measured: only
/boot and /boot/efi stood on the desktop, the root now appears as
"System").
Measured under Xvfb with xdotool:
- the desktop shows efi, boot and System in the corner
(docs/screenshots/leopard/Desktop-mcde.png);
- a double click on System opens "File Manager - kitt:ROOT";
- the person menu says "lotherk", with "Accounts..." and "Log Out...";
- the magnifier opens its menu; "Launcher (Command+space)" starts dtlaunch
(-show);
- test_sysinfo lists the root volume; make lib/McdeSys, programs/dtwm,
programs/dtbar exit=0.
Open (follow-ups): the front panel's running-program dots, the volume
hot-plug (t0083), and the desktop icons' text colour from the palette
(they use the session's background with black text today).
New programs/dtsystemsettings/security.c with the reference's three tabs:
General "Require password to wake this computer from sleep or screen
saver" writes dtsession's lock time (_DtSetSmState with
SM_STATE_LOCKTIMEOUT; the Screen Saver page reads and writes the
same field, so the two pages show one setting). On: the lock at
the saver's time, or ten minutes without a saver. "Use secure
virtual memory" is NetBSD's vm.swap_encrypt through McdeSys
(now and in /etc/sysctl.conf, root). Automatic login and a
log-out after N minutes are shown as what the desktop has:
dtlogin always asks for a name and a password, and dtsession
has no idle logout -- the pane says so and greys the controls.
Encryption the cgd(4) volumes of /etc/cgd/cgd.conf, and the sentence that
encrypting a disk is a decision of the installation, not of a
running system; changing a passphrase is a follow-up.
Firewall the npf(7) state (rc.conf npf=YES, /etc/npf.conf); the rules
are a follow-up -- a fixed template with the shares of the
Sharing page, never free text.
McdeSys gained the security state: mcde_sys_swap_encrypt_get/_set,
mcde_sys_cgd_volumes, mcde_sys_firewall_get. netbsd.c implements them
(sysctl(8) vm.swap_encrypt, /etc/sysctl.conf through a KeySet() that rc.conf
now uses too, /etc/cgd/cgd.conf, rc.conf's npf), linux.c answers
MCDE_SYS_ENOTSUP with a sentence saying whose feature it is.
test_sysinfo prints all three.
The pane's icon is new: programs/icons/McdeLock.pm (a padlock, palette
colours); "security" is a real pane now, not a greyed entry.
Measured under Xvfb with xdotool (dtsession started in the session):
- the lock checkbox: _DT_SM_STATE_INFO on dtsession's window before the
click 0xfff, ... lockTimeout 0x0; after it 0x100 (SM_STATE_LOCKTIMEOUT),
lockTimeout 0x258 (600 s); a second click puts it back to 0x0;
- the three tabs and their content (docs/screenshots/leopard/
System-Preferences-Security-mcde.png with the lock on, ...-Encryption-
mcde.png, ...-Firewall-mcde.png);
- test_sysinfo on this (Linux) host prints the three MCDE_SYS_ENOTSUP
sentences -- the pane shows them instead of dead controls;
- make check programs/dtsystemsettings: test_panes PASS; the Sound and
Keyboard & Mouse panes still switch their tabs after the layout fix
below;
- make programs/dtsystemsettings, lib/McdeSys exit=0.
A Motif lesson, saved in AGENTS.md: a row column inside the pane area takes
the other orientation unless told, a child added later to a tight-packed
column goes into the next column, and a page managed for the first time after
its widgets were built keeps a height of one line. The pane therefore builds
its page fresh inside an XmPACK_COLUMN container on a tab change; the same
XmNorientation, XmVERTICAL went into the Sound and Keyboard & Mouse page
containers.
Not measured, because this host is not NetBSD or has no root: swapping
vm.swap_encrypt, reading cgd volumes, the npf state and writing npf rules.
They are the follow-up task for the VM.
The bar has a monitor icon next to the network one. Its menu is the
reference's: "Detect Displays", then how many displays RandR reports, each
monitor with its size ("screen: 1024x768", primary marked), the modes of the
first monitor ("* 1024 x 768, 0 Hz" -- the current one marked), and
"Displays Preferences..." which opens System Settings > Displays.
Choosing a mode applies it (McdeDispApply, the same library the pane uses)
and asks "Keep these display settings? Without an answer they go back in 15
seconds" with Keep and Revert; the timer puts the old set back. "Detect
Displays" reads RandR again and runs dtsystemsettings -apply-displays, as
Xsession.d/0071.displays does at login. The menu reads the displays when it
opens only -- no timer, no polling.
The icon is new: programs/icons/DtScrn.t.pm (a 16x16 monitor), in the icon
list of its Makefile.
Measured under Xvfb with xdotool:
- the menu opens with "Detect Displays", "1 display", "screen: 1024x768",
"* 1024 x 768, 0 Hz" and "Displays Preferences..." (docs/screenshots/
leopard/Menu-Bar-Displays-mcde.png);
- Displays Preferences... starts dtsystemsettings and the Displays pane
appears (1024 x 768, the monitor "screen", rotation Normal);
- choosing the mode opens the question, and 17 seconds later the dialog is
gone and the displays were put back (xwininfo: no "Display Settings"
window; the mode is the one before).
The mode switch cannot be measured on a second mode here: the Xvfb screen
has one mode and refuses new ones (xrandr --newmode/--addmode: "cannot find
mode", maximum 1024x768), and changing the developer's real display is a
hazard (AGENTS.md). So the path ran with the current mode; the apply, the
question and the revert are what was exercised.
Open: "show displays in the bar" as a switch in the Displays pane, and
rebuilding the menu on RRScreenChangeNotify instead of at open (the menu
reads no timer, but a monitor plugged in shows on the next open).
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>
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>
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>
- pkgsrc recipe: DISTNAME mcde-0.1.0 (archive from tools/mcde-dist.sh),
CONFLICTS+= cde-[0-9]*, DESCR.
- configure.ac: AC_INIT name and version 0.1.0; MCDE_VERSION; the
tarname and the CDE_VERSION_* API level stay (share/cde, DtVERSION).
- Dt.h: DtVERSION_STRING "MCDE 0.1.0 (CDE 2.5.3)".
- programs/icons/MakronixDtlogo.pm from docs/logo/camouflage, installed,
in PLIST, the default Dtlogin*logo*bitmapFile.
- include/Mcde/McdeSys.h: users, network/Wi-Fi, host name, time zone;
checked with gcc -std=c99 -D_POSIX_C_SOURCE=200809L -pedantic.
- ext/src/mcde/AGENTS.md: the philosophy (CDE/Motif/Xlib only, C99/POSIX,
everything OS-specific behind lib/McdeSys, conflicts with CDE).
Not built yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cde-2.5.3.tar.gz, SHA512 a01b413b... as in pkgsrc distinfo; recipe from
pkgsrc 3c1118e94432. Added with -f: CDE's .gitignore hides 612 files of
the archive.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>