Terminal does not parse ANSI escapes in a pager, only on standard output
|Reported by:||tidux||Owned by:||nobody|
|Component:||Applications/Command Line Tools||Version:||R1/Development|
To reproduce, open any installed manpage with "man". The file is unreadable garbage, with lots of ESC[ characters. If you redirect the output of that "man" command to a file, and then open the file with "cat", Terminal displays it properly. However, this means you lose search and seek and the ability to get readable output from grepping a manpage. Marking this as a Beta 1 bug because unreadable manpages is or should be a blocker for most of our intended userbase. I'm reporting this bug on nightly hrev46791, but I believe it's reproducible all the way back to Alpha 3.
This might also be a bug with our version of "less", since ncurses apps like Tin or w3m work as expected.
Change History (4)
comment:2 by , 7 years ago
|Component:||Applications/Terminal → Applications/Command Line Tools|