On Thu, 2002-06-06 at 10:55, Ajay wrote:
> Hai,
> 
> I cat'ed a binary file on the console :-) and as you can guess,
> a lot of non-printable chars were displayed; but the problem is
> that even the bash prompt became un-readable. I tried re-login
> after logging out, but no go. A reboot of course, set things
> right.
> 
> This has been happening a couple of times now, since I shifted
> to console from X. Any solutions?
> 
a few snippets from LOST
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Console gibberish (#1)                         LOST #018

To clear gibberish all over the screen (e.g. after  cat of a
compressed or binary file) :

Method #1: Use ANSI escape sequence: $echo -e "\033c"

####<[EMAIL PROTECTED]>####################################
:

:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Console gibberish (#2)                         LOST #046

To clear  gibberish  all over the screen (e.g. after  cat of a
compressed or binary file) use "tset" from ncurses-bin package
Usually the  command  "reset"  will  clear the screen for you.
"reset" is merely a symlink to the program "tset".

####<[EMAIL PROTECTED]>####################################
:
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Console gibberish (#3)                         LOST #132

To clear console of gibberish (eg. after cat of a tar.gz file)
if your shell is bash, type in Ctrl-V-Ctrl-O (^v^o) [Return] !
Conversely, to ruin someone's happiness ^v^n ... and vamoose !

####<[EMAIL PROTECTED]>####################################
:


:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Console gibberish (#4)                         LOST #133

To clear console of gibberish (eg. after cat of a tar.gz file)
go to another virtual console and type in:
echo -e '\017' > /dev/tty1  # if tty1 was the affected console

####<[EMAIL PROTECTED]>####################################



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to