For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > Console Geometry

Console Geometry

Created by dave. Last edited by dave, one year and 217 days ago. Viewed 623 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
(2017-05-08)

Problem

Need to know terminal geometry in characters.

Solution

Command 
tput colstells you the number of columns.
tput linestells you the number of rows.
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt