|
OSXFAQ Mac OS X UNIX Tip-of-the-Day

Week 102 - Unix Commands Reference II (21 March 2005)
by
Adrian Mayo - Editor, OSXFAQ
Thursday - Commands to Control the Terminal
clear ... clear the terminal window
resize ... resize the terminal window
Option -s to simply specify rows and columns
$ resize -s 50 10
stty ... change the setting for the terminal
Option -a to display the current settings
Option -g to display in a form that can be used by -f
Option -f to set the display reading commands from a file
reset ... reset the terminal display
Useful after accidentally printing a binary file that messes up the terminal's settings
tty ... display the user's current terminal
toe ... display all terminfo entries by name
Reads the compiled terminfo database in /usr/share/terminfo/...
tic ... terminfo compiler
Reads terminfo descriptions and compiles them into the terminfo database in /usr/share/terminfo/...
infocmp ... compare and print terminfo descriptions
captoinfo ... convert termcap description to terminfo database
infotocap ... convert terminfo description to termcap description
tput ... query the terminfo database
If you want to learn more about Mac OS X Unix visit the Learning Center
click.
- For beginners: Mac OS X Unix Tutorials
- For detailed information on specific topics: Advanced Unix
- For OS X in gereral: Mac OS X Tutorials
|