-R or --RAW-CONTROL-CHARS
Like -r, but tries to keep track of the screen appearance where possible. This works only if the
input consists of normal text and possibly some ANSI "color" escape sequences, which are sequences
of the form:
ESC [ ... m
where the "..." is zero or more characters other than "m". For the purpose of keeping track of
screen appearance, all control characters and all ANSI color escape sequences are assumed to not
move the cursor. You can make less think that characters other than "m" can end ANSI color escape
sequences by setting the environment variable LESSANSIENDCHARS to the list of characters which can
end a color escape sequence.
|