Resetting a "scrambled" terminal

Resetting a "scrambled" terminal

Post by Dave Bro » Tue, 24 Feb 1998 04:00:00



If I accidentally "cat" a binary file, the terminal I'm using
gets "scrambled", i.e., characters on screen are translated,
unreadable.  Other virtual terminals aren't affected--Alt-F2,
etc.  

Is there any way to "rescue" that terminal?  (BTW, "stty sane"
doesn't help...)    The only way to restore it seems to be a
reboot.

--
Dave Brown   Austin, TX

 
 
 

Resetting a "scrambled" terminal

Post by Kristian Ellings » Tue, 24 Feb 1998 04:00:00



>If I accidentally "cat" a binary file, the terminal I'm using
>gets "scrambled", i.e., characters on screen are translated,
>unreadable.  Other virtual terminals aren't affected--Alt-F2,
>etc.  

>Is there any way to "rescue" that terminal?  (BTW, "stty sane"
>doesn't help...)    The only way to restore it seems to be a
>reboot.

Have you tried to type "reset"?

--

************************************************************************
KRISTIAN ELLINGSEN            

www: http://ellingsen.home.ml.org

phone: +47 905 13 552

All power corrupts, but we need electricity.
************************************************************************

 
 
 

Resetting a "scrambled" terminal

Post by David Panofs » Tue, 24 Feb 1998 04:00:00


: If I accidentally "cat" a binary file, the terminal I'm using
: gets "scrambled", i.e., characters on screen are translated,
: unreadable.  Other virtual terminals aren't affected--Alt-F2,
: etc.  
:
: Is there any way to "rescue" that terminal?  (BTW, "stty sane"
: doesn't help...)    The only way to restore it seems to be a
: reboot.

There are two thing you can try...

echo a ^O to the terminal (type the following:

        echo "^V^O"

)

Or a more fool proof way which involves more blind typing is:

        echo -e "\033c"


 
 
 

Resetting a "scrambled" terminal

Post by Jeremy Mathe » Wed, 25 Feb 1998 04:00:00



>If I accidentally "cat" a binary file, the terminal I'm using
>gets "scrambled", i.e., characters on screen are translated,
>unreadable.  Other virtual terminals aren't affected--Alt-F2,
>etc.  

>Is there any way to "rescue" that terminal?  (BTW, "stty sane"
>doesn't help...)    The only way to restore it seems to be a
>reboot.

Put the following in /usr/local/bi/Reset - you'll be glad you did.

#!/bin/sh
# Print ^E^O
printf "\005\017"

************************************************************************
Do not meddle in the affairs of troff, for it is subtle and quick to
anger.


          hundreds, if not thousands, of dollars, every time he posts -
************************************************************************
rwvpf wpnrrj ibf ijrfer

 
 
 

Resetting a "scrambled" terminal

Post by Kurt Wa » Wed, 25 Feb 1998 04:00:00



Quote:>If I accidentally "cat" a binary file, the terminal I'm using
>gets "scrambled", i.e., characters on screen are translated,
>unreadable.  Other virtual terminals aren't affected--Alt-F2,
>etc.  

>Is there any way to "rescue" that terminal?  (BTW, "stty sane"
>doesn't help...)    The only way to restore it seems to be a
>reboot.

>--
>Dave Brown   Austin, TX

Try typing "reset" on the garbled terminal; try ^L on the garbled terminal.

Kurt

 
 
 

Resetting a "scrambled" terminal

Post by Chris Saunderso » Thu, 26 Feb 1998 04:00:00



> If I accidentally "cat" a binary file, the terminal I'm using
> gets "scrambled", i.e., characters on screen are translated,
> unreadable.  Other virtual terminals aren't affected--Alt-F2,
> etc.  

try either:

reset

or

echo ^V^O

--

Technical Support Engineer      Telephone: (08) 8379 7333
Maptek Pty Ltd                  Fax:       (08) 8379 7377
                                Powered by Linux, Jolt and the Orb.

 
 
 

Resetting a "scrambled" terminal

Post by Brian McCaule » Thu, 26 Feb 1998 04:00:00




> > If I accidentally "cat" a binary file, the terminal I'm using
> > gets "scrambled", i.e., characters on screen are translated,
> > unreadable.  Other virtual terminals aren't affected--Alt-F2,
> > etc.  

> try either:

> reset

> or

> echo ^V^O

These answer this specific case.  More generally try reading the FAQ
before you post.

--

 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/

 
 
 

Resetting a "scrambled" terminal

Post by Florian Kuehne » Fri, 27 Feb 1998 04:00:00





>> > If I accidentally "cat" a binary file, the terminal I'm using
>> > gets "scrambled", i.e., characters on screen are translated,
>> > unreadable.  Other virtual terminals aren't affected--Alt-F2,
>> > etc.  

>> try either:

>> reset

>> or

>> echo ^V^O

>These answer this specific case.  More generally try reading the FAQ
>before you post.

>--

> .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

>.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
> # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/


--
|Subject: neue newsgroup
|Newsgroups: de.alt.fan.bluemchen
|add /de/alt/fan/frenking
  -- Christian Frenking kreiert eine neue Newsgroup
 
 
 

Resetting a "scrambled" terminal

Post by Saadiq Rodgers-Ki » Wed, 04 Mar 1998 04:00:00





>> > If I accidentally "cat" a binary file, the terminal I'm using
>> > gets "scrambled", i.e., characters on screen are translated,
>> > unreadable.  Other virtual terminals aren't affected--Alt-F2,
>> > etc.  

>> try either:

>> reset

>> or

>> echo ^V^O

>These answer this specific case.  More generally try reading the FAQ
>before you post.

You presume that everyone knows where the FAQ is.  The answer to this and many
other questions, can be found at http://sunsite.unc.edu/mdw/ (the Linux
Documentation Project), yes, but if you aren't at least going to tell someone
where to find the info, what is the point?

--
Saadiq
-=>take NO_JUNK out of the email address to reply<=-
saadiqr AT princeton DOT edu

 
 
 

Resetting a "scrambled" terminal

Post by Frank Pitt » Wed, 11 Mar 1998 04:00:00


: If I accidentally "cat" a binary file, the terminal I'm using
: gets "scrambled", i.e., characters on screen are translated,
: unreadable.  Other virtual terminals aren't affected--Alt-F2,
: etc.  

: Is there any way to "rescue" that terminal?  (BTW, "stty sane"
: doesn't help...)    The only way to restore it seems to be a
: reboot.

: --
: Dave Brown   Austin, TX

try typing echo ctrl-v esc-c.
--

Keep working millions on welfare depend on you
-------------------

 
 
 

Resetting a "scrambled" terminal

Post by Harold C.L. Bau » Thu, 12 Mar 1998 04:00:00


Quote:> : If I accidentally "cat" a binary file, the terminal I'm using
> : gets "scrambled", i.e., characters on screen are translated
> try typing echo ctrl-v esc-c.

Or "reset".

Bo.