[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-user
Subject: [gentoo-user] Re: dog - man's best friend.
From: Nikos Chantziaras <realnc () arcor ! de>
Date: 2012-02-23 20:52:42
Message-ID: ji68us$dbu$1 () dough ! gmane ! org
[Download RAW message or body]
On 23/02/12 22:42, Alan Mackenzie wrote:
> I've
> set the threshold between the two cases at 60 lines. If your screen is
> a different size, change the two obvious bits.
You can use the $LINES env variable to get the height of the current
terminal. Another way to get them is with the "tput" command. "tput
lines" and "tput cols" print the amount of lines and columns on stdout.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic