Restoring clean ^C and ^D exit from dx login