home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume44 / vim / part26 < prev    next >
Encoding:
Internet Message Format  |  1994-08-22  |  27.4 KB

  1. From: mool@oce.nl (Bram Moolenaar)
  2. Newsgroups: comp.sources.misc
  3. Subject: v44i045:  vim - Vi IMproved editor, v3.0, Part26/26
  4. Date: 18 Aug 1994 14:04:14 -0500
  5. Organization: Sterling Software
  6. Sender: kent@sparky.sterling.com
  7. Approved: kent@sparky.sterling.com
  8. Message-ID: <330bbe$eaf@sparky.sterling.com>
  9. References: <csm-v44i019=vim.211640@sparky.sterling.com>
  10. X-Md4-Signature: fad3c50e97d6c7472551e461123f86fd
  11.  
  12. Submitted-by: mool@oce.nl (Bram Moolenaar)
  13. Posting-number: Volume 44, Issue 45
  14. Archive-name: vim/part26
  15. Environment: UNIX, AMIGA, MS-DOS, Windows NT
  16. Supersedes: vim: Volume 41, Issue 50-75
  17.  
  18. #! /bin/sh
  19. # This is a shell archive.  Remove anything before this line, then feed it
  20. # into a shell via "sh file" or similar.  To overwrite existing files,
  21. # type "sh file -c".
  22. # Contents:  vim/macros/hanoi/click.me vim/macros/keyword.UU
  23. #   vim/macros/maze/makefile vim/macros/maze/maze.c vim/macros/readme
  24. #   vim/macros/urm/urm.mac.UU vim/src/addcr.c vim/src/proto/alloc.pro
  25. #   vim/src/proto/charset.pro vim/src/proto/cmdcmds.pro
  26. #   vim/src/proto/csearch.pro vim/src/proto/digraph.pro
  27. #   vim/src/proto/edit.pro vim/src/proto/fileio.pro
  28. #   vim/src/proto/help.pro vim/src/proto/linefunc.pro
  29. #   vim/src/proto/main.pro vim/src/proto/message.pro
  30. #   vim/src/proto/param.pro vim/src/proto/quickfix.pro
  31. #   vim/src/proto/regexp.pro vim/src/proto/regsub.pro
  32. #   vim/src/proto/tag.pro vim/src/proto/termlib.pro
  33. #   vim/src/proto/undo.pro vim/src/regmagic.h vim/src/termlib.fix.UU
  34. #   vim/src/vim.prj vim/tools/vim132.UU vim/tutor/Readme
  35. # Wrapped by kent@sparky on Mon Aug 15 21:44:17 1994
  36. PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/lbin:$PATH ; export PATH
  37. echo If this archive is complete, you will see the following message:
  38. echo '          "shar: End of archive 26 (of 26)."'
  39. if test -f 'vim/macros/hanoi/click.me' -a "${1}" != "-c" ; then 
  40.   echo shar: Will not clobber existing file \"'vim/macros/hanoi/click.me'\"
  41. else
  42.   echo shar: Extracting \"'vim/macros/hanoi/click.me'\" \(255 characters\)
  43.   sed "s/^X//" >'vim/macros/hanoi/click.me' <<'END_OF_FILE'
  44. X
  45. X
  46. XSee Vim solve the towers of Hanoi!
  47. X
  48. XInstructions:
  49. X   type ":so hanoi.mac<RETURN>" to load the macros
  50. X   type "g" to start it
  51. X
  52. Xand watch it go.
  53. X
  54. X     to quit type ":q!<RETURN>"
  55. Xto interrupt type CTRL-C
  56. X
  57. X(This text will disappear as soon as you type "g")
  58. END_OF_FILE
  59.   if test 255 -ne `wc -c <'vim/macros/hanoi/click.me'`; then
  60.     echo shar: \"'vim/macros/hanoi/click.me'\" unpacked with wrong size!
  61.   fi
  62.   # end of 'vim/macros/hanoi/click.me'
  63. fi
  64. if test -f 'vim/macros/keyword.UU' -a "${1}" != "-c" ; then 
  65.   echo shar: Will not clobber existing file \"'vim/macros/keyword.UU'\"
  66. else
  67.   echo shar: Extracting \"'vim/macros/keyword.UU'\" \(755 characters\)
  68.   sed "s/^X//" >'vim/macros/keyword.UU' <<'END_OF_FILE'
  69. Xbegin 644 vim/macros/keyword
  70. XM(B!3;VUE(&AA;F1Y(&ME>7=O<F0M8V]M<&QE=&EO;B!M86-R;W,N"B(@5&AE
  71. XM('=O<F0@:6X@9G)O;G0@;V8@=&AE(&-U<G-O<B!I<R!T86ME;B!A<R!A('-E
  72. XM87)C:"!S=')I;F<L('1H92!P<F5V:6]U<PHB('!A<G1I86QL>2!M871C:&EN
  73. XM9R!W;W)D(&ES(&9O=6YD('=H:6-H('1H96X@<F5P;&%C97,@=&AE('=O<F0@
  74. XM:6X@9G)O;G0*(B!O9B!T:&4@8W5R<V]R+B!4:&4@;6%C<F]S('=O<FL@:6X@
  75. XM:6YS97)T(&UO9&4N"B(*(B!>2R!S96%R8VAE<R!B86-K=V%R9"!F;W(@=&AE
  76. XM(&9I<G-T(&UA=&-H"B(@7DX@<V5A<F-H97,@8F%C:W=A<F0@9F]R('1H92!N
  77. XM97AT(&UA=&-H("AA9G1E<B!>2RD*(B!>4"!S96%R8VAE<R!F;W)W87)D(&9O
  78. XM<B!T:&4@<')E=FEO=7,@;6%T8V@@*&%F=&5R(%Y+*0HB"B(@5&AA;FMS('1O
  79. XM($1A=F4@0V%U9VAE>2X*(@HZ;6%P(2 +(!86%@T;8FUM:3]</!M@;2)N>68-
  80. XM0&YM;B)N>7=@;6-F#1)N"CIM87 A( X@+AM@;FYM;B)N>7=@;6-F+A)N"CIM
  81. X987 A(! @+AM@;DYM;B)N>7=@;6-F+A)N"AM@
  82. Xend
  83. END_OF_FILE
  84.   if test 755 -ne `wc -c <'vim/macros/keyword.UU'`; then
  85.     echo shar: \"'vim/macros/keyword.UU'\" unpacked with wrong size!
  86.   else 
  87.     echo shar: Uudecoding \"'vim/macros/keyword'\" \(520 characters\)
  88.     cat vim/macros/keyword.UU | uudecode
  89.     if test 520 -ne `wc -c <'vim/macros/keyword'`; then
  90.       echo shar: \"'vim/macros/keyword'\" uudecoded with wrong size!
  91.     else
  92.       rm vim/macros/keyword.UU
  93.     fi
  94.   fi
  95.   # end of 'vim/macros/keyword.UU'
  96. fi
  97. if test -f 'vim/macros/maze/makefile' -a "${1}" != "-c" ; then 
  98.   echo shar: Will not clobber existing file \"'vim/macros/maze/makefile'\"
  99. else
  100.   echo shar: Extracting \"'vim/macros/maze/makefile'\" \(104 characters\)
  101.   sed "s/^X//" >'vim/macros/maze/makefile' <<'END_OF_FILE'
  102. X#On the amiga with manx C 5.0 we have to use maze.ansi.c
  103. X
  104. Xmaze: maze.ansi.o
  105. X    ln maze.ansi.o -o maze -lc
  106. END_OF_FILE
  107.   if test 104 -ne `wc -c <'vim/macros/maze/makefile'`; then
  108.     echo shar: \"'vim/macros/maze/makefile'\" unpacked with wrong size!
  109.   fi
  110.   # end of 'vim/macros/maze/makefile'
  111. fi
  112. if test -f 'vim/macros/maze/maze.c' -a "${1}" != "-c" ; then 
  113.   echo shar: Will not clobber existing file \"'vim/macros/maze/maze.c'\"
  114. else
  115.   echo shar: Extracting \"'vim/macros/maze/maze.c'\" \(441 characters\)
  116.   sed "s/^X//" >'vim/macros/maze/maze.c' <<'END_OF_FILE'
  117. Xchar*M,A,Z,E=40,J[40],T[40];main(C){for(*J=A=scanf(M="%d",&C);
  118. X--            E;             J[              E]             =T
  119. X[E   ]=  E)   printf("._");  for(;(A-=Z=!Z)  ||  (printf("\n|"
  120. X)    ,   A    =              39              ,C             --
  121. X)    ;   Z    ||    printf   (M   ))M[Z]=Z[A-(E   =A[J-Z])&&!C
  122. X&    A   ==             T[                                  A]
  123. X|6<<27<rand()||!C&!Z?J[T[E]=T[A]]=E,J[T[A]=A-Z]=A,"_.":" |"];}
  124. END_OF_FILE
  125.   if test 441 -ne `wc -c <'vim/macros/maze/maze.c'`; then
  126.     echo shar: \"'vim/macros/maze/maze.c'\" unpacked with wrong size!
  127.   fi
  128.   # end of 'vim/macros/maze/maze.c'
  129. fi
  130. if test -f 'vim/macros/readme' -a "${1}" != "-c" ; then 
  131.   echo shar: Will not clobber existing file \"'vim/macros/readme'\"
  132. else
  133.   echo shar: Extracting \"'vim/macros/readme'\" \(511 characters\)
  134.   sed "s/^X//" >'vim/macros/readme' <<'END_OF_FILE'
  135. XThe macros in the maze, hanoi and urm directories can be used to test Vim for
  136. Xvi compatibility. They have been written for vi to show its unlimited
  137. Xpossibilities.
  138. X
  139. XHANOI are macros that solve the tower of hanoi problem.
  140. XMAZE  are macros that solve a maze (amazing!).
  141. XURM   are macros that simulate a simple computer: "Universal Register Machine"
  142. X
  143. XThey are unmodified.
  144. X
  145. X
  146. XThe other files contain some handy utilities:
  147. X
  148. Xcenter: macros to center current line in 80-character line
  149. Xkeyword: keyword completion macros
  150. END_OF_FILE
  151.   if test 511 -ne `wc -c <'vim/macros/readme'`; then
  152.     echo shar: \"'vim/macros/readme'\" unpacked with wrong size!
  153.   fi
  154.   # end of 'vim/macros/readme'
  155. fi
  156. if test -f 'vim/macros/urm/urm.mac.UU' -a "${1}" != "-c" ; then 
  157.   echo shar: Will not clobber existing file \"'vim/macros/urm/urm.mac.UU'\"
  158. else
  159.   echo shar: Extracting \"'vim/macros/urm/urm.mac.UU'\" \(173 characters\)
  160.   sed "s/^X//" >'vim/macros/urm/urm.mac.UU' <<'END_OF_FILE'
  161. Xbegin 644 vim/macros/urm/urm.mac
  162. XM;6%P("H@,4<O24Y)5!8-:B)I5$!I,4<O24Y)5!8-9$<*;6%P(&<@,4<O7ELH
  163. XM87,[+ET6#6D6#3XL%AMM:VMM=T!K"FUA<"!4('DD"FUA<"!&('EL"FUA<" ]
  164. X&("=K9BP*
  165. Xend
  166. END_OF_FILE
  167.   if test 173 -ne `wc -c <'vim/macros/urm/urm.mac.UU'`; then
  168.     echo shar: \"'vim/macros/urm/urm.mac.UU'\" unpacked with wrong size!
  169.   else
  170.     echo shar: Uudecoding \"'vim/macros/urm/urm.mac'\" \(96 characters\)
  171.     cat vim/macros/urm/urm.mac.UU | uudecode
  172.     if test 96 -ne `wc -c <'vim/macros/urm/urm.mac'`; then
  173.       echo shar: \"'vim/macros/urm/urm.mac'\" uudecoded with wrong size!
  174.     else
  175.       rm vim/macros/urm/urm.mac.UU
  176.     fi
  177.   fi
  178.   # end of 'vim/macros/urm/urm.mac.UU'
  179. fi
  180. if test -f 'vim/src/addcr.c' -a "${1}" != "-c" ; then 
  181.   echo shar: Will not clobber existing file \"'vim/src/addcr.c'\"
  182. else
  183.   echo shar: Extracting \"'vim/src/addcr.c'\" \(413 characters\)
  184.   sed "s/^X//" >'vim/src/addcr.c' <<'END_OF_FILE'
  185. X/*
  186. X * This program, when compiled with Turbo-C, will make <LF> into <CR><LF>
  187. X */
  188. X
  189. X#include <stdio.h>
  190. X
  191. Xmain(argc, argv)
  192. X    int argc;
  193. X    char **argv;
  194. X{
  195. X    char buffer[1024];
  196. X    int    len;
  197. X
  198. X    while ((len = fread(buffer, 1, 1024, stdin)) > 0)
  199. X        fwrite(buffer, 1, len, stdout);
  200. X    if (ferror(stdin))
  201. X        fprintf(stderr, "Error while reading\n");
  202. X    if (ferror(stdout))
  203. X        fprintf(stderr, "Error while writing\n");
  204. X}
  205. END_OF_FILE
  206.   if test 413 -ne `wc -c <'vim/src/addcr.c'`; then
  207.     echo shar: \"'vim/src/addcr.c'\" unpacked with wrong size!
  208.   fi
  209.   # end of 'vim/src/addcr.c'
  210. fi
  211. if test -f 'vim/src/proto/alloc.pro' -a "${1}" != "-c" ; then 
  212.   echo shar: Will not clobber existing file \"'vim/src/proto/alloc.pro'\"
  213. else
  214.   echo shar: Extracting \"'vim/src/proto/alloc.pro'\" \(456 characters\)
  215.   sed "s/^X//" >'vim/src/proto/alloc.pro' <<'END_OF_FILE'
  216. X/* alloc.c */
  217. Xunsigned char *alloc __PARMS((unsigned int size));
  218. Xunsigned char *lalloc __PARMS((unsigned long size, int message));
  219. Xunsigned char *strsave __PARMS((unsigned char *string));
  220. Xunsigned char *strnsave __PARMS((unsigned char *string, int len));
  221. Xvoid copy_spaces __PARMS((unsigned char *ptr, unsigned long count));
  222. Xvoid del_spaces __PARMS((unsigned char *ptr));
  223. Xint vim_strnicmp __PARMS((unsigned char *s1, unsigned char *s2, unsigned long len));
  224. END_OF_FILE
  225.   if test 456 -ne `wc -c <'vim/src/proto/alloc.pro'`; then
  226.     echo shar: \"'vim/src/proto/alloc.pro'\" unpacked with wrong size!
  227.   fi
  228.   # end of 'vim/src/proto/alloc.pro'
  229. fi
  230. if test -f 'vim/src/proto/charset.pro' -a "${1}" != "-c" ; then 
  231.   echo shar: Will not clobber existing file \"'vim/src/proto/charset.pro'\"
  232. else
  233.   echo shar: Extracting \"'vim/src/proto/charset.pro'\" \(206 characters\)
  234.   sed "s/^X//" >'vim/src/proto/charset.pro' <<'END_OF_FILE'
  235. X/* charset.c */
  236. Xunsigned char *transchar __PARMS((int c));
  237. Xint charsize __PARMS((int c));
  238. Xint strsize __PARMS((unsigned char *s));
  239. Xint chartabsize __PARMS((int c, long col));
  240. Xint isidchar __PARMS((int c));
  241. END_OF_FILE
  242.   if test 206 -ne `wc -c <'vim/src/proto/charset.pro'`; then
  243.     echo shar: \"'vim/src/proto/charset.pro'\" unpacked with wrong size!
  244.   fi
  245.   # end of 'vim/src/proto/charset.pro'
  246. fi
  247. if test -f 'vim/src/proto/cmdcmds.pro' -a "${1}" != "-c" ; then 
  248.   echo shar: Will not clobber existing file \"'vim/src/proto/cmdcmds.pro'\"
  249. else
  250.   echo shar: Extracting \"'vim/src/proto/cmdcmds.pro'\" \(428 characters\)
  251.   sed "s/^X//" >'vim/src/proto/cmdcmds.pro' <<'END_OF_FILE'
  252. X/* cmdcmds.c */
  253. Xvoid do_align __PARMS((long start, long end, int width, int type));
  254. Xint do_move __PARMS((long line1, long line2, long n));
  255. Xvoid do_copy __PARMS((long line1, long line2, long n));
  256. Xvoid dobang __PARMS((int addr_count, long line1, long line2, int forceit, unsigned char *arg));
  257. Xvoid doshell __PARMS((unsigned char *cmd));
  258. Xvoid dofilter __PARMS((long line1, long line2, unsigned char *buff, int do_in, int do_out));
  259. END_OF_FILE
  260.   if test 428 -ne `wc -c <'vim/src/proto/cmdcmds.pro'`; then
  261.     echo shar: \"'vim/src/proto/cmdcmds.pro'\" unpacked with wrong size!
  262.   fi
  263.   # end of 'vim/src/proto/cmdcmds.pro'
  264. fi
  265. if test -f 'vim/src/proto/csearch.pro' -a "${1}" != "-c" ; then 
  266.   echo shar: Will not clobber existing file \"'vim/src/proto/csearch.pro'\"
  267. else
  268.   echo shar: Extracting \"'vim/src/proto/csearch.pro'\" \(189 characters\)
  269.   sed "s/^X//" >'vim/src/proto/csearch.pro' <<'END_OF_FILE'
  270. X/* csearch.c */
  271. Xvoid dosub __PARMS((long lp, long up, unsigned char *cmd, unsigned char **nextcommand, int use_old));
  272. Xvoid doglob __PARMS((int type, long lp, long up, unsigned char *cmd));
  273. END_OF_FILE
  274.   if test 189 -ne `wc -c <'vim/src/proto/csearch.pro'`; then
  275.     echo shar: \"'vim/src/proto/csearch.pro'\" unpacked with wrong size!
  276.   fi
  277.   # end of 'vim/src/proto/csearch.pro'
  278. fi
  279. if test -f 'vim/src/proto/digraph.pro' -a "${1}" != "-c" ; then 
  280.   echo shar: Will not clobber existing file \"'vim/src/proto/digraph.pro'\"
  281. else
  282.   echo shar: Extracting \"'vim/src/proto/digraph.pro'\" \(188 characters\)
  283.   sed "s/^X//" >'vim/src/proto/digraph.pro' <<'END_OF_FILE'
  284. X/* digraph.c */
  285. Xint dodigraph __PARMS((int c));
  286. Xint getdigraph __PARMS((int char1, int char2, int meta));
  287. Xvoid putdigraph __PARMS((unsigned char *str));
  288. Xvoid listdigraphs __PARMS((void));
  289. END_OF_FILE
  290.   if test 188 -ne `wc -c <'vim/src/proto/digraph.pro'`; then
  291.     echo shar: \"'vim/src/proto/digraph.pro'\" unpacked with wrong size!
  292.   fi
  293.   # end of 'vim/src/proto/digraph.pro'
  294. fi
  295. if test -f 'vim/src/proto/edit.pro' -a "${1}" != "-c" ; then 
  296.   echo shar: Will not clobber existing file \"'vim/src/proto/edit.pro'\"
  297. else
  298.   echo shar: Extracting \"'vim/src/proto/edit.pro'\" \(437 characters\)
  299.   sed "s/^X//" >'vim/src/proto/edit.pro' <<'END_OF_FILE'
  300. X/* edit.c */
  301. Xvoid edit __PARMS((long count));
  302. Xint get_literal __PARMS((int *nextc));
  303. Xvoid insertchar __PARMS((unsigned int c));
  304. Xvoid beginline __PARMS((int flag));
  305. Xint oneright __PARMS((void));
  306. Xint oneleft __PARMS((void));
  307. Xint oneup __PARMS((long n));
  308. Xint onedown __PARMS((long n));
  309. Xint onepage __PARMS((int dir, long count));
  310. Xvoid stuff_inserted __PARMS((int c, long count, int no_esc));
  311. Xunsigned char *get_last_insert __PARMS((void));
  312. END_OF_FILE
  313.   if test 437 -ne `wc -c <'vim/src/proto/edit.pro'`; then
  314.     echo shar: \"'vim/src/proto/edit.pro'\" unpacked with wrong size!
  315.   fi
  316.   # end of 'vim/src/proto/edit.pro'
  317. fi
  318. if test -f 'vim/src/proto/fileio.pro' -a "${1}" != "-c" ; then 
  319.   echo shar: Will not clobber existing file \"'vim/src/proto/fileio.pro'\"
  320. else
  321.   echo shar: Extracting \"'vim/src/proto/fileio.pro'\" \(619 characters\)
  322.   sed "s/^X//" >'vim/src/proto/fileio.pro' <<'END_OF_FILE'
  323. X/* fileio.c */
  324. Xvoid filemess __PARMS((unsigned char *name, unsigned char *s));
  325. Xint readfile __PARMS((unsigned char *fname, unsigned char *sfname, long from, int newfile, long skip_lnum, long nlines));
  326. Xint buf_write __PARMS((struct buffer *buf, unsigned char *fname, unsigned char *sfname, long start, long end, int append, int forceit, int reset_changed));
  327. Xunsigned char *modname __PARMS((unsigned char *fname, unsigned char *ext));
  328. Xunsigned char *buf_modname __PARMS((struct buffer *buf, unsigned char *fname, unsigned char *ext));
  329. Xint vim_fgets __PARMS((unsigned char *buf, int size, struct __stdio *fp, int *lnum));
  330. END_OF_FILE
  331.   if test 619 -ne `wc -c <'vim/src/proto/fileio.pro'`; then
  332.     echo shar: \"'vim/src/proto/fileio.pro'\" unpacked with wrong size!
  333.   fi
  334.   # end of 'vim/src/proto/fileio.pro'
  335. fi
  336. if test -f 'vim/src/proto/help.pro' -a "${1}" != "-c" ; then 
  337.   echo shar: Will not clobber existing file \"'vim/src/proto/help.pro'\"
  338. else
  339.   echo shar: Extracting \"'vim/src/proto/help.pro'\" \(72 characters\)
  340.   sed "s/^X//" >'vim/src/proto/help.pro' <<'END_OF_FILE'
  341. X/* help.c */
  342. Xvoid help __PARMS((void));
  343. Xint redrawhelp __PARMS((void));
  344. END_OF_FILE
  345.   if test 72 -ne `wc -c <'vim/src/proto/help.pro'`; then
  346.     echo shar: \"'vim/src/proto/help.pro'\" unpacked with wrong size!
  347.   fi
  348.   # end of 'vim/src/proto/help.pro'
  349. fi
  350. if test -f 'vim/src/proto/linefunc.pro' -a "${1}" != "-c" ; then 
  351.   echo shar: Will not clobber existing file \"'vim/src/proto/linefunc.pro'\"
  352. else
  353.   echo shar: Extracting \"'vim/src/proto/linefunc.pro'\" \(309 characters\)
  354.   sed "s/^X//" >'vim/src/proto/linefunc.pro' <<'END_OF_FILE'
  355. X/* linefunc.c */
  356. Xvoid coladvance __PARMS((unsigned int wcol));
  357. Xint inc_cursor __PARMS((void));
  358. Xint inc __PARMS((struct fpos *lp));
  359. Xint incl __PARMS((struct fpos *lp));
  360. Xint dec_cursor __PARMS((void));
  361. Xint dec __PARMS((struct fpos *lp));
  362. Xint decl __PARMS((struct fpos *lp));
  363. Xvoid adjust_cursor __PARMS((void));
  364. END_OF_FILE
  365.   if test 309 -ne `wc -c <'vim/src/proto/linefunc.pro'`; then
  366.     echo shar: \"'vim/src/proto/linefunc.pro'\" unpacked with wrong size!
  367.   fi
  368.   # end of 'vim/src/proto/linefunc.pro'
  369. fi
  370. if test -f 'vim/src/proto/main.pro' -a "${1}" != "-c" ; then 
  371.   echo shar: Will not clobber existing file \"'vim/src/proto/main.pro'\"
  372. else
  373.   echo shar: Extracting \"'vim/src/proto/main.pro'\" \(87 characters\)
  374.   sed "s/^X//" >'vim/src/proto/main.pro' <<'END_OF_FILE'
  375. X/* main.c */
  376. Xvoid main __PARMS((int argc, char **argv));
  377. Xvoid getout __PARMS((int r));
  378. END_OF_FILE
  379.   if test 87 -ne `wc -c <'vim/src/proto/main.pro'`; then
  380.     echo shar: \"'vim/src/proto/main.pro'\" unpacked with wrong size!
  381.   fi
  382.   # end of 'vim/src/proto/main.pro'
  383. fi
  384. if test -f 'vim/src/proto/message.pro' -a "${1}" != "-c" ; then 
  385.   echo shar: Will not clobber existing file \"'vim/src/proto/message.pro'\"
  386. else
  387.   echo shar: Extracting \"'vim/src/proto/message.pro'\" \(573 characters\)
  388.   sed "s/^X//" >'vim/src/proto/message.pro' <<'END_OF_FILE'
  389. X/* message.c */
  390. Xint msg __PARMS((unsigned char *s));
  391. Xint emsg __PARMS((unsigned char *s));
  392. Xint emsg2 __PARMS((unsigned char *s, unsigned char *a1));
  393. Xvoid wait_return __PARMS((int redraw));
  394. Xvoid msg_start __PARMS((void));
  395. Xvoid msg_pos __PARMS((int row, int col));
  396. Xvoid msg_outchar __PARMS((int c));
  397. Xvoid msg_outnum __PARMS((long n));
  398. Xint msg_outtrans __PARMS((unsigned char *str, int len));
  399. Xvoid msg_prt_line __PARMS((unsigned char *s));
  400. Xvoid msg_outstr __PARMS((unsigned char *s));
  401. Xvoid msg_ceol __PARMS((void));
  402. Xint msg_end __PARMS((void));
  403. Xint msg_check __PARMS((void));
  404. END_OF_FILE
  405.   if test 573 -ne `wc -c <'vim/src/proto/message.pro'`; then
  406.     echo shar: \"'vim/src/proto/message.pro'\" unpacked with wrong size!
  407.   fi
  408.   # end of 'vim/src/proto/message.pro'
  409. fi
  410. if test -f 'vim/src/proto/param.pro' -a "${1}" != "-c" ; then 
  411.   echo shar: Will not clobber existing file \"'vim/src/proto/param.pro'\"
  412. else
  413.   echo shar: Extracting \"'vim/src/proto/param.pro'\" \(553 characters\)
  414.   sed "s/^X//" >'vim/src/proto/param.pro' <<'END_OF_FILE'
  415. X/* param.c */
  416. Xvoid set_init __PARMS((void));
  417. Xint doset __PARMS((unsigned char *arg));
  418. Xvoid paramchanged __PARMS((unsigned char *arg));
  419. Xint makeset __PARMS((struct __stdio *fd));
  420. Xvoid clear_termparam __PARMS((void));
  421. Xvoid comp_col __PARMS((void));
  422. Xvoid win_copy_options __PARMS((struct window *wp_from, struct window *wp_to));
  423. Xvoid buf_copy_options __PARMS((struct buffer *bp_from, struct buffer *bp_to));
  424. Xvoid set_context_in_set_cmd __PARMS((unsigned char *arg));
  425. Xint ExpandSettings __PARMS((struct regexp *prog, int *num_file, unsigned char ***file));
  426. END_OF_FILE
  427.   if test 553 -ne `wc -c <'vim/src/proto/param.pro'`; then
  428.     echo shar: \"'vim/src/proto/param.pro'\" unpacked with wrong size!
  429.   fi
  430.   # end of 'vim/src/proto/param.pro'
  431. fi
  432. if test -f 'vim/src/proto/quickfix.pro' -a "${1}" != "-c" ; then 
  433.   echo shar: Will not clobber existing file \"'vim/src/proto/quickfix.pro'\"
  434. else
  435.   echo shar: Extracting \"'vim/src/proto/quickfix.pro'\" \(187 characters\)
  436.   sed "s/^X//" >'vim/src/proto/quickfix.pro' <<'END_OF_FILE'
  437. X/* quickfix.c */
  438. Xint qf_init __PARMS((void));
  439. Xvoid qf_jump __PARMS((int dir, int errornr));
  440. Xvoid qf_list __PARMS((void));
  441. Xvoid qf_mark_adjust __PARMS((long line1, long line2, long inc));
  442. END_OF_FILE
  443.   if test 187 -ne `wc -c <'vim/src/proto/quickfix.pro'`; then
  444.     echo shar: \"'vim/src/proto/quickfix.pro'\" unpacked with wrong size!
  445.   fi
  446.   # end of 'vim/src/proto/quickfix.pro'
  447. fi
  448. if test -f 'vim/src/proto/regexp.pro' -a "${1}" != "-c" ; then 
  449.   echo shar: Will not clobber existing file \"'vim/src/proto/regexp.pro'\"
  450. else
  451.   echo shar: Extracting \"'vim/src/proto/regexp.pro'\" \(342 characters\)
  452.   sed "s/^X//" >'vim/src/proto/regexp.pro' <<'END_OF_FILE'
  453. X/* regexp.c */
  454. Xunsigned char *skip_regexp __PARMS((unsigned char *p, int dirc));
  455. Xstruct regexp *regcomp __PARMS((unsigned char *exp));
  456. Xint regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol));
  457. Xint cstrncmp __PARMS((unsigned char *s1, unsigned char *s2, int n));
  458. Xunsigned char *cstrchr __PARMS((unsigned char *s, int c));
  459. END_OF_FILE
  460.   if test 342 -ne `wc -c <'vim/src/proto/regexp.pro'`; then
  461.     echo shar: \"'vim/src/proto/regexp.pro'\" unpacked with wrong size!
  462.   fi
  463.   # end of 'vim/src/proto/regexp.pro'
  464. fi
  465. if test -f 'vim/src/proto/regsub.pro' -a "${1}" != "-c" ; then 
  466.   echo shar: Will not clobber existing file \"'vim/src/proto/regsub.pro'\"
  467. else
  468.   echo shar: Extracting \"'vim/src/proto/regsub.pro'\" \(192 characters\)
  469.   sed "s/^X//" >'vim/src/proto/regsub.pro' <<'END_OF_FILE'
  470. X/* regsub.c */
  471. Xunsigned char *regtilde __PARMS((unsigned char *source, int magic));
  472. Xint regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic));
  473. END_OF_FILE
  474.   if test 192 -ne `wc -c <'vim/src/proto/regsub.pro'`; then
  475.     echo shar: \"'vim/src/proto/regsub.pro'\" unpacked with wrong size!
  476.   fi
  477.   # end of 'vim/src/proto/regsub.pro'
  478. fi
  479. if test -f 'vim/src/proto/tag.pro' -a "${1}" != "-c" ; then 
  480.   echo shar: Will not clobber existing file \"'vim/src/proto/tag.pro'\"
  481. else
  482.   echo shar: Extracting \"'vim/src/proto/tag.pro'\" \(189 characters\)
  483.   sed "s/^X//" >'vim/src/proto/tag.pro' <<'END_OF_FILE'
  484. X/* tag.c */
  485. Xvoid dotag __PARMS((unsigned char *tag, int type, int count));
  486. Xvoid dotags __PARMS((void));
  487. Xint ExpandTags __PARMS((struct regexp *prog, int *num_file, unsigned char ***file));
  488. END_OF_FILE
  489.   if test 189 -ne `wc -c <'vim/src/proto/tag.pro'`; then
  490.     echo shar: \"'vim/src/proto/tag.pro'\" unpacked with wrong size!
  491.   fi
  492.   # end of 'vim/src/proto/tag.pro'
  493. fi
  494. if test -f 'vim/src/proto/termlib.pro' -a "${1}" != "-c" ; then 
  495.   echo shar: Will not clobber existing file \"'vim/src/proto/termlib.pro'\"
  496. else
  497.   echo shar: Extracting \"'vim/src/proto/termlib.pro'\" \(300 characters\)
  498.   sed "s/^X//" >'vim/src/proto/termlib.pro' <<'END_OF_FILE'
  499. X/* termlib.c */
  500. Xint tgetent __PARMS((char *tbuf, char *term));
  501. Xint tgetflag __PARMS((char *id));
  502. Xint tgetnum __PARMS((char *id));
  503. Xchar *tgetstr __PARMS((char *id, char **buf));
  504. Xchar *tgoto __PARMS((char *cm, int col, int line));
  505. Xint tputs __PARMS((char *cp, int affcnt, void (*outc)(unsigned int)));
  506. END_OF_FILE
  507.   if test 300 -ne `wc -c <'vim/src/proto/termlib.pro'`; then
  508.     echo shar: \"'vim/src/proto/termlib.pro'\" unpacked with wrong size!
  509.   fi
  510.   # end of 'vim/src/proto/termlib.pro'
  511. fi
  512. if test -f 'vim/src/proto/undo.pro' -a "${1}" != "-c" ; then 
  513.   echo shar: Will not clobber existing file \"'vim/src/proto/undo.pro'\"
  514. else
  515.   echo shar: Extracting \"'vim/src/proto/undo.pro'\" \(555 characters\)
  516.   sed "s/^X//" >'vim/src/proto/undo.pro' <<'END_OF_FILE'
  517. X/* undo.c */
  518. Xint u_save_cursor __PARMS((void));
  519. Xint u_save __PARMS((long top, long bot));
  520. Xint u_savesub __PARMS((long lnum));
  521. Xint u_inssub __PARMS((long lnum));
  522. Xint u_savedel __PARMS((long lnum, long nlines));
  523. Xvoid u_undo __PARMS((int count));
  524. Xvoid u_redo __PARMS((int count));
  525. Xvoid u_sync __PARMS((void));
  526. Xvoid u_unchanged __PARMS((struct buffer *buf));
  527. Xvoid u_clearall __PARMS((struct buffer *buf));
  528. Xvoid u_saveline __PARMS((long lnum));
  529. Xvoid u_clearline __PARMS((void));
  530. Xvoid u_undoline __PARMS((void));
  531. Xvoid u_blockfree __PARMS((struct buffer *buf));
  532. END_OF_FILE
  533.   if test 555 -ne `wc -c <'vim/src/proto/undo.pro'`; then
  534.     echo shar: \"'vim/src/proto/undo.pro'\" unpacked with wrong size!
  535.   fi
  536.   # end of 'vim/src/proto/undo.pro'
  537. fi
  538. if test -f 'vim/src/regmagic.h' -a "${1}" != "-c" ; then 
  539.   echo shar: Will not clobber existing file \"'vim/src/regmagic.h'\"
  540. else
  541.   echo shar: Extracting \"'vim/src/regmagic.h'\" \(663 characters\)
  542.   sed "s/^X//" >'vim/src/regmagic.h' <<'END_OF_FILE'
  543. X/* vi:ts=4:sw=4
  544. X * NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
  545. X *
  546. X * This is NOT the original regular expression code as written by
  547. X * Henry Spencer. This code has been modified specifically for use
  548. X * with the VIM editor, and should not be used apart from compiling
  549. X * VIM. If you want a good regular expression library, get the
  550. X * original code. The copyright notice that follows is from the
  551. X * original.
  552. X *
  553. X * NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
  554. X *
  555. X * The first byte of the regexp internal "program" is actually this magic
  556. X * number; the start node begins in the second byte.
  557. X */
  558. X
  559. X#define MAGIC    0234
  560. END_OF_FILE
  561.   if test 663 -ne `wc -c <'vim/src/regmagic.h'`; then
  562.     echo shar: \"'vim/src/regmagic.h'\" unpacked with wrong size!
  563.   fi
  564.   # end of 'vim/src/regmagic.h'
  565. fi
  566. if test -f 'vim/src/termlib.fix.UU' -a "${1}" != "-c" ; then 
  567.   echo shar: Will not clobber existing file \"'vim/src/termlib.fix.UU'\"
  568. else
  569.   echo shar: Extracting \"'vim/src/termlib.fix.UU'\" \(86 characters\)
  570.   sed "s/^X//" >'vim/src/termlib.fix.UU' <<'END_OF_FILE'
  571. Xbegin 644 vim/src/termlib.fix
  572. XB#2]O=71C*2@I#6QL;&QL875N<VEG;F5D(&EN=!LZ=W$-"@ #
  573. Xend
  574. END_OF_FILE
  575.   if test 86 -ne `wc -c <'vim/src/termlib.fix.UU'`; then
  576.     echo shar: \"'vim/src/termlib.fix.UU'\" unpacked with wrong size!
  577.   else
  578.     echo shar: Uudecoding \"'vim/src/termlib.fix'\" \(34 characters\)
  579.     cat vim/src/termlib.fix.UU | uudecode
  580.     if test 34 -ne `wc -c <'vim/src/termlib.fix'`; then
  581.       echo shar: \"'vim/src/termlib.fix'\" uudecoded with wrong size!
  582.     else
  583.       rm vim/src/termlib.fix.UU
  584.     fi
  585.   fi
  586.   # end of 'vim/src/termlib.fix.UU'
  587. fi
  588. if test -f 'vim/src/vim.prj' -a "${1}" != "-c" ; then 
  589.   echo shar: Will not clobber existing file \"'vim/src/vim.prj'\"
  590. else
  591.   echo shar: Extracting \"'vim/src/vim.prj'\" \(254 characters\)
  592.   sed "s/^X//" >'vim/src/vim.prj' <<'END_OF_FILE'
  593. XALLOC.C
  594. XBUFFERS.C
  595. XCHARSET.C
  596. XCMDLINE.C
  597. XCSEARCH.C
  598. XEDIT.C
  599. XDIGRAPH.C
  600. XFILEIO.C
  601. XHELP.C
  602. XLINEFUNC.C
  603. XMAIN.C
  604. XMARK.C
  605. XMESSAGE.C
  606. XMISCCMDS.C
  607. XMSDOS.C
  608. XNORMAL.C
  609. XOPS.C
  610. XPARAM.C
  611. XQUICKFIX.C
  612. XREGEXP.C
  613. XREGSUB.C
  614. XSCREEN.C
  615. XSCRIPT.C
  616. XSEARCH.C
  617. XSTORAGE.C
  618. XTAG.C
  619. XTERM.C
  620. XUNDO.C
  621. XVERSION.C
  622. END_OF_FILE
  623.   if test 254 -ne `wc -c <'vim/src/vim.prj'`; then
  624.     echo shar: \"'vim/src/vim.prj'\" unpacked with wrong size!
  625.   fi
  626.   # end of 'vim/src/vim.prj'
  627. fi
  628. if test -f 'vim/tools/vim132.UU' -a "${1}" != "-c" ; then 
  629.   echo shar: Will not clobber existing file \"'vim/tools/vim132.UU'\"
  630. else
  631.   echo shar: Extracting \"'vim/tools/vim132.UU'\" \(365 characters\)
  632.   sed "s/^X//" >'vim/tools/vim132.UU' <<'END_OF_FILE'
  633. Xbegin 644 vim/tools/vim132
  634. XM(R$@+V)I;B]C<V@*(R!3:&5L;"!S8W)I<'0@9F]R('5S92!W:71H(%5.25@*
  635. XM(R!3=&%R=',@=7 @5FEM('=I=&@@=&AE('1E<FUI;F%L(&EN(#$S,B!C;VQU
  636. XM;6X@;6]D90HC($]N;'D@=V]R:W,@;VX@5E0M,3 P('1E<FUI;F%L<R!A;F0@
  637. XM;&]O:V%L:6ME<PHC"G-E="!O;&1T97)M/21T97)M"F5C:&\@(AM;/S-H(@IS
  638. XM971E;G8@5$5232!V=#$P,"UW( IV:6T@)"H*<V5T('1E<FT])&]L9'1E<FT*
  639. X-96-H;R B&UL_,VPB"C$P
  640. Xend
  641. END_OF_FILE
  642.   if test 365 -ne `wc -c <'vim/tools/vim132.UU'`; then
  643.     echo shar: \"'vim/tools/vim132.UU'\" unpacked with wrong size!
  644.   else
  645.     echo shar: Uudecoding \"'vim/tools/vim132'\" \(238 characters\)
  646.     cat vim/tools/vim132.UU | uudecode
  647.     if test 238 -ne `wc -c <'vim/tools/vim132'`; then
  648.       echo shar: \"'vim/tools/vim132'\" uudecoded with wrong size!
  649.     else
  650.       rm vim/tools/vim132.UU
  651.     fi
  652.     echo shar: \"'vim/tools/vim132.UU'\" unpacked with wrong size!
  653.   fi
  654.   # end of 'vim/tools/vim132.UU'
  655. fi
  656. if test -f 'vim/tutor/Readme' -a "${1}" != "-c" ; then 
  657.   echo shar: Will not clobber existing file \"'vim/tutor/Readme'\"
  658. else
  659.   echo shar: Extracting \"'vim/tutor/Readme'\" \(768 characters\)
  660.   sed "s/^X//" >'vim/tutor/Readme' <<'END_OF_FILE'
  661. XVitutor is a "hands on" tutorial for new users of the Vim editor.
  662. X
  663. XMost new users can get through it in less than one hour.  The result
  664. Xis that you can do a simple editing task using the Vim editor.
  665. X
  666. XTutor is a file that contains the tutorial lessons.  You can simply
  667. Xexecute "vim tutor" and then follow the instructions in the lessons.
  668. XThe lessons tell you to modify the file, so DON'T DO THIS ON YOUR
  669. XORIGINAL COPY.
  670. X
  671. XI have considered adding more advanced lessons but have not found the
  672. Xtime.  Please let me know how you like it and send any improvements you
  673. Xmake.
  674. X
  675. XBob Ware, Colorado School of Mines, Golden, Co 80401, USA
  676. X(303) 273-3987
  677. Xbware@mines.colorado.edu bware@slate.mines.colorado.edu bware@mines.bitnet
  678. X
  679. X(This file was modified by Bram Moolenaar for Vim)
  680. END_OF_FILE
  681.   if test 768 -ne `wc -c <'vim/tutor/Readme'`; then
  682.     echo shar: \"'vim/tutor/Readme'\" unpacked with wrong size!
  683.   fi
  684.   # end of 'vim/tutor/Readme'
  685. fi
  686. echo shar: End of archive 26 \(of 26\).
  687. cp /dev/null ark26isdone
  688. MISSING=""
  689. 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
  690.     if test ! -f ark${I}isdone ; then
  691.     MISSING="${MISSING} ${I}"
  692.     fi
  693. done
  694. if test "${MISSING}" = "" ; then
  695.     echo You have unpacked all 26 archives.
  696.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  697. else
  698.     echo You still must unpack the following archives:
  699.     echo "        " ${MISSING}
  700. fi
  701. exit 0
  702. exit 0 # Just in case...
  703.