DirectNET

Data Center Management Solutions including UPS Systems, Data Center Cooling, KVM over IP & IP Power Strips, Server Racks and Server Rack accessories; KVM Switches and KVM Extenders; Rackmount Monitors and Rackmount Keyboards.


NAVIGATION
Home
Store
INSIDE MAC
Television Shows
Broadcast Shows
Daily News Shows
Special Shows
EVENTS
DAILY TIPS
Design
Mac OS X
Mac OS X UNIX
COMMUNITY
Surveys
NEWS
Current
Press
Archive
FEATURES
Editorial
Dr. Mac
Reviews
Reader Reports
RESOURCES
FAQ
Documentation
Learning Center
MAN pages
Glossary
Tutorials
Tips
Links

OUR PARTNERS

OSXFAQ Mac OS X UNIX Tip-of-the-Day   back to index

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


Discuss this trick in the Learning Center forum


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

Copyright © 2000-2010 Inside Mac Media, Inc. All rights reserved.
Apple assumes no responsibility with regard to the selection, performance, or use of the products or services. All understandings, agreements, or warranties, if any, take place directly between the vendors and prospective users.
Apple, the Apple logo, Mac, PowerMac G4, PowerMac G5, Xserve, Xserve RAID, PowerBook, iBook, Airport, AirPort Extreme, iMac, eMac, iLife, iMovie, iCal, iPhoto, iTunes, QuickTime, FireWire, iPod, iSight, AppleWorks, Macintosh, Jaguar, Panther, Mac OS, Mac OS X and Mac OS X Server are trademarks of Apple Computer, Inc.