D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Terminal size?

 

Hi all,

Is there a way to find out the size (WxH) of the current
terminal/console session from within BASH?  I am trying to write a menu
system using dialog for the "interface", and I would like to set the
position and sizes of the various dialogues nicely.

Cheers.
Grant. :)

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html