file src/pms
set args -d 2>/tmp/pms.log

echo \n
echo Debugging PMS\n
echo \n
echo ****************************************************************************\n
echo Open a terminal and execute 'tty'. Paste the output of the command into GDB,\n
echo prefixed by 'tty', e.g. 'tty /dev/pts/15'. Then, type 'sleep 100d' into your\n
echo terminal to prevent input from going anywhere. The ncurses window will\n
echo appear in your other terminal.\n
echo ****************************************************************************\n
echo \n
