On Oct 13, 2015, at 8:49 PM, Malcolm Herbert wrote:
I am able to restore my terminal with 'reset' or 'stty sane' howeverwhen I add these to rules within my Makefile they appear to be triggered by make but by the time it finishes, the terminal is back to its brokenstate.
Is it any better if you try 'stty -g' ? stty_save=`stty -g` # or $(stty -g) psql stty $stty_save Or, in your trap.
