[Tutor] How to get terminal settings

Bill Campbell bill at celestial.net
Thu Jan 19 20:29:29 CET 2006


On Thu, Jan 19, 2006, Vincent Zee wrote:
>Hi,
>
>say you want to write a more-like program.
>How do you know how many lines the terminal window
>can display.

Use the curses library, and it will take care of this for you.

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

The most serious doubt that has been thrown on the authenticity of the
biblical miracles is the fact that most of the witnesses in regard to
them were fishermen.
		-- Arthur Binstead


More information about the Tutor mailing list