@DwarfEngineer - One thing you may want to toss in, is on slackware (for instance) pidof is in /sbin, which is not in a regular users search path. You might want to add a sanity check so that if DT is trying to ptrace PID 0, toss an error and say "We need pidof in our shell PATH variable in order to locate the Process ID (PID) of Dwarf_Fortress so that we can attach to it and fiddle its memory bits."It took me awhile reading strace logs of dwarftherapist before I figured out why the !$%! it was trying to ptrace init...