BreadCrumbs: Terminal Mac OS X
Terminal Mac OS X
From Luke Jackson
The Terminal Application is found under Finder => Applications => Utilities => Terminal.
[edit]
Reset (Weird) Line Draw Characters
File > Send Reset or Apple Key + R
tput reset
What often happens to me is the escape sequence for setting a graphics (line draw) font is echoed to the terminal (because it just happened to be in the file I was cat'ing). That particular sequence is "Esc(0" which can be reset with "Esc(B".
Try typing this in a terminal:
echo "\033("0 echo "\033("B
[edit]
Clear Active Command Line
Ctrl + U
This will clear the entire line until the prompt. Quite useful when you have a long command buffered into history and need to type something simple like ls.
[edit]