On 11/10/2017 04:21 PM, jdow wrote: > On 2017-11-10 15:14, ToddAndMargo wrote: >> Dear List, >> >> Ever cat a binary file by accident and your >> terminal gets all screwed up. >> >> I had a developer on the Perl 6 chat line give me >> a tip on how to unscrew your terminal and set it >> back to normal. (He way helping me do a binary >> read from the keyboard.) >> >> stty sane^j >> >> Note: it is <ctr><J>, not "enter". >> >> -T > > Make "\033]0;" the first bit of your prompt. Never worry about it again. > > ESC-0 sets the terminal to have no attribute bits set. So it clears > funny display. I've had that as a standard part of my prompts for > decades, even back in the CP/M days. > {^_^} Joanne Sweet!