NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bmake and interactive processes




On Oct 13, 2015, at 8:49 PM, Malcolm Herbert wrote:


I am able to restore my terminal with 'reset' or 'stty sane' however
when 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 broken
state.

Is it any better if you try 'stty -g' ?
stty_save=`stty -g`    # or $(stty -g)
psql
stty $stty_save
Or, in your trap.



Home | Main Index | Thread Index | Old Index