Advertisement

Mac Terminal Functions

Started by May 23, 2004 01:36 PM
0 comments, last by Venerable Vampire 20 years, 5 months ago
From a mac c program, can I get the size of the terminal window? If you run the terminal you can see the size (in characters) at the top. Can I get these values with a function? -------------------------------------------------------- Life would be so much easier if we could just get the source code.
--------------------------------------------------------Life would be so much easier if we could just get the source code.
Assuming you''re talking about OS X, try looking up the ncurses or terminfo man pages on your system. Both should have routines to determine terminal size.

This topic is closed to new replies.

Advertisement