Dear misc@ readers,

After the recent switch to less(1) from Illumos, I noticed that the
--RAW-CONTROL-CHARS option, although documented, isn't supported
anymore:

[....................snip....................]
┌──[just22@poseidon]-[0]-[✓]-[~]
└─────› colorls -Gla | less --RAW-CONTROL-CHARS
There is no RAW-CONTROL-CHARS option ("less --help" for help)
[....................snip....................]

Instead, "-R" is still accepted; but the behavior is still confusing,
since it seems that ANSI color escape sequences are output in raw form
by default; i.e. both:

[....................snip....................]
┌──[just22@poseidon]-[0]-[✓]-[~]
└─────› colorls -G | less
[....................snip....................]

and:

[....................snip....................]
┌──[just22@poseidon]-[0]-[✓]-[~]
└─────› colorls -G | less -R
[....................snip....................]

give the exact same result. Should we remove the "-R" option completely
(from the man page too) or am I missing something obvious?

Thanks for your time

-- 
Alessandro DE LAURENZIS
[mailto:just22....@gmail.com]
LinkedIn: http://it.linkedin.com/in/delaurenzis

Reply via email to