[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [VI] Man sider dårligt formatereret



Robert Larsen wrote:

> Hejsa
> 
> Jeg har Vim kørende på en maskine, som har fået installeret Linux From
> Scratch og det kører næsten perfekt. However....når jeg læser man-sider
> med :Man kommandoen (et plugin som splitter skærmen op) så ser manual
> sider forkerte ud:
> 
> :Man mktime
> 1mNAME0m
>        asctime,  ctime, gmtime, localtime, mktime - transform date and
>        time to broken-down time or ASCII
> 
> 1mSYNOPSIS0m
>        1m#include <time.h>0m
> 
>        1mchar *asctime(const struct tm *4m22mtm24m1m);0m
>        1mchar *asctime_r(const struct tm *4m22mtm24m1m, char
>        *4m22mbuf24m1m);0m
> 
>        1mchar *ctime(const time_t *4m22mtimep24m1m);0m
> ...
> ...
> ...
> 
> 
> Vises de med 'K' kommandoen eller uden for Vim, så ser de rigtige ud. Jeg
> bruger den samme de samme Vim konfigurations filer på min 'normale'
> maskine som kører RedHat 7.3 (hvor det virker) og på LFS maskinen. Er der
> nogen, der ved hvad der mangler ? Eller måske hvor jeg kan finde noget
> information, for ':help Man' siger ikke meget.
> 
> Robert
> 
> 
> :set
> --- Options ---
>   autoindent          ignorecase          showmatch          
>   ttymouse=xterm
>   autowrite           incsearch           smartcase           viminfo='20,
>   backspace=2         scroll=11           tabstop=4
>   hlsearch            shiftwidth=4        ttyfast
> 
> 
> 
> :ver
> VIM - Vi IMproved 6.1 (2002 Mar 24, compiled Oct 28 2002 10:28:26)
> Compiled by sslug@sslug
> Normal version without GUI.  Features included (+) or not (-):
> +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent
> -clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info
> +comments +cryptv -cscope +dialog_con +diff +digraphs -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
> -osfiletype +path_extra -perl +postscript +printer -python +quickfix
> -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
> -xterm_clipboard -xterm_save
>    system vimrc file: "/etc/vimrc"
>      user vimrc file: "$HOME/.vimrc"
>       user exrc file: "$HOME/.exrc"
>   fall-back for $VIM: "/usr/share/vim"
> Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H  
> -DSYS_VIMRC_FILE="/etc/vimrc"
>  -g -O2
> Linking: gcc   -L/usr/local/lib -o vim       -lncurses  -ldl
> 
> 
> 
> 
> /etc/vimrc:
> :syntax on
> :autocmd FileType * set formatoptions=tcql nocindent comments&
> :autocmd FileType c,cpp,java set formatoptions=croql cindent
> :comments=sr:/*,mb:*,ex:*/,:// set autoindent
> :set autowrite
> :set shiftwidth=4
> :set ts=4
> :set hlsearch
> :set incsearch
> :set bs=2
> :set ignorecase
> :set smartcase
> :set showmatch
> :set viminfo='20,"50
> runtime ftplugin/man.vim

Det må da være dine environment settings det er galt med ikke vim.
"set" og se hvad TERM er sat til, vil jeg gætte på.
Ellers kunne det også være en anden setting.




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 18:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *