home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Window

$

cons


->Window(
[

flag

, 

left

, 

top

, 

right

, 

bottom

]
)

Gets or sets the current console window size. If called without arguments, returns a four-element list containing the current window coordinates in the form of (left, top, right, bottom) . To set the window size, you have to specify an additional flag parameter. If it is 0 (zero), coordinates are considered relative to the current coordinates; if it is non-zero, coordinates are absolute.