Adding forktty terminal connection/disconnection helper