On Sat, Nov 11, 2017 at 9:30 AM, Nico Kadel-Garcia <[log in to unmask]> wrote: > On Sat, Nov 11, 2017 at 8:10 AM, Tom H <[log in to unmask]> wrote: > [ Hundreds of lines of fine-tuning prompt manipulation code and theory > snipped, especially involving quote handling ] Hundreds?! Hopefully someone find them useful! > And.... *this* is why I ignore it all and just use "stty sane" when my > console gets confused. "ssty sane" "reset" "printf \033c" Prefixed with a linefeed ("ctrl-j") so as to ensure that the actual command doesn't start with any of the previous garbage.