Files
mcde/programs/dttoolbox/system.chestrc
T
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

142 lines
5.0 KiB
Plaintext

#
# system.chestrc -- the menus of the MCDE ToolChest
#
# The grammar is the reference's (docs/MCDE-PROGRAMS.md B2): Menu NAME [dynamic]
# { entries }, "LABEL f.menu NAME", "LABEL f.exec "command"",
# "no-label f.separator". A user's ~/.chestrc replaces this file;
# ~/.auxchestrc will be added when the include path is read (T2).
#
# The menus and their order are the IRIX 6.5 system.chestrc's
# (research/notes, ~/tmp/irix_extract/assets/desktop-config/toolchest/
# system.chestrc), with every action mapped to the MCDE program that does the
# same thing. Entries without a counterpart here are left out and named in a
# comment at the place they would be -- a menu entry that starts nothing is
# worse than one that is missing.
#
Menu ToolChest
{
Desktop f.menu Desktop
no-label f.separator
"Selected" f.menu Selected
no-label f.separator
Internet f.menu Internet
no-label f.separator
Find f.menu Find
no-label f.separator
System f.menu System
no-label f.separator
Help f.menu Help
}
Menu Desktop
{
"Access Files" f.menu AccessFiles
"Shared Resources" f.menu SharedStuff
"Customize" f.menu Customize
# "Extra Desks": the workspace switch is dtwm's own window and F8 opens the
# overview; neither is a command a menu entry can start.
"Control Audio" f.exec "dtsystemsettings -pane sound"
"Empty Dumpster" f.exec "dtaction DtEmptyTrash"
"Eject Media" f.exec "dtdiskutility"
no-label f.separator
"Start ScreenSaver" f.exec "dtaction StartDtscreenRandom"
"Open Unix Shell" f.exec "dtterm"
no-label f.separator
"Log Out" f.exec "dtaction ExitSession"
}
Menu AccessFiles
{
"In my Home Directory" f.exec "dtfile -dir \"$HOME\""
"In the Network" f.exec "dtfile -dir \"$HOME/Network\""
no-label f.separator
"As Another User" f.exec "dtterm -title \"Remote Login\" -e dtremotelogin"
"By Remote Login" f.exec "dtterm -title \"Remote Login\" -e dtremotelogin"
}
Menu SharedStuff
{
"On This Workstation" f.exec "dtsystemsettings -pane sharing"
"On a Remote Workstation" f.exec "dtfile -dir \"$HOME/Network\""
}
Menu Customize
{
"Windows" f.exec "dtsystemsettings -pane appearance"
"Desktop" f.exec "dtsystemsettings -pane desktop"
"Sounds" f.exec "dtsystemsettings -pane sound"
# "Utilities", "System Alerts" and "Environment Setup": no MCDE program.
no-label f.separator
"Background" f.exec "dtsystemsettings -pane desktop"
"Color Schemes" f.exec "dtsystemsettings -pane appearance"
"Screen Saver" f.exec "dtsystemsettings -pane desktop"
no-label f.separator
"Mouse" f.exec "dtsystemsettings -pane mouse"
"Keyboard" f.exec "dtsystemsettings -pane keyboard"
"Accessibility" f.exec "dtsystemsettings -pane accessibility"
"Language" f.exec "dtsystemsettings -pane language"
}
Menu Internet
{
"Open Web Browser" f.exec "dtsystemsettings -open-web about:blank"
"Internet Accounts" f.exec "dtsystemsettings -pane internet"
"Network" f.exec "dtsystemsettings -pane network"
no-label f.separator
"Remote Login" f.exec "dtterm -title \"Remote Login\" -e dtremotelogin"
}
Menu Find
{
"Search For Files" f.exec "dtfile -dir \"$HOME\""
"File QuickFind" f.exec "dtfile"
"Host QuickFind" f.exec "dtfile -dir \"$HOME/Network\""
# "Demos": no MCDE demo collection yet.
no-label f.separator
"Info Search" f.exec "dtinfo"
"Icon Catalog" f.exec "dticon"
}
Menu Selected dynamic
{
}
Menu System
{
"System Manager" f.exec "dtsystemsettings"
"Process Manager" f.exec "dtactivity"
"Filesystem Manager" f.exec "dtdiskutility"
"Printer Manager" f.exec "dtprintinfo"
"Software Manager" f.exec "dtsystemsettings -pane update"
# "License Manager": no MCDE counterpart.
no-label f.separator
"Display Properties" f.exec "dtsystemsettings -pane displays"
"Date & Time" f.exec "dtsystemsettings -pane datetime"
"System Information" f.exec "dtsystemsettings -pane sysinfo"
"Utilities" f.menu Utilities
no-label f.separator
# Both open dtbar's one question (Shut Down, Help = Restart); the power
# call itself is McdeSys's, through the bar that owns the session.
"Restart System" f.exec "dtbar -command power"
"Shut Down System" f.exec "dtbar -command power"
}
Menu Utilities
{
"Enable Remote Display" f.exec "xhost +"
"Disable Remote Display" f.exec "xhost -"
no-label f.separator
"Start New Console" f.exec "dtconsole"
# "Restart Window Manager": dtwm's own menu has f.restart; no command.
}
Menu Help
{
"MCDE Guide" f.exec "dtinfo"
"Man Pages" f.exec "dtinfo"
"Release Notes" f.exec "dtinfo"
no-label f.separator
"About MCDE" f.exec "dtsystemsettings -pane about"
}