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

Re: cat'ing a binary does some really funky things with my display



* Mark Wright <mwright@pro-ns.net> writes:

> Every once in a while, I will mistakenly 'cat' a binary.  This almost always
> results in my console going haywire.  Now most text appears as graphic

Okay, you got answers about 'reset' (which is also Ctrl+L I believe),
but maybe you really want to do a 'less' instead of 'cat'.

less also can show .gz files and the like: in my /etc/profile, I have

LESSCHARSET=latin1
export LESSCHARSET
LESS=-M
export LESS
LESSOPEN="|lesspipe %s"
export LESSOPEN

-- 
Colin Marquardt <colin.marquardt@gmx.de>


Reply to: