variable line-display pager?

Warren Block wblock at wonkity.com
Sun Feb 20 15:26:34 UTC 2011


On Sun, 20 Feb 2011, Gary Kline wrote:

> On Sat, Feb 19, 2011 at 06:28:07PM -0700, Warren Block wrote:
>> On Sat, 19 Feb 2011, Gary Kline wrote:
>>
>>> Zank you, Sir Chip.. Anybody else?   I'm loathe to use anything gui,
>>> but here's  where I'll be happy w ith something GUI THat i can
>>> squeeze my "15" or small-n lines' worth into.
>>
>> xterm -geometry 80x18 -e 'less -N /var/log/Xorg.0.log'
>>
>> Why 18 to get 15 lines?  One line for the less prompt, maybe two for
>> the title bar on my system.
>
>
> 	EGAD!  Did I _really_ type 80x18?  I *,EANT* 80x48 which is the
> 	size of my Konsoles.  Some reason, do not know, my mind gets
> 	Way ahead of my fingers.

You didn't, I did.  An 80x18 geometry xterm provides 16 lines of text, 
one for the less prompt.


More information about the freebsd-questions mailing list