Files
makronix/tools
lotherkandClaude Sonnet 5.5 4650761546 mcde-shot.sh: TTPATH, so ttsession knows the ToolTalk types (t0206)
DtAction "Trash" (Cmd+Delete in dtfile) failed in the harness with
TT_ERR_NO_MATCH "No handler could be found for this message, and the
disposition was not queue or start".  ttsession(1): the type databases
(types.xdr) are read from $HOME/.tt, /etc/tt, $OPENWINHOME/etc/tt and
/usr/dt/appconfig/tttypes, or from the directories in TTPATH; lib/tt/slib/
mp_typedb.C tt_path() appends /types.xdr to a directory of TTPATH.  The harness
has none of the default places, so ttsession had no ptype.  Session() now has
TTPATH=build/mcde-root/dt/appconfig/tttypes (the install's types.xdr).

Measured (Xvfb, real dtfile on a scratch folder with one dummy file): before,
the dialog "Action: Trash [Error] ... TT_ERR_NO_MATCH" and the file stays;
after, the folder is empty ("2 Items"), ~/.dt/Trash of the test home has
victim.txt (6 bytes), and File > Open Trash shows "Trash Can" with it
("1 Item(s)").  The cause was the session, not dtfile: no change to Trash.c.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 00:40:41 +00:00
..