|
@@ -113,9 +113,7 @@ def do_pager(text):
|
|
|
|
|
|
pagers = ['less','more']
|
|
|
end_msg = '\n(end of text)\n\n'
|
|
|
- # --- Non-MSYS Windows code deleted ---
|
|
|
- # raw, chop, horiz scroll 8 chars, disable buggy line chopping in MSYS
|
|
|
- os.environ['LESS'] = '--shift 16 -RS' if gc.platform == 'win' else '--shift 8 -RS'
|
|
|
+ os.environ['LESS'] = '--jump-target=2 --shift=4 --tabs=4 --RAW-CONTROL-CHARS --chop-long-lines'
|
|
|
|
|
|
if 'PAGER' in os.environ and os.environ['PAGER'] != pagers[0]:
|
|
|
pagers = [os.environ['PAGER']] + pagers
|