De. Chip,

Charles E Campbell Jr said on 12/04/2006 02:52 PM:
Guido Van Hoecke wrote:

The :Man command always outputs lines that do not fit within the current line length.

You could try Manpageview, available at

 * from vim.sf.net:
     http://vim.sourceforge.net/scripts/script.php?script_id=489

 * latest version from my website:
     http://mysite.verizon.net/astronaut/vim/index.html#MANPAGEVIEW


I got the latest version (dec 4) from your website.

It ignores my default number option, and foldcolumn value. I like that: no need for an autocommand in my .vimrc.

However, I do not understand why it does not properly display certain characters. The -f option section in the procmail manpage displays as follows (using plain linux (ubuntu 6.10) man command):

-f fromwhom
     Causes  procmail  to regenerate the leading ‘From ’ line with
     fromwhom as the sender (instead  of  -f  one  could  use  the
     alternate and obsolete -r).  If fromwhom consists merely of a
     single ‘-’, then procmail will only update the  timestamp  on
     the  ‘From ’ line (if present, if not, it will generate a new
     one).

Manpageview shows this:

-f fromwhom
      Causes  procmail  to regenerate the leading â<80><90>From '
line with
      fromwhom as the sender (instead  of  -f  one  could  use  the
      alternate and obsolete -r).  If fromwhom consists merely of a
      single â<80><90>-', then procmail will only update the
timestamp  on
      the  â<80><90>From ' line (if present, if not, it will
generate a new one).

Apparently it has a problem with opening quotes? Additionally, this causes some unfortunate wrapping.

The default man command underlines the three occurances of the 'fromwhom' word, Manpageview doesn't.

The underline thing does not really bother me, the quote character handling is a bit unfortunate.

This behaviour is as described in gvim as well as vim, in a GNOME Terminal 2.16.1 as well as in a plain xterm.

My vim :version output:

:version
VIM - Vi IMproved 7.0 (2006 May 7, compiled Oct 20 2006 09:47:48)
Included patches: 1-35
Compiled by [EMAIL PROTECTED]
Big version with GTK2-GNOME GUI.  Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path +folding -footer +fork() +gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap +menu +mksession +modify_fname +mouse
+mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm +mouse_xterm
+multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra +perl +postscript +printer -profile +python +quickfix +reltime +rightleft +ruby +scrollbind
+signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white +tcl +terminfo +termresponse +textobjects +title +toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim +xsmp_interact
+xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-2.0 - I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pan go-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -pthread -I/usr/ include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/ usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libb onoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include /gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbi t-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/p ango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/u sr/include/cairo -I/usr/include/libxml2 -O2 -g -Wall -D_REENTRANT -D_GNU_SOURCE - DTHREADS_HAVE_PIDS -DDEBIAN -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFS ET_BITS=64 -I/usr/lib/perl/5.8/CORE -I/usr/include/python2.4 -pthread -I/usr/include/t cl8.4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/lib/ruby/1.8/x8
6_64-linux
Linking: gcc -rdynamic -Wl,-export-dynamic -Wl,-E -L/usr/local/lib -o vim -lgtk-x 11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lfontconfig -lXext -lX render -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lgobject-2.0 -lg module-2.0 -lglib-2.0 -lgnomeui-2 -lbonoboui-2 -lgnome-keyring -lxml2 -lgnomecanvas- 2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lg dk_pixbuf-2.0 -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -l Xcursor -lXfixes -lpango-1.0 -lcairo -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgconf -2 -lgobject-2.0 -lORBit-2 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lXt -lncurses -lgpm -Wl,-E -L/usr/local/lib /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/pe rl/5.8/CORE -lperl -L/usr/lib/python2.4/config -lpython2.4 -lutil -Xlinker -export-dynam
ic -L/usr/lib -ltcl8.4 -lieee -lruby1.8 -lm


Regards,
Chip Campbell





--
http://vanhoecke.org ... and go2 places!

Reply via email to