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

Re: less, exit but left content on screen



On Sat, Aug 04, 2007 at 09:06:19PM -0400, Tong Sun wrote:
> I remember that I used to be able to exit 'less' by command key 'x' or
> something so that the content just viewed is left on screen, instead of
> being cleared and restored to the screen before invoking 'less'. But I
> found there is no such capability in current less (version 394). Or
> is there? 

Can't you just call "less -X" or set the environment variable LESS
to contain "-X"?

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting
Encrypted mail welcome - keyid 0x604DE5DB

Attachment: signature.asc
Description: Digital signature


Reply to: