[NTLUG:Discuss] Screen scramble trying to cat /etc/skel/.less

Rusty Haddock rusty at fe2o3.lonestar.org
Sat Aug 25 16:34:26 CDT 2001


Chris Cox wrote:
    >To reset the linux console: reset
    >>From an xterm/other psuedo term: tput reset
    ...
    >
    >Things should be back to normal.
    >
    >To disable the alternative character set mode (prevent the ^O/^N thing),
    >echo "<ESC>)B", again you can type an escape by doing a Control-V, Escape.
    >
    >This is all specific to ANSI and vt100 derivatives... which most
    >terminals under Linux will be.

For anything ANSI or vt[1234...]00 derivative, ESC c is the reset sequence.
    echo ^V^[c
works in many shells as does
	echo "\033c"

My experience is that the whole terminal needs reseting in these instances
of "garbage", not just the character set mode. 

	-Rusty-
-- 
   _____        Rusty Haddock  =  KD4WLZ  =  rusty at fe2o3.lonestar.org
|\/   o \   o
|   (  -<  O o   The day Microsoft makes something that doesn't suck
|/\__V__/           is the day they start making vacuum cleaners.



More information about the Discuss mailing list