Hi All,

Im looking for a few hints on how to better use more / less / man /
perldoc / etc.
Im using an unmodified less configuration, as shipped in 7.1.


1) when I 'q' out of a 'less/ man / perldoc' session, the screen is
restored to pre-less display.

This is generally good, but sometimes Id like to preserve the text
on-screen so that
I can read it while I type the command.

I tried Q, ZZ, ( discovered by reading 'h' help) but they work the same
as 'q'.
 ^C is evidently trapped; it doesnt kill the session.

A manual kill from another window works; the 'less' session ends, and
the screen
is not refreshed to a pre-more state.

Can this behavior be enabled via some key-bindings ?


2) 'more' works in this regard.  It quits without restoring pre-more.
Of course,  more doesnt give it to me both ways, which (of course) I
want.


3)  pipe behavior

these behave differently wrt backing up thru the buffer.

more junk                # can back up 'b' thru junk
cat junk | more        # cannot back up
cat junk | less            # can


The obvious answer is to use more or less selectively, but that assumes
that you
know beforehand whether you want to preserve or refresh the screen.
Like I said, I want it both ways.

Another partial answer is 'alias more=less',
then I dont have to remember to use less (Im a creature of habit)

tia



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to