home *** CD-ROM | disk | FTP | other *** search
Wrap
From: mool@oce.nl (Bram Moolenaar) Newsgroups: comp.sources.misc Subject: v44i045: vim - Vi IMproved editor, v3.0, Part26/26 Date: 18 Aug 1994 14:04:14 -0500 Organization: Sterling Software Sender: kent@sparky.sterling.com Approved: kent@sparky.sterling.com Message-ID: <330bbe$eaf@sparky.sterling.com> References: <csm-v44i019=vim.211640@sparky.sterling.com> X-Md4-Signature: fad3c50e97d6c7472551e461123f86fd Submitted-by: mool@oce.nl (Bram Moolenaar) Posting-number: Volume 44, Issue 45 Archive-name: vim/part26 Environment: UNIX, AMIGA, MS-DOS, Windows NT Supersedes: vim: Volume 41, Issue 50-75 #! /bin/sh # This is a shell archive. Remove anything before this line, then feed it # into a shell via "sh file" or similar. To overwrite existing files, # type "sh file -c". # Contents: vim/macros/hanoi/click.me vim/macros/keyword.UU # vim/macros/maze/makefile vim/macros/maze/maze.c vim/macros/readme # vim/macros/urm/urm.mac.UU vim/src/addcr.c vim/src/proto/alloc.pro # vim/src/proto/charset.pro vim/src/proto/cmdcmds.pro # vim/src/proto/csearch.pro vim/src/proto/digraph.pro # vim/src/proto/edit.pro vim/src/proto/fileio.pro # vim/src/proto/help.pro vim/src/proto/linefunc.pro # vim/src/proto/main.pro vim/src/proto/message.pro # vim/src/proto/param.pro vim/src/proto/quickfix.pro # vim/src/proto/regexp.pro vim/src/proto/regsub.pro # vim/src/proto/tag.pro vim/src/proto/termlib.pro # vim/src/proto/undo.pro vim/src/regmagic.h vim/src/termlib.fix.UU # vim/src/vim.prj vim/tools/vim132.UU vim/tutor/Readme # Wrapped by kent@sparky on Mon Aug 15 21:44:17 1994 PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/lbin:$PATH ; export PATH echo If this archive is complete, you will see the following message: echo ' "shar: End of archive 26 (of 26)."' if test -f 'vim/macros/hanoi/click.me' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/macros/hanoi/click.me'\" else echo shar: Extracting \"'vim/macros/hanoi/click.me'\" \(255 characters\) sed "s/^X//" >'vim/macros/hanoi/click.me' <<'END_OF_FILE' X X XSee Vim solve the towers of Hanoi! X XInstructions: X type ":so hanoi.mac<RETURN>" to load the macros X type "g" to start it X Xand watch it go. X X to quit type ":q!<RETURN>" Xto interrupt type CTRL-C X X(This text will disappear as soon as you type "g") END_OF_FILE if test 255 -ne `wc -c <'vim/macros/hanoi/click.me'`; then echo shar: \"'vim/macros/hanoi/click.me'\" unpacked with wrong size! fi # end of 'vim/macros/hanoi/click.me' fi if test -f 'vim/macros/keyword.UU' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/macros/keyword.UU'\" else echo shar: Extracting \"'vim/macros/keyword.UU'\" \(755 characters\) sed "s/^X//" >'vim/macros/keyword.UU' <<'END_OF_FILE' Xbegin 644 vim/macros/keyword XM(B!3;VUE(&AA;F1Y(&ME>7=O<F0M8V]M<&QE=&EO;B!M86-R;W,N"B(@5&AE XM('=O<F0@:6X@9G)O;G0@;V8@=&AE(&-U<G-O<B!I<R!T86ME;B!A<R!A('-E XM87)C:"!S=')I;F<L('1H92!P<F5V:6]U<PHB('!A<G1I86QL>2!M871C:&EN XM9R!W;W)D(&ES(&9O=6YD('=H:6-H('1H96X@<F5P;&%C97,@=&AE('=O<F0@ XM:6X@9G)O;G0*(B!O9B!T:&4@8W5R<V]R+B!4:&4@;6%C<F]S('=O<FL@:6X@ XM:6YS97)T(&UO9&4N"B(*(B!>2R!S96%R8VAE<R!B86-K=V%R9"!F;W(@=&AE XM(&9I<G-T(&UA=&-H"B(@7DX@<V5A<F-H97,@8F%C:W=A<F0@9F]R('1H92!N XM97AT(&UA=&-H("AA9G1E<B!>2RD*(B!>4"!S96%R8VAE<R!F;W)W87)D(&9O XM<B!T:&4@<')E=FEO=7,@;6%T8V@@*&%F=&5R(%Y+*0HB"B(@5&AA;FMS('1O XM($1A=F4@0V%U9VAE>2X*(@HZ;6%P(2 +(!86%@T;8FUM:3]</!M@;2)N>68- XM0&YM;B)N>7=@;6-F#1)N"CIM87 A( X@+AM@;FYM;B)N>7=@;6-F+A)N"CIM X987 A(! @+AM@;DYM;B)N>7=@;6-F+A)N"AM@ X Xend END_OF_FILE if test 755 -ne `wc -c <'vim/macros/keyword.UU'`; then echo shar: \"'vim/macros/keyword.UU'\" unpacked with wrong size! else echo shar: Uudecoding \"'vim/macros/keyword'\" \(520 characters\) cat vim/macros/keyword.UU | uudecode if test 520 -ne `wc -c <'vim/macros/keyword'`; then echo shar: \"'vim/macros/keyword'\" uudecoded with wrong size! else rm vim/macros/keyword.UU fi fi # end of 'vim/macros/keyword.UU' fi if test -f 'vim/macros/maze/makefile' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/macros/maze/makefile'\" else echo shar: Extracting \"'vim/macros/maze/makefile'\" \(104 characters\) sed "s/^X//" >'vim/macros/maze/makefile' <<'END_OF_FILE' X#On the amiga with manx C 5.0 we have to use maze.ansi.c X Xmaze: maze.ansi.o X ln maze.ansi.o -o maze -lc END_OF_FILE if test 104 -ne `wc -c <'vim/macros/maze/makefile'`; then echo shar: \"'vim/macros/maze/makefile'\" unpacked with wrong size! fi # end of 'vim/macros/maze/makefile' fi if test -f 'vim/macros/maze/maze.c' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/macros/maze/maze.c'\" else echo shar: Extracting \"'vim/macros/maze/maze.c'\" \(441 characters\) sed "s/^X//" >'vim/macros/maze/maze.c' <<'END_OF_FILE' Xchar*M,A,Z,E=40,J[40],T[40];main(C){for(*J=A=scanf(M="%d",&C); X-- E; J[ E] =T X[E ]= E) printf("._"); for(;(A-=Z=!Z) || (printf("\n|" X) , A = 39 ,C -- X) ; Z || printf (M ))M[Z]=Z[A-(E =A[J-Z])&&!C X& A == T[ A] X|6<<27<rand()||!C&!Z?J[T[E]=T[A]]=E,J[T[A]=A-Z]=A,"_.":" |"];} END_OF_FILE if test 441 -ne `wc -c <'vim/macros/maze/maze.c'`; then echo shar: \"'vim/macros/maze/maze.c'\" unpacked with wrong size! fi # end of 'vim/macros/maze/maze.c' fi if test -f 'vim/macros/readme' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/macros/readme'\" else echo shar: Extracting \"'vim/macros/readme'\" \(511 characters\) sed "s/^X//" >'vim/macros/readme' <<'END_OF_FILE' XThe macros in the maze, hanoi and urm directories can be used to test Vim for Xvi compatibility. They have been written for vi to show its unlimited Xpossibilities. X XHANOI are macros that solve the tower of hanoi problem. XMAZE are macros that solve a maze (amazing!). XURM are macros that simulate a simple computer: "Universal Register Machine" X XThey are unmodified. X X XThe other files contain some handy utilities: X Xcenter: macros to center current line in 80-character line Xkeyword: keyword completion macros END_OF_FILE if test 511 -ne `wc -c <'vim/macros/readme'`; then echo shar: \"'vim/macros/readme'\" unpacked with wrong size! fi # end of 'vim/macros/readme' fi if test -f 'vim/macros/urm/urm.mac.UU' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/macros/urm/urm.mac.UU'\" else echo shar: Extracting \"'vim/macros/urm/urm.mac.UU'\" \(173 characters\) sed "s/^X//" >'vim/macros/urm/urm.mac.UU' <<'END_OF_FILE' Xbegin 644 vim/macros/urm/urm.mac XM;6%P("H@,4<O24Y)5!8-:B)I5$!I,4<O24Y)5!8-9$<*;6%P(&<@,4<O7ELH XM87,[+ET6#6D6#3XL%AMM:VMM=T!K"FUA<"!4('DD"FUA<"!&('EL"FUA<" ] X&("=K9BP* X Xend END_OF_FILE if test 173 -ne `wc -c <'vim/macros/urm/urm.mac.UU'`; then echo shar: \"'vim/macros/urm/urm.mac.UU'\" unpacked with wrong size! else echo shar: Uudecoding \"'vim/macros/urm/urm.mac'\" \(96 characters\) cat vim/macros/urm/urm.mac.UU | uudecode if test 96 -ne `wc -c <'vim/macros/urm/urm.mac'`; then echo shar: \"'vim/macros/urm/urm.mac'\" uudecoded with wrong size! else rm vim/macros/urm/urm.mac.UU fi fi # end of 'vim/macros/urm/urm.mac.UU' fi if test -f 'vim/src/addcr.c' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/addcr.c'\" else echo shar: Extracting \"'vim/src/addcr.c'\" \(413 characters\) sed "s/^X//" >'vim/src/addcr.c' <<'END_OF_FILE' X/* X * This program, when compiled with Turbo-C, will make <LF> into <CR><LF> X */ X X#include <stdio.h> X Xmain(argc, argv) X int argc; X char **argv; X{ X char buffer[1024]; X int len; X X while ((len = fread(buffer, 1, 1024, stdin)) > 0) X fwrite(buffer, 1, len, stdout); X if (ferror(stdin)) X fprintf(stderr, "Error while reading\n"); X if (ferror(stdout)) X fprintf(stderr, "Error while writing\n"); X} END_OF_FILE if test 413 -ne `wc -c <'vim/src/addcr.c'`; then echo shar: \"'vim/src/addcr.c'\" unpacked with wrong size! fi # end of 'vim/src/addcr.c' fi if test -f 'vim/src/proto/alloc.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/alloc.pro'\" else echo shar: Extracting \"'vim/src/proto/alloc.pro'\" \(456 characters\) sed "s/^X//" >'vim/src/proto/alloc.pro' <<'END_OF_FILE' X/* alloc.c */ Xunsigned char *alloc __PARMS((unsigned int size)); Xunsigned char *lalloc __PARMS((unsigned long size, int message)); Xunsigned char *strsave __PARMS((unsigned char *string)); Xunsigned char *strnsave __PARMS((unsigned char *string, int len)); Xvoid copy_spaces __PARMS((unsigned char *ptr, unsigned long count)); Xvoid del_spaces __PARMS((unsigned char *ptr)); Xint vim_strnicmp __PARMS((unsigned char *s1, unsigned char *s2, unsigned long len)); END_OF_FILE if test 456 -ne `wc -c <'vim/src/proto/alloc.pro'`; then echo shar: \"'vim/src/proto/alloc.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/alloc.pro' fi if test -f 'vim/src/proto/charset.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/charset.pro'\" else echo shar: Extracting \"'vim/src/proto/charset.pro'\" \(206 characters\) sed "s/^X//" >'vim/src/proto/charset.pro' <<'END_OF_FILE' X/* charset.c */ Xunsigned char *transchar __PARMS((int c)); Xint charsize __PARMS((int c)); Xint strsize __PARMS((unsigned char *s)); Xint chartabsize __PARMS((int c, long col)); Xint isidchar __PARMS((int c)); END_OF_FILE if test 206 -ne `wc -c <'vim/src/proto/charset.pro'`; then echo shar: \"'vim/src/proto/charset.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/charset.pro' fi if test -f 'vim/src/proto/cmdcmds.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/cmdcmds.pro'\" else echo shar: Extracting \"'vim/src/proto/cmdcmds.pro'\" \(428 characters\) sed "s/^X//" >'vim/src/proto/cmdcmds.pro' <<'END_OF_FILE' X/* cmdcmds.c */ Xvoid do_align __PARMS((long start, long end, int width, int type)); Xint do_move __PARMS((long line1, long line2, long n)); Xvoid do_copy __PARMS((long line1, long line2, long n)); Xvoid dobang __PARMS((int addr_count, long line1, long line2, int forceit, unsigned char *arg)); Xvoid doshell __PARMS((unsigned char *cmd)); Xvoid dofilter __PARMS((long line1, long line2, unsigned char *buff, int do_in, int do_out)); END_OF_FILE if test 428 -ne `wc -c <'vim/src/proto/cmdcmds.pro'`; then echo shar: \"'vim/src/proto/cmdcmds.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/cmdcmds.pro' fi if test -f 'vim/src/proto/csearch.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/csearch.pro'\" else echo shar: Extracting \"'vim/src/proto/csearch.pro'\" \(189 characters\) sed "s/^X//" >'vim/src/proto/csearch.pro' <<'END_OF_FILE' X/* csearch.c */ Xvoid dosub __PARMS((long lp, long up, unsigned char *cmd, unsigned char **nextcommand, int use_old)); Xvoid doglob __PARMS((int type, long lp, long up, unsigned char *cmd)); END_OF_FILE if test 189 -ne `wc -c <'vim/src/proto/csearch.pro'`; then echo shar: \"'vim/src/proto/csearch.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/csearch.pro' fi if test -f 'vim/src/proto/digraph.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/digraph.pro'\" else echo shar: Extracting \"'vim/src/proto/digraph.pro'\" \(188 characters\) sed "s/^X//" >'vim/src/proto/digraph.pro' <<'END_OF_FILE' X/* digraph.c */ Xint dodigraph __PARMS((int c)); Xint getdigraph __PARMS((int char1, int char2, int meta)); Xvoid putdigraph __PARMS((unsigned char *str)); Xvoid listdigraphs __PARMS((void)); END_OF_FILE if test 188 -ne `wc -c <'vim/src/proto/digraph.pro'`; then echo shar: \"'vim/src/proto/digraph.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/digraph.pro' fi if test -f 'vim/src/proto/edit.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/edit.pro'\" else echo shar: Extracting \"'vim/src/proto/edit.pro'\" \(437 characters\) sed "s/^X//" >'vim/src/proto/edit.pro' <<'END_OF_FILE' X/* edit.c */ Xvoid edit __PARMS((long count)); Xint get_literal __PARMS((int *nextc)); Xvoid insertchar __PARMS((unsigned int c)); Xvoid beginline __PARMS((int flag)); Xint oneright __PARMS((void)); Xint oneleft __PARMS((void)); Xint oneup __PARMS((long n)); Xint onedown __PARMS((long n)); Xint onepage __PARMS((int dir, long count)); Xvoid stuff_inserted __PARMS((int c, long count, int no_esc)); Xunsigned char *get_last_insert __PARMS((void)); END_OF_FILE if test 437 -ne `wc -c <'vim/src/proto/edit.pro'`; then echo shar: \"'vim/src/proto/edit.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/edit.pro' fi if test -f 'vim/src/proto/fileio.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/fileio.pro'\" else echo shar: Extracting \"'vim/src/proto/fileio.pro'\" \(619 characters\) sed "s/^X//" >'vim/src/proto/fileio.pro' <<'END_OF_FILE' X/* fileio.c */ Xvoid filemess __PARMS((unsigned char *name, unsigned char *s)); Xint readfile __PARMS((unsigned char *fname, unsigned char *sfname, long from, int newfile, long skip_lnum, long nlines)); Xint buf_write __PARMS((struct buffer *buf, unsigned char *fname, unsigned char *sfname, long start, long end, int append, int forceit, int reset_changed)); Xunsigned char *modname __PARMS((unsigned char *fname, unsigned char *ext)); Xunsigned char *buf_modname __PARMS((struct buffer *buf, unsigned char *fname, unsigned char *ext)); Xint vim_fgets __PARMS((unsigned char *buf, int size, struct __stdio *fp, int *lnum)); END_OF_FILE if test 619 -ne `wc -c <'vim/src/proto/fileio.pro'`; then echo shar: \"'vim/src/proto/fileio.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/fileio.pro' fi if test -f 'vim/src/proto/help.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/help.pro'\" else echo shar: Extracting \"'vim/src/proto/help.pro'\" \(72 characters\) sed "s/^X//" >'vim/src/proto/help.pro' <<'END_OF_FILE' X/* help.c */ Xvoid help __PARMS((void)); Xint redrawhelp __PARMS((void)); END_OF_FILE if test 72 -ne `wc -c <'vim/src/proto/help.pro'`; then echo shar: \"'vim/src/proto/help.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/help.pro' fi if test -f 'vim/src/proto/linefunc.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/linefunc.pro'\" else echo shar: Extracting \"'vim/src/proto/linefunc.pro'\" \(309 characters\) sed "s/^X//" >'vim/src/proto/linefunc.pro' <<'END_OF_FILE' X/* linefunc.c */ Xvoid coladvance __PARMS((unsigned int wcol)); Xint inc_cursor __PARMS((void)); Xint inc __PARMS((struct fpos *lp)); Xint incl __PARMS((struct fpos *lp)); Xint dec_cursor __PARMS((void)); Xint dec __PARMS((struct fpos *lp)); Xint decl __PARMS((struct fpos *lp)); Xvoid adjust_cursor __PARMS((void)); END_OF_FILE if test 309 -ne `wc -c <'vim/src/proto/linefunc.pro'`; then echo shar: \"'vim/src/proto/linefunc.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/linefunc.pro' fi if test -f 'vim/src/proto/main.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/main.pro'\" else echo shar: Extracting \"'vim/src/proto/main.pro'\" \(87 characters\) sed "s/^X//" >'vim/src/proto/main.pro' <<'END_OF_FILE' X/* main.c */ Xvoid main __PARMS((int argc, char **argv)); Xvoid getout __PARMS((int r)); END_OF_FILE if test 87 -ne `wc -c <'vim/src/proto/main.pro'`; then echo shar: \"'vim/src/proto/main.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/main.pro' fi if test -f 'vim/src/proto/message.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/message.pro'\" else echo shar: Extracting \"'vim/src/proto/message.pro'\" \(573 characters\) sed "s/^X//" >'vim/src/proto/message.pro' <<'END_OF_FILE' X/* message.c */ Xint msg __PARMS((unsigned char *s)); Xint emsg __PARMS((unsigned char *s)); Xint emsg2 __PARMS((unsigned char *s, unsigned char *a1)); Xvoid wait_return __PARMS((int redraw)); Xvoid msg_start __PARMS((void)); Xvoid msg_pos __PARMS((int row, int col)); Xvoid msg_outchar __PARMS((int c)); Xvoid msg_outnum __PARMS((long n)); Xint msg_outtrans __PARMS((unsigned char *str, int len)); Xvoid msg_prt_line __PARMS((unsigned char *s)); Xvoid msg_outstr __PARMS((unsigned char *s)); Xvoid msg_ceol __PARMS((void)); Xint msg_end __PARMS((void)); Xint msg_check __PARMS((void)); END_OF_FILE if test 573 -ne `wc -c <'vim/src/proto/message.pro'`; then echo shar: \"'vim/src/proto/message.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/message.pro' fi if test -f 'vim/src/proto/param.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/param.pro'\" else echo shar: Extracting \"'vim/src/proto/param.pro'\" \(553 characters\) sed "s/^X//" >'vim/src/proto/param.pro' <<'END_OF_FILE' X/* param.c */ Xvoid set_init __PARMS((void)); Xint doset __PARMS((unsigned char *arg)); Xvoid paramchanged __PARMS((unsigned char *arg)); Xint makeset __PARMS((struct __stdio *fd)); Xvoid clear_termparam __PARMS((void)); Xvoid comp_col __PARMS((void)); Xvoid win_copy_options __PARMS((struct window *wp_from, struct window *wp_to)); Xvoid buf_copy_options __PARMS((struct buffer *bp_from, struct buffer *bp_to)); Xvoid set_context_in_set_cmd __PARMS((unsigned char *arg)); Xint ExpandSettings __PARMS((struct regexp *prog, int *num_file, unsigned char ***file)); END_OF_FILE if test 553 -ne `wc -c <'vim/src/proto/param.pro'`; then echo shar: \"'vim/src/proto/param.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/param.pro' fi if test -f 'vim/src/proto/quickfix.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/quickfix.pro'\" else echo shar: Extracting \"'vim/src/proto/quickfix.pro'\" \(187 characters\) sed "s/^X//" >'vim/src/proto/quickfix.pro' <<'END_OF_FILE' X/* quickfix.c */ Xint qf_init __PARMS((void)); Xvoid qf_jump __PARMS((int dir, int errornr)); Xvoid qf_list __PARMS((void)); Xvoid qf_mark_adjust __PARMS((long line1, long line2, long inc)); END_OF_FILE if test 187 -ne `wc -c <'vim/src/proto/quickfix.pro'`; then echo shar: \"'vim/src/proto/quickfix.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/quickfix.pro' fi if test -f 'vim/src/proto/regexp.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/regexp.pro'\" else echo shar: Extracting \"'vim/src/proto/regexp.pro'\" \(342 characters\) sed "s/^X//" >'vim/src/proto/regexp.pro' <<'END_OF_FILE' X/* regexp.c */ Xunsigned char *skip_regexp __PARMS((unsigned char *p, int dirc)); Xstruct regexp *regcomp __PARMS((unsigned char *exp)); Xint regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); Xint cstrncmp __PARMS((unsigned char *s1, unsigned char *s2, int n)); Xunsigned char *cstrchr __PARMS((unsigned char *s, int c)); END_OF_FILE if test 342 -ne `wc -c <'vim/src/proto/regexp.pro'`; then echo shar: \"'vim/src/proto/regexp.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/regexp.pro' fi if test -f 'vim/src/proto/regsub.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/regsub.pro'\" else echo shar: Extracting \"'vim/src/proto/regsub.pro'\" \(192 characters\) sed "s/^X//" >'vim/src/proto/regsub.pro' <<'END_OF_FILE' X/* regsub.c */ Xunsigned char *regtilde __PARMS((unsigned char *source, int magic)); Xint regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); END_OF_FILE if test 192 -ne `wc -c <'vim/src/proto/regsub.pro'`; then echo shar: \"'vim/src/proto/regsub.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/regsub.pro' fi if test -f 'vim/src/proto/tag.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/tag.pro'\" else echo shar: Extracting \"'vim/src/proto/tag.pro'\" \(189 characters\) sed "s/^X//" >'vim/src/proto/tag.pro' <<'END_OF_FILE' X/* tag.c */ Xvoid dotag __PARMS((unsigned char *tag, int type, int count)); Xvoid dotags __PARMS((void)); Xint ExpandTags __PARMS((struct regexp *prog, int *num_file, unsigned char ***file)); END_OF_FILE if test 189 -ne `wc -c <'vim/src/proto/tag.pro'`; then echo shar: \"'vim/src/proto/tag.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/tag.pro' fi if test -f 'vim/src/proto/termlib.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/termlib.pro'\" else echo shar: Extracting \"'vim/src/proto/termlib.pro'\" \(300 characters\) sed "s/^X//" >'vim/src/proto/termlib.pro' <<'END_OF_FILE' X/* termlib.c */ Xint tgetent __PARMS((char *tbuf, char *term)); Xint tgetflag __PARMS((char *id)); Xint tgetnum __PARMS((char *id)); Xchar *tgetstr __PARMS((char *id, char **buf)); Xchar *tgoto __PARMS((char *cm, int col, int line)); Xint tputs __PARMS((char *cp, int affcnt, void (*outc)(unsigned int))); END_OF_FILE if test 300 -ne `wc -c <'vim/src/proto/termlib.pro'`; then echo shar: \"'vim/src/proto/termlib.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/termlib.pro' fi if test -f 'vim/src/proto/undo.pro' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/proto/undo.pro'\" else echo shar: Extracting \"'vim/src/proto/undo.pro'\" \(555 characters\) sed "s/^X//" >'vim/src/proto/undo.pro' <<'END_OF_FILE' X/* undo.c */ Xint u_save_cursor __PARMS((void)); Xint u_save __PARMS((long top, long bot)); Xint u_savesub __PARMS((long lnum)); Xint u_inssub __PARMS((long lnum)); Xint u_savedel __PARMS((long lnum, long nlines)); Xvoid u_undo __PARMS((int count)); Xvoid u_redo __PARMS((int count)); Xvoid u_sync __PARMS((void)); Xvoid u_unchanged __PARMS((struct buffer *buf)); Xvoid u_clearall __PARMS((struct buffer *buf)); Xvoid u_saveline __PARMS((long lnum)); Xvoid u_clearline __PARMS((void)); Xvoid u_undoline __PARMS((void)); Xvoid u_blockfree __PARMS((struct buffer *buf)); END_OF_FILE if test 555 -ne `wc -c <'vim/src/proto/undo.pro'`; then echo shar: \"'vim/src/proto/undo.pro'\" unpacked with wrong size! fi # end of 'vim/src/proto/undo.pro' fi if test -f 'vim/src/regmagic.h' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/regmagic.h'\" else echo shar: Extracting \"'vim/src/regmagic.h'\" \(663 characters\) sed "s/^X//" >'vim/src/regmagic.h' <<'END_OF_FILE' X/* vi:ts=4:sw=4 X * NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE X * X * This is NOT the original regular expression code as written by X * Henry Spencer. This code has been modified specifically for use X * with the VIM editor, and should not be used apart from compiling X * VIM. If you want a good regular expression library, get the X * original code. The copyright notice that follows is from the X * original. X * X * NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE X * X * The first byte of the regexp internal "program" is actually this magic X * number; the start node begins in the second byte. X */ X X#define MAGIC 0234 END_OF_FILE if test 663 -ne `wc -c <'vim/src/regmagic.h'`; then echo shar: \"'vim/src/regmagic.h'\" unpacked with wrong size! fi # end of 'vim/src/regmagic.h' fi if test -f 'vim/src/termlib.fix.UU' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/termlib.fix.UU'\" else echo shar: Extracting \"'vim/src/termlib.fix.UU'\" \(86 characters\) sed "s/^X//" >'vim/src/termlib.fix.UU' <<'END_OF_FILE' Xbegin 644 vim/src/termlib.fix XB#2]O=71C*2@I#6QL;&QL875N<VEG;F5D(&EN=!LZ=W$-"@ # X Xend END_OF_FILE if test 86 -ne `wc -c <'vim/src/termlib.fix.UU'`; then echo shar: \"'vim/src/termlib.fix.UU'\" unpacked with wrong size! else echo shar: Uudecoding \"'vim/src/termlib.fix'\" \(34 characters\) cat vim/src/termlib.fix.UU | uudecode if test 34 -ne `wc -c <'vim/src/termlib.fix'`; then echo shar: \"'vim/src/termlib.fix'\" uudecoded with wrong size! else rm vim/src/termlib.fix.UU fi fi # end of 'vim/src/termlib.fix.UU' fi if test -f 'vim/src/vim.prj' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/src/vim.prj'\" else echo shar: Extracting \"'vim/src/vim.prj'\" \(254 characters\) sed "s/^X//" >'vim/src/vim.prj' <<'END_OF_FILE' XALLOC.C XBUFFERS.C XCHARSET.C XCMDLINE.C XCSEARCH.C XEDIT.C XDIGRAPH.C XFILEIO.C XHELP.C XLINEFUNC.C XMAIN.C XMARK.C XMESSAGE.C XMISCCMDS.C XMSDOS.C XNORMAL.C XOPS.C XPARAM.C XQUICKFIX.C XREGEXP.C XREGSUB.C XSCREEN.C XSCRIPT.C XSEARCH.C XSTORAGE.C XTAG.C XTERM.C XUNDO.C XVERSION.C END_OF_FILE if test 254 -ne `wc -c <'vim/src/vim.prj'`; then echo shar: \"'vim/src/vim.prj'\" unpacked with wrong size! fi # end of 'vim/src/vim.prj' fi if test -f 'vim/tools/vim132.UU' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/tools/vim132.UU'\" else echo shar: Extracting \"'vim/tools/vim132.UU'\" \(365 characters\) sed "s/^X//" >'vim/tools/vim132.UU' <<'END_OF_FILE' Xbegin 644 vim/tools/vim132 XM(R$@+V)I;B]C<V@*(R!3:&5L;"!S8W)I<'0@9F]R('5S92!W:71H(%5.25@* XM(R!3=&%R=',@=7 @5FEM('=I=&@@=&AE('1E<FUI;F%L(&EN(#$S,B!C;VQU XM;6X@;6]D90HC($]N;'D@=V]R:W,@;VX@5E0M,3 P('1E<FUI;F%L<R!A;F0@ XM;&]O:V%L:6ME<PHC"G-E="!O;&1T97)M/21T97)M"F5C:&\@(AM;/S-H(@IS XM971E;G8@5$5232!V=#$P,"UW( IV:6T@)"H*<V5T('1E<FT])&]L9'1E<FT* X-96-H;R B&UL_,VPB"C$P X Xend END_OF_FILE if test 365 -ne `wc -c <'vim/tools/vim132.UU'`; then echo shar: \"'vim/tools/vim132.UU'\" unpacked with wrong size! else echo shar: Uudecoding \"'vim/tools/vim132'\" \(238 characters\) cat vim/tools/vim132.UU | uudecode if test 238 -ne `wc -c <'vim/tools/vim132'`; then echo shar: \"'vim/tools/vim132'\" uudecoded with wrong size! else rm vim/tools/vim132.UU fi echo shar: \"'vim/tools/vim132.UU'\" unpacked with wrong size! fi # end of 'vim/tools/vim132.UU' fi if test -f 'vim/tutor/Readme' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'vim/tutor/Readme'\" else echo shar: Extracting \"'vim/tutor/Readme'\" \(768 characters\) sed "s/^X//" >'vim/tutor/Readme' <<'END_OF_FILE' XVitutor is a "hands on" tutorial for new users of the Vim editor. X XMost new users can get through it in less than one hour. The result Xis that you can do a simple editing task using the Vim editor. X XTutor is a file that contains the tutorial lessons. You can simply Xexecute "vim tutor" and then follow the instructions in the lessons. XThe lessons tell you to modify the file, so DON'T DO THIS ON YOUR XORIGINAL COPY. X XI have considered adding more advanced lessons but have not found the Xtime. Please let me know how you like it and send any improvements you Xmake. X XBob Ware, Colorado School of Mines, Golden, Co 80401, USA X(303) 273-3987 Xbware@mines.colorado.edu bware@slate.mines.colorado.edu bware@mines.bitnet X X(This file was modified by Bram Moolenaar for Vim) END_OF_FILE if test 768 -ne `wc -c <'vim/tutor/Readme'`; then echo shar: \"'vim/tutor/Readme'\" unpacked with wrong size! fi # end of 'vim/tutor/Readme' fi echo shar: End of archive 26 \(of 26\). cp /dev/null ark26isdone MISSING="" for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ; do if test ! -f ark${I}isdone ; then MISSING="${MISSING} ${I}" fi done if test "${MISSING}" = "" ; then echo You have unpacked all 26 archives. rm -f ark[1-9]isdone ark[1-9][0-9]isdone else echo You still must unpack the following archives: echo " " ${MISSING} fi exit 0 exit 0 # Just in case...