Sunday, January 15, 2017

man.vim and ansi escape characters

I have a problem when using man.vim that I see a lot of incomplete
ansi control characters and I have not been able to track down
the source of this. Any help is appreciated!

When I start vim with:

vim --noplugin -U NONE

and do

:runtime ftplugin/man.vim
:Man ls

I get a man page with a lot of garbled stuff in it, ie.

LS(1) User Commands LS(1)

1mNAME0m
ls - list directory contents

1mSYNOPSIS0m
1mls 22m[4mOPTION24m]... [4mFILE24m]...

1mDESCRIPTION0m

...

It seems that the escape characters have been incompletely removed.

I am on a newly installed Linux laptop and am running vim 8.0.192
that I compiled --with-features=huge and am using a setup that
I had used on a different machine.

Could there be something in my environment that is problematic?


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: