From: Bill Lear Date: Tue, 23 Jan 2007 21:54:40 GMT Subject: Re: [Announce] GIT v1.5.0-rc2 Message-ID: <17846.33824.555296.660115@lisa.zopyra.com> In-Reply-To: On Tuesday, January 23, 2007 at 22:09:24 (+0100) Peter Baumann writes: >Bill Lear schrieb: >>... >> If I do this: >> >> % export PAGER=less >> % unset LESS >> % git diff >> >> I get 30 lines of output in my current repository, as I should. >> >> If I then do this: >> >> % LESS=-FRS git diff >> >> I get nothing --- I do see a brief blink of output, but it's as if >> less swallows it whole and I see nothing but the next prompt. >> > >This is propably caused by activating "Enable Alternate Screen Switching" >in xterm. If you have this feature enabled, you get a clean screen (no >fragments of the displayed file are shown after quitting less). Try to >disable it and see if it works. Tried as instructed: I get output when I should get output. However, when I should get no output, it clears/scrolls all the way down to the bottom of the screen (LESS=-FRS git diff). Bill