[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: less, exit but left content on screen



On Aug 13, 6:30 pm, David Brodbeck <bro...@u.washington.edu> wrote:
> On Aug 12, 2007, at 10:20 AM, Thomas Dickey wrote:
>
> > On Sat, Aug 11, 2007 at 10:40:11PM +0200, Bob Proulx wrote:
> >> Using the standard xterm the control-middle mouse button will display
> >> many options of which one is "Show AlternateScreen".  It is possible
> >> to flip back and forth (inconveniently) to see this manually
> >> switch to
> >> the alternatescreenbuffer.
>
> > ...what would you regard as a convenient way to flip back/forth?
>
> I think what he's getting at is you can't see both at once.  This is
> annoying, e.g., if I'm reading a manpage and want to refer to an
> example while I type a new command.
>
> My workaround is usually to open a second xterm to read manpages in.
>

I can sympathize with the OP, it's nice to get to the part of the man
page you want, then just dump out of less and have the relevant bit
still on the screen.

A way to do this without opening a second xterm is to run screen in
your terminal session.  Then it is even easier to flip back and forth,
copy'n'paste, etc..  Also, it still works if you are on a console, an
ssh session, or even a serial terminal...

pedxing



Reply to: