On Tuesday, January 23, 2007 at 22:09:24 (+0100) Peter Baumann writes: >Bill Lear <rael@xxxxxxxxxx> 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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html