Commit Graph
3 Commits
Author SHA1 Message Date
lotherk 306f747041 dttoolbox: the IRIX toolchest menus, mapped to the MCDE programs (t0298)
system.chestrc now has the reference's menu tree instead of the five short
menus: ToolChest (Desktop, Selected, Internet, Find, System, Help), Desktop
(Access Files, Shared Resources, Customize, Control Audio, Empty Dumpster,
Eject Media, Start ScreenSaver, Open Unix Shell, Log Out), Access Files
(home, network, another user, remote login), Shared Resources, Customize
(Windows, Desktop, Sounds, Background, Color Schemes, Screen Saver, Mouse,
Keyboard, Accessibility, Language), Internet (browser, accounts, network,
remote login), Find (files, quick find, host quick find, info search, icon
catalog), System (manager, processes, filesystems, printers, software,
displays, date, information, Utilities: xhost and console, restart/shut
down through dtbar's one question) and Help.

Every action is a program this tree has: dtsystemsettings -pane for the
settings, dtfile for files and ~/Network, dtaction for ExitSession,
DtEmptyTrash and StartDtscreen*, dtactivity, dtdiskutility, dtprintinfo,
dtinfo, dticon, dtconsole, dtremotelogin, dtbar -command power.  Entries
without a counterpart (Extra Desks -- the workspace switch is dtwm's and F8
the overview, no command; License Manager; Demos; Restart Window Manager)
are left out and named in a comment at their place rather than starting
nothing.

The parser's TakeCommand stopped at the \" of an argument: a chestrc line
f.exec "dtfile -dir \"$HOME\"" gave "dtfile -dir \".  It now reads the
escaped quote as part of the command.

Measured (Xvfb :77, build/mcde-root/dt): the log says "dttoolbox: 11 menus
from .../share/toolchest/system.chestrc" (no menu left unread), the
screenshots show the opened Desktop, Access Files, System, Utilities and
Help menus (/tmp/opencode/dtchest-*.png), and a click on Access Files > In
my Home Directory runs "dttoolbox: dtfile -dir "$HOME"" (stderr; dtfile is
not in this test shell's PATH).  make mcde-linux MCDE_DIRS="install
programs/dttoolbox" exit=0; MCDE_DIRS=plist "mcde-plist-check: ok".

docs/MCDE-PROGRAMS.md: the T1 status says 11 menus, the mapped entries and
the quote fix; T2/T3/include and -horizontal/-icon stay open.
2026-11-16 13:18:50 +00:00
lotherk c514261881 MCDE dttoolbox: the IRIX ToolChest menus (t0298)
The chestrc now carries the reference structure: Desktop (Access Files,
Open Home Folder, Shared Resources, Customize, Control Audio, Empty
Dumpster, Open Unix Shell, Start ScreenSaver, Lock Screen, Log Out),
Shared (Network Places, Connect to Server), Internet (Open Web Browser),
Find (Search For Files, File QuickFind, Host QuickFind, Info Search) and
System (Processes, Filesystems, Disk Utility, Printers, Software Update,
Date & Time, System Settings, Backup, Restart, Shut Down).  Measured
under Xvfb: the chest lists Desktop/Selected/Find/System/Help and the
Desktop menu shows the reference entries (screenshot).
2026-11-16 12:49:52 +00:00
lotherk a0ce4e5d47 dttoolbox T1: the chest, its chestrc parser, the dynamic Selected menu
A Motif window with the reference's five menus (Desktop, Selected, Find,
System, Help) read from share/toolchest/system.chestrc -- the grammar
subset Menu/f.menu/f.exec/f.checkexec.sh/f.separator/dynamic.  It owns
_SGI_TOOLCHEST_WINDOW, answers _SGI_TOOLCHEST_CONFIG, and polls the
desktop's _SGI__MENU_WINDOW rendezvous for _SGI_MENU_Selected, rebuilding
the Selected menu when the text changes (the property read asks for
AnyPropertyType: a CARDINAL window id is what xprop writes).

Measured: make mcde-linux exit=0; screenshot build/mcde-shots/dttoolbox.png;
with the property set by xprop the log says 'menu Selected published
(3 entries)'.
2026-11-12 11:08:58 +00:00