Vim jest zaawansowanym edytorem tekstu, wymyślonym aby zastąpić standardowy Unixowy edytor 'Vi’ i dostarczyć dodatkowego zestawu funkcji i właściwości.
Konfiguracja i kompilacja przy użyciu skryptu (w załączeniu):
soft@wega:~/vim% ./drf_vim-7.3_conf
cc: Sun C 5.10 SunOS_sparc 2009/06/03
usage: cc [ options] files. Use 'cc -flags' for details
MANPATH=/usr/local/share/man:/usr/local/man:/usr/share/man
PATH=/usr/local/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin
CFLAGS=-fast
CPPFLAGS=-I/usr/local/include
CXXFLAGS=-fast
LDFLAGS=-L/usr/local/lib -R/usr/local/lib
=============================================
dmake clean [y|n] ?
n
=============================================
configure [y|n] ?
y
configure: creating cache auto/config.cache
checking whether dmake sets $(MAKE)... yes
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
...
Kompilacja:
dmake [y|n] ?
y
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && dmake first
CC="cc -Iproto -DHAVE_CONFIG_H -I/usr/local/include " srcdir=. sh ./osdef.sh
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -fast -o objects/buffer.o buffer.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -fast -o objects/blowfish.o blowfish.c
...
1637 translated messages, 3 fuzzy translations.
Compilation successful
=============================================
Testowanie (wyjście przekierowane do pliku).
dmake test [y|n] ?
y
Test results:
ALL DONE
dmake install po przełączeniu na roota.
# vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 18 2011 13:09:06)
Compiled by DrFugazi
Big version without GUI. Features included (+) or not (-):
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs
-dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path
+find_in_path +float +folding -footer +fork() +gettext -hangul_input +iconv
+insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape
+mouse_dec -mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse
+mouse_xterm +multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype
+path_extra -perl +persistent_undo +postscript +printer -profile -python
-python3 +quickfix +reltime +rightleft -ruby +scrollbind +signs +smartindent
-sniff +startuptime +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
-xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/local/share/vim"
Compilation:
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -fast
Linking: cc -L/usr/local/lib -R/usr/local/lib -o vim -lm -ltermlib -lnsl -lsocket -liconv -lintl