packages: adapter - use less only if terminal is to short
Tomasz Pala
gotar at polanet.pl
Tue Dec 1 20:22:50 CET 2009
On Tue, Dec 01, 2009 at 11:15:39 +0100, Przemyslaw Iskra wrote:
> I personally consider very annoying not being able to see what I'm
> accepting -- there are terminals, like gnome-terminal, which switch
> buffers for normal and ncurses-based operation, so after I exit less, or
> it exists for me (in case of -E or -F), I'm unnable to see the text
> anymore.
-FX
> Having to press "q" is annoying as well.
> And lines to long for the terminal get very messy.
Old good school would say: man less
> So I added PAGER variable, less -r is the default unless you have it
> predefined in your environment.
>
> $ cat ~/.adapterrc
> PAGER="cat"
So did you mean simple 'less -FXR'?
--
Tomasz Pala <gotar at pld-linux.org>
More information about the pld-devel-en
mailing list