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

Re: Fixing the stuffed up terminal



"Triggs; Ian" <itriggs@ug.cs.usyd.edu.au> writes:

> I have noticed that if I accidently 'more' or 'cat' or whatever a binary
> file and the terminal displays unreadable characters, the best thing to do
> is to 'more' the file again, keep pressing space until the more prompt
> which says the percentage at the bottom changes back to readable
> characters and then press 'q' to quit back to the bash prompt.  Usually
> you will only have to press space once or twice and your terminal is fine.
> 
> This is the best solution I have figured out and it has worked like a
> charm for me.

I think my solution is even simpler.  I added a '^O' to the beginning
of my prompt, so the prompt automatically corrects this type of
problem.  There are other types of problems, but this is one less to
worry about.

-- 
Carl Johnson		carlj@peak.org



Reply to: