On 12/30/06, Zvi Har'El <[EMAIL PROTECTED]> wrote:
This is very nice, but in to make it work I had to set GROFF_NO_SGR=yes
in my environment. Because, by default grotty (groff driver for
typewriters-like devices)  emits SGR escape sequences  (from  ISO
6429,     also called  ANSI  color  escapes) to change text attributes
(bold, italic, colors). These escape sequences are not processed by col
and not displayed as such by view. I thought it could be handled by some
vim macro, and the answer is perhaps negative. Then, the solution should
be inhibiting grotty from emitting these escape sequences, by setting
the env variable mentined above. Other then this, I think that view with
the man syntax should remove the backspaces itself, and there is n oneed
for col and iconv. But, it seens man.vim doesn't work correctly. It
emboldens and undelines, but does not remove the backspace.

Try
  alias man='LANG=C man'
I don't think you really *want* those non-ascii
characters in the  formatted man text, do you ?


Yakov

Reply via email to