#!/bin/sh BASEDIR=%BASEDIR% erl -pa ${BASEDIR}/ebin -pa ${BASEDIR}/mods/ebin \ -noshell -nouser -s edit start $* 2>/tmp/ermacs-misc.log # How do I get sh to run this in response to SIGINT? stty sane