[ILUG] Kate's top of the day

From: John P . Looney (valen at domain tuatha.org)
Date: Wed 20 Oct 1999 - 09:43:09 IST


 Handy one:

 Ever mess up your terminal, by viewing a binary file, so that all the
letters you type look weird ? All you need to do is type:

 $ cat
 ^[c
 ^D
 $

 What this is doing is outputting an escape-c character to the terminal -
the code for a full terminal reset. When you use the cat command, with no
args, it just prints back what you type - in this case, just the escape
key, and the letter c.

 OK, so most distros have a "reset" command, but this will work on any unix
OS - even windows telnet.

Kate

-- 
Microsoft. The best reason in the world to drink beer.
http://www.redbrick.dcu.ie/~valen


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:45 GMT