home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / misc / volume41 / vim / part01 < prev    next >
Encoding:
Text File  |  1993-12-20  |  78.0 KB  |  2,255 lines

  1. Newsgroups: comp.sources.misc
  2. From: mool@oce.nl (Bram Moolenaar)
  3. Subject: v41i051:  vim - Vi IMitation editor, v2.0, Part01/25
  4. Message-ID: <1993Dec21.034211.26684@sparky.sterling.com>
  5. X-Md4-Signature: fccca5ad6f071108922773f5bf8fa28e
  6. Keywords: utility, editor, vi, vim
  7. Sender: kent@sparky.sterling.com (Kent Landfield)
  8. Organization: Sterling Software
  9. Date: Tue, 21 Dec 1993 03:42:11 GMT
  10. Approved: kent@sparky.sterling.com
  11.  
  12. Submitted-by: mool@oce.nl (Bram Moolenaar)
  13. Posting-number: Volume 41, Issue 51
  14. Archive-name: vim/part01
  15. Environment: UNIX, AMIGA, MS-DOS
  16. Supersedes: vim: Volume 37, Issue 1-24
  17.  
  18. #! /bin/sh
  19. # This is a shell archive.  Remove anything before this line, then unpack
  20. # it by saving it into a file and typing "sh file".  To overwrite existing
  21. # files, type "sh file -c".  You can also feed this as standard input via
  22. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  23. # will see the following message at the end:
  24. #        "End of archive 1 (of 25)."
  25. # Contents:  vim vim/.exrc vim/README vim/doc vim/doc/unix.doc
  26. #   vim/doc/vim132.uue vim/execute.me vim/macros vim/macros/center.uue
  27. #   vim/macros/hanoi vim/macros/hanoi/click.me
  28. #   vim/macros/hanoi/hanoi_ma.uue vim/macros/hanoi/poster
  29. #   vim/macros/keyword.uue vim/macros/maze vim/macros/maze/README
  30. #   vim/macros/maze/makefile vim/macros/maze/maze.c
  31. #   vim/macros/maze/maze_5.78 vim/macros/maze/maze_ansi.c
  32. #   vim/macros/maze/poster vim/macros/readme vim/poster vim/src
  33. #   vim/src/addcr.c vim/src/ascii.h vim/src/debug.h vim/src/macros.h
  34. #   vim/src/mark.h vim/src/mkcmdtab.c vim/src/ops.h vim/src/proto
  35. #   vim/src/proto.h vim/src/proto/alloc.pro vim/src/proto/amiga.pro
  36. #   vim/src/proto/buffers.pro vim/src/proto/charset.pro
  37. #   vim/src/proto/cmdline.pro vim/src/proto/csearch.pro
  38. #   vim/src/proto/digraph.pro vim/src/proto/edit.pro
  39. #   vim/src/proto/fileio.pro vim/src/proto/help.pro
  40. #   vim/src/proto/linefunc.pro vim/src/proto/main.pro
  41. #   vim/src/proto/mark.pro vim/src/proto/message.pro
  42. #   vim/src/proto/misccmds.pro vim/src/proto/normal.pro
  43. #   vim/src/proto/ops.pro vim/src/proto/param.pro
  44. #   vim/src/proto/quickfix.pro vim/src/proto/regexp.pro
  45. #   vim/src/proto/regsub.pro vim/src/proto/screen.pro
  46. #   vim/src/proto/script.pro vim/src/proto/search.pro
  47. #   vim/src/proto/storage.pro vim/src/proto/tag.pro
  48. #   vim/src/proto/term.pro vim/src/proto/termlib.pro
  49. #   vim/src/proto/undo.pro vim/src/ptx_stdlib.h vim/src/regexp.h
  50. #   vim/src/regmagic.h vim/src/sun_stdlib.h vim/src/term_fix.uue
  51. #   vim/src/vim.prj vim/src/vimresp vim/tutor vim/tutor/Readme
  52. #   vim/tutor/poster
  53. # Wrapped by mool@oce-rd2 on Wed Dec 15 09:50:03 1993
  54. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  55. if test ! -d 'vim' ; then
  56.     echo shar: Creating directory \"'vim'\"
  57.     mkdir 'vim'
  58. fi
  59. if test -f 'vim/.exrc' -a "${1}" != "-c" ; then 
  60.   echo shar: Will not clobber existing file \"'vim/.exrc'\"
  61. else
  62. echo shar: Extracting \"'vim/.exrc'\" \(30 characters\)
  63. sed "s/^X//" >'vim/.exrc' <<'END_OF_FILE'
  64. Xset ai bs=2 shell=csh nojs ru
  65. END_OF_FILE
  66. if test 30 -ne `wc -c <'vim/.exrc'`; then
  67.     echo shar: \"'vim/.exrc'\" unpacked with wrong size!
  68. fi
  69. chmod +x 'vim/.exrc'
  70. # end of 'vim/.exrc'
  71. fi
  72. if test -f 'vim/README' -a "${1}" != "-c" ; then 
  73.   echo shar: Will not clobber existing file \"'vim/README'\"
  74. else
  75. echo shar: Extracting \"'vim/README'\" \(1629 characters\)
  76. sed "s/^X//" >'vim/README' <<'END_OF_FILE'
  77. XREADME for version 2.0 of Vim: Vi IMproved.
  78. X
  79. XVim is an almost compatible version of the UNIX editor vi. Only the 'Q'
  80. Xcommand is missing (you don't need it). Many new features have been added:
  81. Xmulti level undo, command line history, filename completion, block operations,
  82. Xetc. See difference.doc.
  83. X
  84. XThis editor is very useful for editing programs and other plain ASCII files. 
  85. XAll commands are given with normal keyboard characters, so those who can type 
  86. Xwith ten fingers can work very fast. Additionally function keys can be defined
  87. Xby the user.
  88. X
  89. XVim currently runs under Amiga DOS, MSDOS and many UNIX versions. Porting to
  90. Xother systems should not be very difficult.
  91. X
  92. XDocumentation:
  93. X      tutor/readme - one hour training course for beginners
  94. X     reference.doc - complete reference of all Vim commands
  95. X    difference.doc - summarizes the differences with UNIX vi
  96. X         index - alfabetical list of commands
  97. X         amiga.doc - remarks for Amiga
  98. X          unix.doc - remarks for unix
  99. X         msdos.doc - remarks for MSDOS
  100. X
  101. XVim is Charityware. You can copy it as much as you like. Please read
  102. Xuganda.txt for details.
  103. X
  104. X
  105. XThe makefile offers some compilation options. If you do not use digraphs, you
  106. Xcan save some memory by recompiling without the DIGRAPHS option. The Amiga
  107. Xand MS-DOS versions are compiled for a limited number of supported terminals.
  108. XIf you want to use Vim with other terminals you can recompile with the
  109. XTERMCAP option. See the makefiles for further options.
  110. X
  111. XPlease send comments, bug reports and suggestions to:
  112. X
  113. X    Bram Moolenaar        UUCP E-mail:    mool@oce.nl
  114. X    Clematisstraat 30        FAX:    +31-77-595473
  115. X    5925 BE  Venlo
  116. X    The Netherlands
  117. END_OF_FILE
  118. if test 1629 -ne `wc -c <'vim/README'`; then
  119.     echo shar: \"'vim/README'\" unpacked with wrong size!
  120. fi
  121. chmod +x 'vim/README'
  122. # end of 'vim/README'
  123. fi
  124. if test ! -d 'vim/doc' ; then
  125.     echo shar: Creating directory \"'vim/doc'\"
  126.     mkdir 'vim/doc'
  127. fi
  128. if test -f 'vim/doc/unix.doc' -a "${1}" != "-c" ; then 
  129.   echo shar: Will not clobber existing file \"'vim/doc/unix.doc'\"
  130. else
  131. echo shar: Extracting \"'vim/doc/unix.doc'\" \(1226 characters\)
  132. sed "s/^X//" >'vim/doc/unix.doc' <<'END_OF_FILE'
  133. XThis file contains the particularities for the UNIX version of Vim.
  134. X
  135. XThe default help filename is "/usr/local/lib/vim.hlp"
  136. XThe files "$HOME/.vimrc" and "$HOME/.exrc" are used instead of "s:.vimrc" and 
  137. X"s:.exrc". Additionally "/usr/etc/.vimrc" is used first.
  138. X
  139. XTemporary files (for filtering) are put in "/tmp".
  140. X
  141. XIn some cases the terminal may have a problem with CTRL-S (subtract
  142. Xcommand). To get around this you can map another key to CTRL-S, and remap
  143. XCTRL-S to nothing. You could use CTRL-W:
  144. X    :noremap! ^W ^V019
  145. X    :noremap! ^V019 ^V^V
  146. X    :noremap ^W ^V019
  147. X    :noremap ^V019 ^V^V
  148. X(^V is the single character CTRL-V. Do not use the '^' character. You have to 
  149. Xtype CTRL-V twice to get one. What is shown above is what you have to type, 
  150. Xit will look different on the screen or in the .exrc file.)
  151. X
  152. XWith wildcard expansion you can use <~> (home directory) and <$> 
  153. X(environment variable).
  154. X
  155. XBecause terminal updating under UNIX is often slow (e.g. serial line 
  156. Xterminal, shell window in suntools), the 'showcommand' and 'ruler' options 
  157. Xare default off.
  158. X
  159. XThe file Vim132 is a shell script that can be used to put Vim in 132 column 
  160. Xmode on a vt100 and lookalikes.
  161. X
  162. XThe *.info files are for the Amiga. You don't need them with unix.
  163. END_OF_FILE
  164. if test 1226 -ne `wc -c <'vim/doc/unix.doc'`; then
  165.     echo shar: \"'vim/doc/unix.doc'\" unpacked with wrong size!
  166. fi
  167. chmod +x 'vim/doc/unix.doc'
  168. # end of 'vim/doc/unix.doc'
  169. fi
  170. if test -f 'vim/doc/vim132.uue' -a "${1}" != "-c" ; then 
  171.   echo shar: Will not clobber existing file \"'vim/doc/vim132.uue'\"
  172. else
  173. echo shar: Extracting \"'vim/doc/vim132.uue'\" \(372 characters\)
  174. sed "s/^X//" >'vim/doc/vim132.uue' <<'END_OF_FILE'
  175. X
  176. Xbegin 644 vim132
  177. XM(R$@+V)I;B]C<V@*(R!3:&5L;"!S8W)I<'0@9F]R('5S92!W:71H(%5.25@*1
  178. XM(R!3=&%R=',@=7`@5FEM('=I=&@@=&AE('1E<FUI;F%L(&EN(#$S,B!C;VQU.
  179. XM;6X@;6]D90HC($]N;'D@=V]R:W,@;VX@5E0M,3`P('1E<FUI;F%L<R!A;F0@,
  180. XM;&]O:V%L:6ME<PHC"G-E="!O;&1T97)M/21T97)M"F5C:&\@(AM;/S-H(@IS[
  181. XM971E;G8@5$5232!V=#$P,"UW(`IV:6T@)"H*<V5T('1E<FT])&]L9'1E<FT*M
  182. X-96-H;R`B&UL_,VPB"C$P"
  183. X``
  184. Xend
  185. Xsize 238
  186. END_OF_FILE
  187. if test 372 -ne `wc -c <'vim/doc/vim132.uue'`; then
  188.     echo shar: \"'vim/doc/vim132.uue'\" unpacked with wrong size!
  189. fi
  190. chmod +x 'vim/doc/vim132.uue'
  191. # end of 'vim/doc/vim132.uue'
  192. fi
  193. if test -f 'vim/execute.me' -a "${1}" != "-c" ; then 
  194.   echo shar: Will not clobber existing file \"'vim/execute.me'\"
  195. else
  196. echo shar: Extracting \"'vim/execute.me'\" \(840 characters\)
  197. sed "s/^X//" >'vim/execute.me' <<'END_OF_FILE'
  198. X#  Script to unpack the source distribution of Vim
  199. X#
  200. X#  Execute this script in the 'vim' directory.
  201. X#  It is not very smart, no error checking at all.
  202. X#
  203. X#  What it does:
  204. X#  - a few files with special characters in them will be uudecoded
  205. X#  - the three parts of reference.doc are concatenated
  206. X#
  207. Xcd macros
  208. Xuudecode center.uue
  209. Xrm center.uue
  210. Xcd maze
  211. Xuudecode maze_mac.uue
  212. Xrm maze_mac.uue
  213. Xcd ../hanoi
  214. Xuudecode hanoi_ma.uue
  215. Xrm hanoi_ma.uue
  216. Xcd ../../src
  217. Xuudecode digrap_c.uue
  218. Xuudecode tccon_tc.uue
  219. Xuudecode term_fix.uue
  220. Xrm digrap_c.uue tccon_tc.uue term_fix.uue
  221. Xcd ../doc
  222. Xuudecode vim_hlp.uue
  223. Xuudecode digr_doc.uue
  224. Xuudecode vim_man.uue
  225. Xuudecode vim132.uue
  226. Xrm vim_hlp.uue digr_doc.uue vim_man.uue vim132.uue
  227. Xcat reference.do1 reference.do2 reference.do3 reference.do4 >reference.doc
  228. Xrm reference.do1 reference.do2 reference.do3 reference.do4
  229. Xcd ..
  230. END_OF_FILE
  231. if test 840 -ne `wc -c <'vim/execute.me'`; then
  232.     echo shar: \"'vim/execute.me'\" unpacked with wrong size!
  233. fi
  234. chmod +x 'vim/execute.me'
  235. # end of 'vim/execute.me'
  236. fi
  237. if test ! -d 'vim/macros' ; then
  238.     echo shar: Creating directory \"'vim/macros'\"
  239.     mkdir 'vim/macros'
  240. fi
  241. if test -f 'vim/macros/center.uue' -a "${1}" != "-c" ; then 
  242.   echo shar: Will not clobber existing file \"'vim/macros/center.uue'\"
  243. else
  244. echo shar: Extracting \"'vim/macros/center.uue'\" \(274 characters\)
  245. sed "s/^X//" >'vim/macros/center.uue' <<'END_OF_FILE'
  246. X
  247. Xbegin 644 center
  248. XM(E1H:7,@;6%C<F\@8V5N=&5R<R!A(&QI;F4@:6X@86X@.#`@8VAA<F%C=&5R$
  249. XM('-P86-E+@HB0V%R969U;#H@;&EN97,@;&]N9V5R('1H86X@.#`@8VAA<F%CY
  250. XM=&5R<R!W:6QL(&)E('1R=6YC871E9`IM87`@.V-E(#IS+UY;(`E=*B\O#21MS
  251. XB83@Q82`;.#$6?$1@86QL9#`Z<R\@("\@+V<-)'`-:R1X"EY;+
  252. X``
  253. Xend
  254. Xsize 169
  255. END_OF_FILE
  256. if test 274 -ne `wc -c <'vim/macros/center.uue'`; then
  257.     echo shar: \"'vim/macros/center.uue'\" unpacked with wrong size!
  258. fi
  259. chmod +x 'vim/macros/center.uue'
  260. # end of 'vim/macros/center.uue'
  261. fi
  262. if test ! -d 'vim/macros/hanoi' ; then
  263.     echo shar: Creating directory \"'vim/macros/hanoi'\"
  264.     mkdir 'vim/macros/hanoi'
  265. fi
  266. if test -f 'vim/macros/hanoi/click.me' -a "${1}" != "-c" ; then 
  267.   echo shar: Will not clobber existing file \"'vim/macros/hanoi/click.me'\"
  268. else
  269. echo shar: Extracting \"'vim/macros/hanoi/click.me'\" \(255 characters\)
  270. sed "s/^X//" >'vim/macros/hanoi/click.me' <<'END_OF_FILE'
  271. X
  272. X
  273. XSee Vim solve the towers of Hanoi!
  274. X
  275. XInstructions:
  276. X   type ":so hanoi.mac<RETURN>" to load the macros
  277. X   type "g" to start it
  278. X
  279. Xand watch it go.
  280. X
  281. X     to quit type ":q!<RETURN>"
  282. Xto interrupt type CTRL-C
  283. X
  284. X(This text will disappear as soon as you type "g")
  285. END_OF_FILE
  286. if test 255 -ne `wc -c <'vim/macros/hanoi/click.me'`; then
  287.     echo shar: \"'vim/macros/hanoi/click.me'\" unpacked with wrong size!
  288. fi
  289. chmod +x 'vim/macros/hanoi/click.me'
  290. # end of 'vim/macros/hanoi/click.me'
  291. fi
  292. if test -f 'vim/macros/hanoi/hanoi_ma.uue' -a "${1}" != "-c" ; then 
  293.   echo shar: Will not clobber existing file \"'vim/macros/hanoi/hanoi_ma.uue'\"
  294. else
  295. echo shar: Extracting \"'vim/macros/hanoi/hanoi_ma.uue'\" \(1577 characters\)
  296. sed "s/^X//" >'vim/macros/hanoi/hanoi_ma.uue' <<'END_OF_FILE'
  297. X
  298. Xbegin 644 hanoi.mac
  299. XM<V5T(')E;6%P"G-E="!N;W1E<G-E"G-E="!W<F%P<V-A;@HB('1O('-E="!T[
  300. XM:&4@:&5I9VAT(&]F('1H92!T;W=E<BP@8VAA;F=E('1H92!D:6=I="!I;B!T<
  301. XM:&4@9F]L;&]W:6YG"B(@='=O(&QI;F5S('1O('1H92!H96EG:'0@>6]U('=A1
  302. XM;G0@*'-E;&5C="!F<F]M(#$@=&\@.2D*;6%P('0@-PIM87`A('0@-PIM87`@#
  303. XM3"`Q1R]T#5@O7C`-)%`Q1THD06XD0D=#,&4D6#!%,$8D6"]4#4!F#4!H#21!$
  304. XM,4=*0&8P;"18;B1050IM87`@9R!)3`H*;6%P($H@+UXP6UYT72HD#0IM87`@A
  305. XM6"!X"FUA<"!0('`*;6%P(%4@3`IM87`@02`B9GEL"FUA<"!"(")H>6P*;6%P8
  306. XM($,@(F9P"FUA<"!E(")F>3)L"FUA<"!%(")H<`IM87`@1B`B:'DR;`H*(B!I\
  307. XM;FET:6%L:7-A=&EO;G,Z"B(@2TT)8VQE86YU<"!B=69F97(*(B!9"6-R96%T1
  308. XM92!T;W=E<B!O9B!D97-I<F5D(&AE:6=H=`HB($Y/40EC;W!Y(&ET(&%N9"!I;
  309. XM;G-T97(@82!4"B(@3D\)8V]P>2!T:&ES(&]N90HB(%,)8VAA;F=E(&QA<W0@*
  310. XM8VAA<B!I;G1O(&$@)`HB(%()8VAA;F=E(&QA<W0@8VAA<B!I;B!P<F5V:6]U]
  311. XM<R!L:6YE(&EN=&\@82!N"B(@5`EI;G-E<G0@='=O(&QI;F5S(&-O;G1A:6YI,
  312. XM;F<@82!Z97)O"B(@5@EA9&0@82!L87-T(&QI;F4@8V]N=&%I;FEN9R!A(&)A5
  313. XM8VMS;&%S:`IM87`@22!+35E.3U%.3U-K4E16"@HB8W)E871E(&5M<'1Y(&QI>
  314. XM;F4*;6%P($L@,4=O&PH*(F1E;&5T92!T;R!E;F0@;V8@9FEL90IM87`@32!D9
  315. XM1PH*(GEA;FL@;VYE(&QI;F4*;6%P($X@>7D*"B)P=70*;6%P($\@<`H*(F1EW
  316. XM;&5T92!M;W)E('1H86X@:&5I9VAT+6]F+71O=V5R(&-H87)A8W1E<G,*;6%P)
  317. XM('$@=&QL1`H*(F-R96%T92!A('1O=V5R(&]F(&1E<VER960@:&5I9VAT"FUAC
  318. XM<"!9(&\P,3(S-#4V-S@Y6ALP<0H*(FEN<V5R="!A(%0@:6X@8V]L=6UN(#$*;
  319. XM;6%P(%$@,&E4&PH*(G-U8G-T:71U=&4@;&%S="!C:&%R86-T97(@=VET:"!AG
  320. XM(&X*;6%P(%(@)')N"@HB<W5B<W1I='5T92!L87-T(&-H87)A8W1E<B!W:71H[
  321. XM(&$@)`IM87`@4R`D<B0*"B)I;G-E<G0@='=O(&QI;F5S(&-O;G1A:6YI;F<@$
  322. XM82!Z97)O"FUA<"!4(&MO,`TP#0T;"@HB861D(&$@8F%C:W-L87-H(&%T('1HV
  323. X192!E;F0*;6%P(%8@1V\O&PHP4
  324. X``
  325. Xend
  326. Xsize 1097
  327. END_OF_FILE
  328. if test 1577 -ne `wc -c <'vim/macros/hanoi/hanoi_ma.uue'`; then
  329.     echo shar: \"'vim/macros/hanoi/hanoi_ma.uue'\" unpacked with wrong size!
  330. fi
  331. chmod +x 'vim/macros/hanoi/hanoi_ma.uue'
  332. # end of 'vim/macros/hanoi/hanoi_ma.uue'
  333. fi
  334. if test -f 'vim/macros/hanoi/poster' -a "${1}" != "-c" ; then 
  335.   echo shar: Will not clobber existing file \"'vim/macros/hanoi/poster'\"
  336. else
  337. echo shar: Extracting \"'vim/macros/hanoi/poster'\" \(1259 characters\)
  338. sed "s/^X//" >'vim/macros/hanoi/poster' <<'END_OF_FILE'
  339. XArticle 2913 of alt.sources:
  340. XPath: oce-rd1!hp4nl!mcsun!uunet!munnari.oz.au!metro!cluster!swift!softway!otc!gregm
  341. XFrom: gregm@otc.otca.oz.au (Greg McFarlane)
  342. XNewsgroups: comp.sources.d,alt.sources,comp.editors
  343. XSubject: VI SOLVES HANOI
  344. XMessage-ID: <2323@otc.otca.oz>
  345. XDate: 19 Feb 91 01:32:14 GMT
  346. XSender: news@otc.otca.oz
  347. XReply-To: gregm@otc.otca.oz.au (Greg McFarlane)
  348. XOrganization: OTC Development Unit, Australia
  349. XLines: 80
  350. XXref: oce-rd1 comp.sources.d:5702 alt.sources:2913 comp.editors:2313
  351. X
  352. XSubmitted-by: gregm@otc.otca.oz.au
  353. XArchive-name: hanoi.vi.macros/part01
  354. X
  355. XEveryone seems to be writing stupid Tower of Hanoi programs.
  356. XWell, here is the stupidest of them all: the hanoi solving vi macros.
  357. X
  358. XSave this article, unshar it, and run uudecode on hanoi.vi.macros.uu.
  359. XThis will give you the macro file hanoi.vi.macros.
  360. XThen run vi (with no file: just type "vi") and type:
  361. X    :so hanoi.vi.macros
  362. X    g
  363. Xand watch it go.
  364. X
  365. XThe default height of the tower is 7 but can be easily changed by editing
  366. Xthe macro file.
  367. X
  368. XThe disks aren't actually shown in this version, only numbers representing
  369. Xeach disk, but I believe it is possible to write some macros to show the
  370. Xdisks moving about as well. Any takers?
  371. X
  372. X(For maze solving macros, see alt.sources or comp.editors)
  373. X
  374. XGreg
  375. END_OF_FILE
  376. if test 1259 -ne `wc -c <'vim/macros/hanoi/poster'`; then
  377.     echo shar: \"'vim/macros/hanoi/poster'\" unpacked with wrong size!
  378. fi
  379. chmod +x 'vim/macros/hanoi/poster'
  380. # end of 'vim/macros/hanoi/poster'
  381. fi
  382. if test -f 'vim/macros/keyword.uue' -a "${1}" != "-c" ; then 
  383.   echo shar: Will not clobber existing file \"'vim/macros/keyword.uue'\"
  384. else
  385. echo shar: Extracting \"'vim/macros/keyword.uue'\" \(767 characters\)
  386. sed "s/^X//" >'vim/macros/keyword.uue' <<'END_OF_FILE'
  387. X
  388. Xbegin 644 keyword
  389. XM(B!3;VUE(&AA;F1Y(&ME>7=O<F0M8V]M<&QE=&EO;B!M86-R;W,N"B(@5&AE6
  390. XM('=O<F0@:6X@9G)O;G0@;V8@=&AE(&-U<G-O<B!I<R!T86ME;B!A<R!A('-E,
  391. XM87)C:"!S=')I;F<L('1H92!P<F5V:6]U<PHB('!A<G1I86QL>2!M871C:&ENA
  392. XM9R!W;W)D(&ES(&9O=6YD('=H:6-H('1H96X@<F5P;&%C97,@=&AE('=O<F0@)
  393. XM:6X@9G)O;G0*(B!O9B!T:&4@8W5R<V]R+B!4:&4@;6%C<F]S('=O<FL@:6X@N
  394. XM:6YS97)T(&UO9&4N"B(*(B!>2R!S96%R8VAE<R!B86-K=V%R9"!F;W(@=&AE^
  395. XM(&9I<G-T(&UA=&-H"B(@7DX@<V5A<F-H97,@8F%C:W=A<F0@9F]R('1H92!N0
  396. XM97AT(&UA=&-H("AA9G1E<B!>2RD*(B!>4"!S96%R8VAE<R!F;W)W87)D(&9O\
  397. XM<B!T:&4@<')E=FEO=7,@;6%T8V@@*&%F=&5R(%Y+*0HB"B(@5&AA;FMS('1O-
  398. XM($1A=F4@0V%U9VAE>2X*(@HZ;6%P(2`+(!86%@T;8FUM:3]</!M@;2)N>68-8
  399. XM0&YM;B)N>7=@;6-F#0)N"CIM87`A(`X@+AM@;FYM;B)N>7=@;6-F+@)N"CIM2
  400. X987`A(!`@+AM@;DYM;B)N>7=@;6-F+@)N"AM@[
  401. X``
  402. Xend
  403. Xsize 520
  404. END_OF_FILE
  405. if test 767 -ne `wc -c <'vim/macros/keyword.uue'`; then
  406.     echo shar: \"'vim/macros/keyword.uue'\" unpacked with wrong size!
  407. fi
  408. chmod +x 'vim/macros/keyword.uue'
  409. # end of 'vim/macros/keyword.uue'
  410. fi
  411. if test ! -d 'vim/macros/maze' ; then
  412.     echo shar: Creating directory \"'vim/macros/maze'\"
  413.     mkdir 'vim/macros/maze'
  414. fi
  415. if test -f 'vim/macros/maze/README' -a "${1}" != "-c" ; then 
  416.   echo shar: Will not clobber existing file \"'vim/macros/maze/README'\"
  417. else
  418. echo shar: Extracting \"'vim/macros/maze/README'\" \(1666 characters\)
  419. sed "s/^X//" >'vim/macros/maze/README' <<'END_OF_FILE'
  420. XTo prove that you can do anything in vi, I wrote a couple of macros that
  421. Xallows vi to solve mazes. It will solve any maze produced by maze.c
  422. Xthat was posted to the net recently.
  423. X
  424. XJust follow this recipe and SEE FOR YOURSELF.
  425. X    1. run uudecode on the file "maze.vi.macros.uu" to
  426. X        produce the file "maze.vi.macros"
  427. X    (If you can't wait to see the action, jump to step 4)
  428. X    2. compile maze.c with "cc -o maze maze.c"
  429. X    3. run maze > maze.out and input a small number (for example 10 if
  430. X        you are on a fast machine, 3-5 if slow) which
  431. X        is the size of the maze to produce
  432. X    4. edit the maze (vi maze.out)
  433. X    5. include the macros with the vi command:
  434. X        :so maze.vi.macros
  435. X    6. type the letter "g" (for "go") and watch vi solve the maze
  436. X    7. when vi solves the maze, you will see why it lies
  437. X    8. now look at maze.vi.macros and all will be revealed
  438. X
  439. XTested on a sparc, a sun and a pyramid (although maze.c will not compile
  440. Xon the pyramid).
  441. X
  442. XAnyone who can't get the maze.c file to compile, get a new compiler,
  443. Xtry maze.ansi.c which was also posted to the net.
  444. XIf you can get it to compile but the maze comes out looking like a fence
  445. Xand not a maze and you are using SysV or DOS replace the "27" on the
  446. Xlast line of maze.c by "11"
  447. XThanks to John Tromp (tromp@piring.cwi.nl) for maze.c.
  448. XThanks to antonyc@nntp-server.caltech.edu (Bill T. Cat) for maze.ansi.c.
  449. X
  450. XAny donations should be in unmarked small denomination bills :^)=.
  451. X
  452. X                   ACSnet:  gregm@otc.otca.oz.au
  453. XGreg McFarlane       UUCP:  {uunet,mcvax}!otc.otca.oz.au!gregm
  454. X|||| OTC ||         Snail:  OTC R&D GPO Box 7000, Sydney 2001, Australia
  455. X                    Phone:  +61 2 287 3139    Fax: +61 2 287 3299
  456. X
  457. X
  458. END_OF_FILE
  459. if test 1666 -ne `wc -c <'vim/macros/maze/README'`; then
  460.     echo shar: \"'vim/macros/maze/README'\" unpacked with wrong size!
  461. fi
  462. chmod +x 'vim/macros/maze/README'
  463. # end of 'vim/macros/maze/README'
  464. fi
  465. if test -f 'vim/macros/maze/makefile' -a "${1}" != "-c" ; then 
  466.   echo shar: Will not clobber existing file \"'vim/macros/maze/makefile'\"
  467. else
  468. echo shar: Extracting \"'vim/macros/maze/makefile'\" \(104 characters\)
  469. sed "s/^X//" >'vim/macros/maze/makefile' <<'END_OF_FILE'
  470. X#On the amiga with manx C 5.0 we have to use maze.ansi.c
  471. X
  472. Xmaze: maze.ansi.o
  473. X    ln maze.ansi.o -o maze -lc
  474. END_OF_FILE
  475. if test 104 -ne `wc -c <'vim/macros/maze/makefile'`; then
  476.     echo shar: \"'vim/macros/maze/makefile'\" unpacked with wrong size!
  477. fi
  478. chmod +x 'vim/macros/maze/makefile'
  479. # end of 'vim/macros/maze/makefile'
  480. fi
  481. if test -f 'vim/macros/maze/maze.c' -a "${1}" != "-c" ; then 
  482.   echo shar: Will not clobber existing file \"'vim/macros/maze/maze.c'\"
  483. else
  484. echo shar: Extracting \"'vim/macros/maze/maze.c'\" \(441 characters\)
  485. sed "s/^X//" >'vim/macros/maze/maze.c' <<'END_OF_FILE'
  486. Xchar*M,A,Z,E=40,J[40],T[40];main(C){for(*J=A=scanf(M="%d",&C);
  487. X--            E;             J[              E]             =T
  488. X[E   ]=  E)   printf("._");  for(;(A-=Z=!Z)  ||  (printf("\n|"
  489. X)    ,   A    =              39              ,C             --
  490. X)    ;   Z    ||    printf   (M   ))M[Z]=Z[A-(E   =A[J-Z])&&!C
  491. X&    A   ==             T[                                  A]
  492. X|6<<27<rand()||!C&!Z?J[T[E]=T[A]]=E,J[T[A]=A-Z]=A,"_.":" |"];}
  493. END_OF_FILE
  494. if test 441 -ne `wc -c <'vim/macros/maze/maze.c'`; then
  495.     echo shar: \"'vim/macros/maze/maze.c'\" unpacked with wrong size!
  496. fi
  497. chmod +x 'vim/macros/maze/maze.c'
  498. # end of 'vim/macros/maze/maze.c'
  499. fi
  500. if test -f 'vim/macros/maze/maze_5.78' -a "${1}" != "-c" ; then 
  501.   echo shar: Will not clobber existing file \"'vim/macros/maze/maze_5.78'\"
  502. else
  503. echo shar: Extracting \"'vim/macros/maze/maze_5.78'\" \(626 characters\)
  504. sed "s/^X//" >'vim/macros/maze/maze_5.78' <<'END_OF_FILE'
  505. X._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  506. X| ._| . . ._| | |_._._. . ._|_._._._._. ._|_. ._|_._. ._| . ._|_. | . ._._. |
  507. X| ._|_| |_. | | | | ._._|_._|_._. . |_. | | | ._._| |_._._| | ._. ._| . . |_|
  508. X|_._._._. | ._|_. ._._._. | | ._. |_._. . | ._._| |_. | ._._._. |_. | |_|_| |
  509. X| | . |_._| . ._._._| ._._. ._._| | | |_| . | |_. . ._|_| ._._. |_._|_| . | |
  510. X|_._|_._._._|_._._._|_|_._._._|_._|_._._._|_._._._|_._._._|_._._._._._._|_._|
  511. X
  512. XSee Vim solve a maze!
  513. X
  514. X   type ":so maze_mac<RETURN>" to load the macros
  515. X
  516. X   type "g" to start
  517. X
  518. Xto interrupt type "<CTRL-C>"
  519. X     to quit type ":q!<RETURN>"
  520. X
  521. END_OF_FILE
  522. if test 626 -ne `wc -c <'vim/macros/maze/maze_5.78'`; then
  523.     echo shar: \"'vim/macros/maze/maze_5.78'\" unpacked with wrong size!
  524. fi
  525. chmod +x 'vim/macros/maze/maze_5.78'
  526. # end of 'vim/macros/maze/maze_5.78'
  527. fi
  528. if test -f 'vim/macros/maze/maze_ansi.c' -a "${1}" != "-c" ; then 
  529.   echo shar: Will not clobber existing file \"'vim/macros/maze/maze_ansi.c'\"
  530. else
  531. echo shar: Extracting \"'vim/macros/maze/maze_ansi.c'\" \(441 characters\)
  532. sed "s/^X//" >'vim/macros/maze/maze_ansi.c' <<'END_OF_FILE'
  533. Xchar*M,A,Z,E=40,J[80],T[3];main(C){for(M=J+E,*J=A=scanf("%d",&
  534. XC)            ;--            E;J             [E            ]=M
  535. X[E   ]=  E)   printf("._");  for(;(A-=Z=!Z)  ||  (printf("\n|"
  536. X)    ,   A    =              39              ,C             --
  537. X)    ;   Z    ||    printf   (T   ))T[Z]=Z[A-(E   =A[J-Z])&&!C
  538. X&    A   ==             M[                                  A]
  539. X|6<<11<rand()||!C&!Z?J[M[E]=M[A]]=E,J[M[A]=A-Z]=A,"_.":" |"];}
  540. END_OF_FILE
  541. if test 441 -ne `wc -c <'vim/macros/maze/maze_ansi.c'`; then
  542.     echo shar: \"'vim/macros/maze/maze_ansi.c'\" unpacked with wrong size!
  543. fi
  544. chmod +x 'vim/macros/maze/maze_ansi.c'
  545. # end of 'vim/macros/maze/maze_ansi.c'
  546. fi
  547. if test -f 'vim/macros/maze/poster' -a "${1}" != "-c" ; then 
  548.   echo shar: Will not clobber existing file \"'vim/macros/maze/poster'\"
  549. else
  550. echo shar: Extracting \"'vim/macros/maze/poster'\" \(1562 characters\)
  551. sed "s/^X//" >'vim/macros/maze/poster' <<'END_OF_FILE'
  552. XArticle 2846 of alt.sources:
  553. XPath: oce-rd1!hp4nl!mcsun!uunet!munnari.oz.au!metro!otc!gregm
  554. XFrom: gregm@otc.otca.oz.au (Greg McFarlane)
  555. XNewsgroups: alt.sources
  556. XSubject: VI SOLVES MAZE (commented macros)
  557. XMessage-ID: <2289@otc.otca.oz>
  558. XDate: 10 Feb 91 23:31:02 GMT
  559. XSender: news@otc.otca.oz
  560. XReply-To: gregm@otc.otca.oz.au (Greg McFarlane)
  561. XOrganization: OTC Development Unit, Australia
  562. XLines: 464
  563. X
  564. XSubmitted-by: gregm@otc.otca.oz.au
  565. XArchive-name: maze_solving_vi_macros
  566. X
  567. XA real working model. See it walk the maze in front of your very own eyes.
  568. X
  569. XTo prove that you can do anything in vi, I wrote a couple of macros that
  570. Xallows vi to solve mazes. It will solve any maze produced by maze.c
  571. Xthat was posted to the alt.sources last month. (Maze.c is also included
  572. Xin this posting as well as an example of its output.)
  573. X
  574. XThe uncommented version of the macros was sent to alt.sources last month.
  575. XHowever, so many people mailed me requesting the commented version of the
  576. Xmacros that I decided to post it. I have made some modifications to the
  577. Xoriginal macros to make them easier to follow and also after I learnt
  578. Xthat you can escape the special meaning of '|' in macros by using '^V|'.
  579. X
  580. XSave this article and unshar it. Then read maze.README.
  581. X
  582. XAfter studying these macros, anyone who cannot write an emacs emulator
  583. Xin vi macros should just curl up and :q!.
  584. X
  585. XComing soon to a newsgroup near you: "Vi macros solve Tower of Hanoi",
  586. Xand a repost of the original "Turing Machine implemented in Vi macros"
  587. X
  588. XAnyone who has a version of these macros for edlin or nroff, please post.
  589. END_OF_FILE
  590. if test 1562 -ne `wc -c <'vim/macros/maze/poster'`; then
  591.     echo shar: \"'vim/macros/maze/poster'\" unpacked with wrong size!
  592. fi
  593. chmod +x 'vim/macros/maze/poster'
  594. # end of 'vim/macros/maze/poster'
  595. fi
  596. if test -f 'vim/macros/readme' -a "${1}" != "-c" ; then 
  597.   echo shar: Will not clobber existing file \"'vim/macros/readme'\"
  598. else
  599. echo shar: Extracting \"'vim/macros/readme'\" \(407 characters\)
  600. sed "s/^X//" >'vim/macros/readme' <<'END_OF_FILE'
  601. XThe macros in the maze and hanoi directories can be used to test Vim for
  602. Xvi compatibility. They have been written for vi to show its unlimited
  603. Xpossibilities.
  604. X
  605. XHANOI are macros that solve the tower of hanoi problem.
  606. XMAZE  are macros that solve a maze (amazing!).
  607. X
  608. XThey are unmodified.
  609. X
  610. X
  611. XThe other files contain some handy macros:
  612. X
  613. Xcenter: center current line in 80-character line
  614. Xkeyword: keyword completion
  615. END_OF_FILE
  616. if test 407 -ne `wc -c <'vim/macros/readme'`; then
  617.     echo shar: \"'vim/macros/readme'\" unpacked with wrong size!
  618. fi
  619. chmod +x 'vim/macros/readme'
  620. # end of 'vim/macros/readme'
  621. fi
  622. if test -f 'vim/poster' -a "${1}" != "-c" ; then 
  623.   echo shar: Will not clobber existing file \"'vim/poster'\"
  624. else
  625. echo shar: Extracting \"'vim/poster'\" \(1584 characters\)
  626. sed "s/^X//" >'vim/poster' <<'END_OF_FILE'
  627. XVim - Vi IMproved. A clone of the UNIX text editor Vi. Very useful for 
  628. Xediting programs and other plain ASCII text. Full Vi compatibility (except Q 
  629. Xcommand, you don't need it). Includes most Ex commands.
  630. X
  631. XExtra features above Vi: Multilevel undo, command line history, improved 
  632. Xcommand line editing, command typeahead display, command to display yank 
  633. Xbuffers, possibility to edit binary files, line wrapping can be switched off,
  634. Xfile name stack, can be adjusted to understand error messages from any
  635. Xcompiler, shows current file name in window title, on-line help, etc. 
  636. X
  637. XVersion 2.0, update to 1.27. Most important changes:
  638. X- 'wrap' option to switch line wrapping on/off
  639. X- filename completion is more like other programs and adjustable
  640. X- automatic detection of CR/LF line separator
  641. X- '-b' command line option to make editing binary files more easy
  642. X- added abbreviation
  643. X- :make command for quickly jumping to errors
  644. X- MSDOS version uses bios calls for screen output, ansi.sys not needed
  645. X- many small changes to make Vim more vi-compatible
  646. X
  647. XPortability: Runs on MSDOS, Amiga and several UNIX versions.
  648. X
  649. XDistribution:
  650. Xcomp.binaries.ibm.pc:    vim_dos.zip:    MSDOS binary and documentation
  651. X
  652. Xcomp.binaries.amiga:    vim_bin.lha:    Amiga binary and documentation
  653. X
  654. Xcomp.sources.misc:    shell archive with sources and documentation
  655. X
  656. XThe documentation is almost the same for all systems. For MSDOS CR-LF is used
  657. Xfor line separator. For Amiga .info files are included. For the shell archive
  658. Xsome files are uuencoded because of unprintable characters.
  659. X
  660. XVim is charityware. Read uganda.txt for details.
  661. END_OF_FILE
  662. if test 1584 -ne `wc -c <'vim/poster'`; then
  663.     echo shar: \"'vim/poster'\" unpacked with wrong size!
  664. fi
  665. chmod +x 'vim/poster'
  666. # end of 'vim/poster'
  667. fi
  668. if test ! -d 'vim/src' ; then
  669.     echo shar: Creating directory \"'vim/src'\"
  670.     mkdir 'vim/src'
  671. fi
  672. if test -f 'vim/src/addcr.c' -a "${1}" != "-c" ; then 
  673.   echo shar: Will not clobber existing file \"'vim/src/addcr.c'\"
  674. else
  675. echo shar: Extracting \"'vim/src/addcr.c'\" \(413 characters\)
  676. sed "s/^X//" >'vim/src/addcr.c' <<'END_OF_FILE'
  677. X/*
  678. X * This program, when compiled with Turbo-C, will make <LF> into <CR><LF>
  679. X */
  680. X
  681. X#include <stdio.h>
  682. X
  683. Xmain(argc, argv)
  684. X    int argc;
  685. X    char **argv;
  686. X{
  687. X    char buffer[1024];
  688. X    int    len;
  689. X
  690. X    while ((len = fread(buffer, 1, 1024, stdin)) > 0)
  691. X        fwrite(buffer, 1, len, stdout);
  692. X    if (ferror(stdin))
  693. X        fprintf(stderr, "Error while reading\n");
  694. X    if (ferror(stdout))
  695. X        fprintf(stderr, "Error while writing\n");
  696. X}
  697. END_OF_FILE
  698. if test 413 -ne `wc -c <'vim/src/addcr.c'`; then
  699.     echo shar: \"'vim/src/addcr.c'\" unpacked with wrong size!
  700. fi
  701. chmod +x 'vim/src/addcr.c'
  702. # end of 'vim/src/addcr.c'
  703. fi
  704. if test -f 'vim/src/ascii.h' -a "${1}" != "-c" ; then 
  705.   echo shar: Will not clobber existing file \"'vim/src/ascii.h'\"
  706. else
  707. echo shar: Extracting \"'vim/src/ascii.h'\" \(794 characters\)
  708. sed "s/^X//" >'vim/src/ascii.h' <<'END_OF_FILE'
  709. X/* vi:ts=4:sw=4
  710. X *
  711. X * VIM - Vi IMproved
  712. X *
  713. X * Code Contributions By:    Bram Moolenaar            mool@oce.nl
  714. X *                            Tim Thompson            twitch!tjt
  715. X *                            Tony Andrews            onecom!wldrdg!tony 
  716. X *                            G. R. (Fred) Walter        watmath!watcgl!grwalter 
  717. X */
  718. X
  719. X/*
  720. X * Definitions of various common control characters
  721. X */
  722. X
  723. X#define NUL                     '\000'
  724. X#define BS                        '\010'
  725. X#define BS_STR                    "\010"
  726. X#define TAB                     '\011'
  727. X#define NL                        '\012'
  728. X#define NL_STR                    "\012"
  729. X#define CR                        '\015'
  730. X#define ESC                     '\033'
  731. X#define ESC_STR                 "\033"
  732. X#define DEL                     0x7f
  733. X#define CSI                     0x9b
  734. X
  735. X#define Ctrl(x) ((x) & 0x1f)
  736. X#define Meta(x) ((x) | 0x80)
  737. X
  738. X/*
  739. X * character that separates dir names in a path
  740. X */
  741. X#ifdef MSDOS
  742. X# define PATHSEP '\\'
  743. X# define PATHSEPSTR "\\"
  744. X#else
  745. X# define PATHSEP '/'
  746. X# define PATHSEPSTR "/"
  747. X#endif
  748. END_OF_FILE
  749. if test 794 -ne `wc -c <'vim/src/ascii.h'`; then
  750.     echo shar: \"'vim/src/ascii.h'\" unpacked with wrong size!
  751. fi
  752. chmod +x 'vim/src/ascii.h'
  753. # end of 'vim/src/ascii.h'
  754. fi
  755. if test -f 'vim/src/debug.h' -a "${1}" != "-c" ; then 
  756.   echo shar: Will not clobber existing file \"'vim/src/debug.h'\"
  757. else
  758. echo shar: Extracting \"'vim/src/debug.h'\" \(865 characters\)
  759. sed "s/^X//" >'vim/src/debug.h' <<'END_OF_FILE'
  760. X/*
  761. X * debug.h -- my debug header for just any program.
  762. X * use:
  763. X * place the statement OPENDEBUG("/tmp/programdebug"); inside main.
  764. X * Nothing will happen, unless you compile the source with -DDEBUG.
  765. X * 
  766. X * jw. 13.4.91.
  767. X */
  768. X#ifndef FILE
  769. X# include <stdio.h>
  770. X#endif
  771. X
  772. X#ifdef DEBUG
  773. X#    define debug(x) {fprintf(debugfp,x);fflush(debugfp);}
  774. X#    define debug1(x,a) {fprintf(debugfp,x,a);fflush(debugfp);}
  775. X#    define debug2(x,a,b) {fprintf(debugfp,x,a,b);fflush(debugfp);}
  776. X#    define debug3(x,a,b,c) {fprintf(debugfp,x,a,b,c);fflush(debugfp);}
  777. X#    define OPENDEBUG(file)\
  778. X    if ((debugfp = fopen(file,"w")) == NULL)\
  779. X    {    debugfp = stderr;\
  780. X        debug1("OPENDEBUG: sorry, cannot open '%s'\n", file);\
  781. X        debug("           beware, using stderr!\n");\
  782. X        sleep(3);\
  783. X    }
  784. X#else
  785. X#    define debug(x)
  786. X#    define debug1(x,a)
  787. X#    define debug2(x,a,b)
  788. X#    define debug3(x,a,b,c)
  789. X#    define OPENDEBUG(file)
  790. X#endif
  791. END_OF_FILE
  792. if test 865 -ne `wc -c <'vim/src/debug.h'`; then
  793.     echo shar: \"'vim/src/debug.h'\" unpacked with wrong size!
  794. fi
  795. chmod +x 'vim/src/debug.h'
  796. # end of 'vim/src/debug.h'
  797. fi
  798. if test -f 'vim/src/macros.h' -a "${1}" != "-c" ; then 
  799.   echo shar: Will not clobber existing file \"'vim/src/macros.h'\"
  800. else
  801. echo shar: Extracting \"'vim/src/macros.h'\" \(1376 characters\)
  802. sed "s/^X//" >'vim/src/macros.h' <<'END_OF_FILE'
  803. X/* vi:ts=4:sw=4
  804. X *
  805. X * VIM - Vi IMproved
  806. X *
  807. X * Code Contributions By:    Bram Moolenaar            mool@oce.nl
  808. X *                            Tim Thompson            twitch!tjt
  809. X *                            Tony Andrews            onecom!wldrdg!tony 
  810. X *                            G. R. (Fred) Walter        watmath!watcgl!grwalter 
  811. X */
  812. X
  813. X/*
  814. X * macros.h: macro definitions for often used code
  815. X */
  816. X
  817. X/*
  818. X * pchar(lp, c) - put character 'c' at position 'lp'
  819. X */
  820. X#define pchar(lp, c) (*(nr2ptr((lp).lnum) + (lp).col) = (c))
  821. X
  822. X/*
  823. X * Position comparisons
  824. X */
  825. X#define lt(a, b) (((a).lnum != (b).lnum) \
  826. X                   ? ((a).lnum < (b).lnum) : ((a).col < (b).col))
  827. X
  828. X#define ltoreq(a, b) (((a).lnum != (b).lnum) \
  829. X                   ? ((a).lnum < (b).lnum) : ((a).col <= (b).col))
  830. X
  831. X#define equal(a, b) (((a).lnum == (b).lnum) && ((a).col == (b).col))
  832. X
  833. X/*
  834. X * buf1line() - return TRUE if there is only one line in file buffer
  835. X */
  836. X#define buf1line() (line_count == 1)
  837. X
  838. X/*
  839. X * lineempty() - return TRUE if the line is empty
  840. X */
  841. X#define lineempty(p) (*nr2ptr(p) == NUL)
  842. X
  843. X/*
  844. X * bufempty() - return TRUE if the file buffer is empty
  845. X */
  846. X#define bufempty() (buf1line() && lineempty((linenr_t)1))
  847. X
  848. X/*
  849. X * On some systems toupper()/tolower() only work on lower/uppercase characters
  850. X */
  851. X#if defined(sequent) || defined(DOMAIN) || !defined(__STDC__)
  852. X# define TO_UPPER(c)    (islower(c) ? toupper(c) : (c))
  853. X# define TO_LOWER(c)    (isupper(c) ? tolower(c) : (c))
  854. X#else
  855. X# define TO_UPPER        toupper
  856. X# define TO_LOWER        tolower
  857. X#endif
  858. END_OF_FILE
  859. if test 1376 -ne `wc -c <'vim/src/macros.h'`; then
  860.     echo shar: \"'vim/src/macros.h'\" unpacked with wrong size!
  861. fi
  862. chmod +x 'vim/src/macros.h'
  863. # end of 'vim/src/macros.h'
  864. fi
  865. if test -f 'vim/src/mark.h' -a "${1}" != "-c" ; then 
  866.   echo shar: Will not clobber existing file \"'vim/src/mark.h'\"
  867. else
  868. echo shar: Extracting \"'vim/src/mark.h'\" \(545 characters\)
  869. sed "s/^X//" >'vim/src/mark.h' <<'END_OF_FILE'
  870. X/* vi:ts=4:sw=4
  871. X *
  872. X * VIM - Vi IMproved
  873. X *
  874. X * Code Contributions By:    Bram Moolenaar            mool@oce.nl
  875. X *                            Tim Thompson            twitch!tjt
  876. X *                            Tony Andrews            onecom!wldrdg!tony 
  877. X *                            G. R. (Fred) Walter        watmath!watcgl!grwalter 
  878. X */
  879. X
  880. X/*
  881. X * mark.h: definitions shared between tag.c and mark.c 
  882. X */
  883. X
  884. Xstruct mark
  885. X{
  886. X    char           *ptr;
  887. X    colnr_t         col;
  888. X};
  889. X
  890. Xstruct filemark
  891. X{
  892. X    struct mark        mark;            /* cursor position */
  893. X    linenr_t        lnum;            /* last known line number */
  894. X    int                fnum;            /* file number */
  895. X};
  896. X
  897. Xchar *fm_getname __ARGS((struct filemark *));
  898. END_OF_FILE
  899. if test 545 -ne `wc -c <'vim/src/mark.h'`; then
  900.     echo shar: \"'vim/src/mark.h'\" unpacked with wrong size!
  901. fi
  902. chmod +x 'vim/src/mark.h'
  903. # end of 'vim/src/mark.h'
  904. fi
  905. if test -f 'vim/src/mkcmdtab.c' -a "${1}" != "-c" ; then 
  906.   echo shar: Will not clobber existing file \"'vim/src/mkcmdtab.c'\"
  907. else
  908. echo shar: Extracting \"'vim/src/mkcmdtab.c'\" \(2065 characters\)
  909. sed "s/^X//" >'vim/src/mkcmdtab.c' <<'END_OF_FILE'
  910. X/* vi:ts=4:sw=4
  911. X *
  912. X * VIM - Vi IMproved
  913. X *
  914. X * Code Contributions By:    Bram Moolenaar            mool@oce.nl
  915. X *                            Tim Thompson            twitch!tjt
  916. X *                            Tony Andrews            onecom!wldrdg!tony 
  917. X *                            G. R. (Fred) Walter        watmath!watcgl!grwalter 
  918. X */
  919. X
  920. X/*
  921. X * mkcmdtab.c: separate program that reads cmdtab.tab and produces cmdtab.h
  922. X *
  923. X *    call with: mkcmdtab cmdtab.tab cmdtab.h
  924. X */
  925. X
  926. X#include "vim.h"
  927. X
  928. X#if defined(UTS4)
  929. X    int
  930. X#else
  931. X    void
  932. X#endif
  933. Xmain(argc, argv)
  934. X    int        argc;
  935. X    char    **argv;
  936. X{
  937. X    register int    c;
  938. X    char            buffer[100];
  939. X    int                count;
  940. X    int                i;
  941. X    FILE            *ifp, *ofp;
  942. X
  943. X    if (argc != 3)
  944. X    {
  945. X        fprintf(stderr, "Usage: mkcmdtab cmdtab.tab cmdtab.h\n");
  946. X        exit(10);
  947. X    }
  948. X    ifp = fopen(argv[1], "r");
  949. X    if (ifp == NULL)
  950. X    {
  951. X        perror(argv[1]);
  952. X        exit(10);
  953. X    }
  954. X    ofp = fopen(argv[2], "w");
  955. X    if (ofp == NULL)
  956. X    {
  957. X        perror(argv[2]);
  958. X        exit(10);
  959. X    }
  960. X
  961. X    while ((c = getc(ifp)) != '|' && c != EOF)
  962. X        putc(c, ofp);
  963. X    fprintf(ofp, "THIS FILE IS AUTOMATICALLY PRODUCED - DO NOT EDIT");
  964. X    while ((c = getc(ifp)) != '|' && c != EOF)
  965. X        ;
  966. X    while ((c = getc(ifp)) != '|' && c != EOF)
  967. X        putc(c, ofp);
  968. X
  969. X    count = 0;
  970. X    while ((c = getc(ifp)) != '|' && c != EOF)
  971. X    {
  972. X        putc(c, ofp);
  973. X        while ((c = getc(ifp)) != '"' && c != EOF)
  974. X            putc(c, ofp);
  975. X        putc(c, ofp);
  976. X
  977. X        i = 0;
  978. X        while ((c = getc(ifp)) != '"' && c != EOF)
  979. X        {
  980. X            putc(c, ofp);
  981. X            buffer[i++] = c;
  982. X        }
  983. X        putc(c, ofp);
  984. X        buffer[i] = 0;
  985. X
  986. X        while ((c = getc(ifp)) != '\n' && c != EOF)
  987. X            putc(c, ofp);
  988. X        putc(c, ofp);
  989. X
  990. X        switch (buffer[0])
  991. X        {
  992. X            case '@':    strcpy(buffer, "at");
  993. X                        break;
  994. X            case '!':    strcpy(buffer, "bang");
  995. X                        break;
  996. X            case '<':    strcpy(buffer, "lshift");
  997. X                        break;
  998. X            case '>':    strcpy(buffer, "rshift");
  999. X                        break;
  1000. X            case '=':    strcpy(buffer, "equal");
  1001. X                        break;
  1002. X            case '&':    strcpy(buffer, "and");
  1003. X                        break;
  1004. X            case '~':    strcpy(buffer, "tilde");
  1005. X                        break;
  1006. X        }
  1007. X                    
  1008. X        fprintf(ofp, "#define CMD_%s %d\n", buffer, count++);
  1009. X    }
  1010. X
  1011. X    fprintf(ofp, "#define CMD_SIZE %d\n", count);
  1012. X
  1013. X    while ((c = getc(ifp)) != '|' && c != EOF)
  1014. X        putc(c, ofp);
  1015. X
  1016. X    if (c != '|')
  1017. X    {
  1018. X        fprintf(stderr, "not enough |'s\n");
  1019. X        exit(1);
  1020. X    }
  1021. X    exit(0);
  1022. X}
  1023. END_OF_FILE
  1024. if test 2065 -ne `wc -c <'vim/src/mkcmdtab.c'`; then
  1025.     echo shar: \"'vim/src/mkcmdtab.c'\" unpacked with wrong size!
  1026. fi
  1027. chmod +x 'vim/src/mkcmdtab.c'
  1028. # end of 'vim/src/mkcmdtab.c'
  1029. fi
  1030. if test -f 'vim/src/ops.h' -a "${1}" != "-c" ; then 
  1031.   echo shar: Will not clobber existing file \"'vim/src/ops.h'\"
  1032. else
  1033. echo shar: Extracting \"'vim/src/ops.h'\" \(1955 characters\)
  1034. sed "s/^X//" >'vim/src/ops.h' <<'END_OF_FILE'
  1035. X/* vi:ts=4:sw=4
  1036. X *
  1037. X * VIM - Vi IMproved
  1038. X *
  1039. X * Code Contributions By:    Bram Moolenaar            mool@oce.nl
  1040. X *                            Tim Thompson            twitch!tjt
  1041. X *                            Tony Andrews            onecom!wldrdg!tony 
  1042. X *                            G. R. (Fred) Walter        watmath!watcgl!grwalter 
  1043. X */
  1044. X
  1045. X/*
  1046. X * ops.h: things shared between normal.c, cmdline.c and ops.c
  1047. X */
  1048. X
  1049. X/*
  1050. X * Operators
  1051. X */
  1052. X#define NOP     0                /* no pending operation */
  1053. X#define DELETE    1
  1054. X#define YANK    2
  1055. X#define CHANGE    3
  1056. X#define LSHIFT    4
  1057. X#define RSHIFT    5
  1058. X#define FILTER    6
  1059. X#define TILDE    7
  1060. X#define INDENT    8
  1061. X#define FORMAT    9
  1062. X#define COLON    10
  1063. X#define UPPER    11
  1064. X#define LOWER    12
  1065. X
  1066. X/*
  1067. X * operator characters; the order must correspond to the defines above
  1068. X */
  1069. XEXTERN char *opchars INIT(= "dyc<>!~=Q:Uu");
  1070. X
  1071. X/*
  1072. X * When a cursor motion command is made, it is marked as being a character or
  1073. X * line oriented motion. Then, if an operator is in effect, the operation
  1074. X * becomes character or line oriented accordingly.
  1075. X *
  1076. X * Character motions are marked as being inclusive or not. Most char. motions
  1077. X * are inclusive, but some (e.g. 'w') are not.
  1078. X *
  1079. X * Generally speaking, every command in normal() should either clear any pending
  1080. X * operator (with CLEAROP), or set the motion type variable.
  1081. X */
  1082. X
  1083. X/*
  1084. X * Motion types
  1085. X */
  1086. X#define MBAD    (-1)            /* 'bad' motion type marks unusable yank buf */
  1087. X#define MCHAR    0
  1088. X#define MLINE    1
  1089. X#define MBLOCK    2
  1090. X
  1091. XEXTERN int        operator INIT(= NOP);    /* current pending operator */
  1092. XEXTERN int        mtype;                    /* type of the current cursor motion */
  1093. XEXTERN int        mincl;                    /* true if char motion is inclusive */
  1094. XEXTERN FPOS     startop;                /* cursor pos. at start of operator */
  1095. XEXTERN FPOS        endop;                    /* cursor pos. at end of operator */
  1096. XEXTERN colnr_t    startvcol;                /* start col for block mode operator */
  1097. XEXTERN colnr_t    endvcol;                /* end col for block mode operator */
  1098. XEXTERN long        nlines;                    /* lines between startop and endop + 1 */
  1099. XEXTERN int        yankbuffer INIT(= 0);    /* current yank buffer */
  1100. XEXTERN int        no_op;                    /* startop and endop the same */
  1101. END_OF_FILE
  1102. if test 1955 -ne `wc -c <'vim/src/ops.h'`; then
  1103.     echo shar: \"'vim/src/ops.h'\" unpacked with wrong size!
  1104. fi
  1105. chmod +x 'vim/src/ops.h'
  1106. # end of 'vim/src/ops.h'
  1107. fi
  1108. if test ! -d 'vim/src/proto' ; then
  1109.     echo shar: Creating directory \"'vim/src/proto'\"
  1110.     mkdir 'vim/src/proto'
  1111. fi
  1112. if test -f 'vim/src/proto.h' -a "${1}" != "-c" ; then 
  1113.   echo shar: Will not clobber existing file \"'vim/src/proto.h'\"
  1114. else
  1115. echo shar: Extracting \"'vim/src/proto.h'\" \(1269 characters\)
  1116. sed "s/^X//" >'vim/src/proto.h' <<'END_OF_FILE'
  1117. X/*
  1118. X * proto.h: include the (automatically generated) function prototypes
  1119. X *
  1120. X * the proto/xxx.pro files are automatically generated when using Manx/Aztec C.
  1121. X * For other compilers you will have to edit them.
  1122. X */
  1123. X
  1124. X#include "regexp.h"        /* for struct regexp */
  1125. X
  1126. X/*
  1127. X * Machine-dependent routines.
  1128. X */
  1129. X#ifdef AMIGA
  1130. X# include "proto/amiga.pro"
  1131. X#endif
  1132. X#ifdef UNIX
  1133. X# include "unix.h"
  1134. X#endif
  1135. X#ifdef MSDOS
  1136. X# include "msdos.h"
  1137. X#endif
  1138. X
  1139. X#include "proto/alloc.pro"
  1140. X#include "proto/buffers.pro"
  1141. X#include "proto/charset.pro"
  1142. X#include "proto/cmdline.pro"
  1143. X#include "proto/csearch.pro"
  1144. X#include "proto/digraph.pro"
  1145. X#include "proto/edit.pro"
  1146. X#include "proto/fileio.pro"
  1147. X#include "proto/help.pro"
  1148. X#include "proto/linefunc.pro"
  1149. X#include "proto/main.pro"
  1150. X#include "proto/mark.pro"
  1151. X
  1152. X#ifndef MESSAGE
  1153. Xvoid smsg __PARMS((char *, ...));    /* cannot be produced automatically */
  1154. X#endif
  1155. X#include "proto/message.pro"
  1156. X#include "proto/misccmds.pro"
  1157. X#include "proto/normal.pro"
  1158. X#include "proto/ops.pro"
  1159. X#include "proto/param.pro"
  1160. X#include "proto/quickfix.pro"
  1161. X#include "proto/regexp.pro"
  1162. X#include "proto/regsub.pro"
  1163. X#include "proto/screen.pro"
  1164. X#include "proto/script.pro"
  1165. X#include "proto/search.pro"
  1166. X#include "proto/storage.pro"
  1167. X#include "proto/tag.pro"
  1168. X#include "proto/term.pro"
  1169. X#include "proto/undo.pro"
  1170. END_OF_FILE
  1171. if test 1269 -ne `wc -c <'vim/src/proto.h'`; then
  1172.     echo shar: \"'vim/src/proto.h'\" unpacked with wrong size!
  1173. fi
  1174. chmod +x 'vim/src/proto.h'
  1175. # end of 'vim/src/proto.h'
  1176. fi
  1177. if test -f 'vim/src/proto/alloc.pro' -a "${1}" != "-c" ; then 
  1178.   echo shar: Will not clobber existing file \"'vim/src/proto/alloc.pro'\"
  1179. else
  1180. echo shar: Extracting \"'vim/src/proto/alloc.pro'\" \(261 characters\)
  1181. sed "s/^X//" >'vim/src/proto/alloc.pro' <<'END_OF_FILE'
  1182. X/* alloc.c */
  1183. Xchar *alloc __PARMS((unsigned int size));
  1184. Xchar *lalloc __PARMS((unsigned long size, int message));
  1185. Xchar *strsave __PARMS((char *string));
  1186. Xchar *strnsave __PARMS((char *string, int len));
  1187. Xvoid copy_spaces __PARMS((char *ptr, unsigned long count));
  1188. END_OF_FILE
  1189. if test 261 -ne `wc -c <'vim/src/proto/alloc.pro'`; then
  1190.     echo shar: \"'vim/src/proto/alloc.pro'\" unpacked with wrong size!
  1191. fi
  1192. chmod +x 'vim/src/proto/alloc.pro'
  1193. # end of 'vim/src/proto/alloc.pro'
  1194. fi
  1195. if test -f 'vim/src/proto/amiga.pro' -a "${1}" != "-c" ; then 
  1196.   echo shar: Will not clobber existing file \"'vim/src/proto/amiga.pro'\"
  1197. else
  1198. echo shar: Extracting \"'vim/src/proto/amiga.pro'\" \(1207 characters\)
  1199. sed "s/^X//" >'vim/src/proto/amiga.pro' <<'END_OF_FILE'
  1200. X/* amiga.c */
  1201. Xvoid win_resize_on __PARMS((void));
  1202. Xvoid win_resize_off __PARMS((void));
  1203. Xvoid mch_write __PARMS((char *p, int len));
  1204. Xint GetChars __PARMS((char *buf, int maxlen, int time));
  1205. Xvoid sleep __PARMS((int n));
  1206. Xvoid vim_delay __PARMS((void));
  1207. Xvoid mch_suspend __PARMS((void));
  1208. Xvoid mch_windinit __PARMS((void));
  1209. Xvoid check_win __PARMS((int argc, char **argv));
  1210. Xvoid fname_case __PARMS((char *name));
  1211. Xvoid settitle __PARMS((char *str));
  1212. Xvoid resettitle __PARMS((void));
  1213. Xint dirname __PARMS((char *buf, int len));
  1214. Xint FullName __PARMS((char *fname, char *buf, int len));
  1215. Xlong getperm __PARMS((char *name));
  1216. Xint setperm __PARMS((char *name, long perm));
  1217. Xint isdir __PARMS((char *name));
  1218. Xvoid mch_windexit __PARMS((int r));
  1219. Xvoid mch_settmode __PARMS((int raw));
  1220. Xint mch_get_winsize __PARMS((void));
  1221. Xvoid mch_set_winsize __PARMS((void));
  1222. Xint call_shell __PARMS((char *cmd, int filter, int cooked));
  1223. Xvoid breakcheck __PARMS((void));
  1224. Xlong Chk_Abort __PARMS((void));
  1225. Xint ExpandWildCards __PARMS((int num_pat, char **pat, int *num_file, char ***file, int files_only, int list_notfound));
  1226. Xvoid FreeWild __PARMS((int num, char **file));
  1227. Xint has_wildcard __PARMS((char *p));
  1228. Xchar *vimgetenv __PARMS((char *var));
  1229. END_OF_FILE
  1230. if test 1207 -ne `wc -c <'vim/src/proto/amiga.pro'`; then
  1231.     echo shar: \"'vim/src/proto/amiga.pro'\" unpacked with wrong size!
  1232. fi
  1233. chmod +x 'vim/src/proto/amiga.pro'
  1234. # end of 'vim/src/proto/amiga.pro'
  1235. fi
  1236. if test -f 'vim/src/proto/buffers.pro' -a "${1}" != "-c" ; then 
  1237.   echo shar: Will not clobber existing file \"'vim/src/proto/buffers.pro'\"
  1238. else
  1239. echo shar: Extracting \"'vim/src/proto/buffers.pro'\" \(1043 characters\)
  1240. sed "s/^X//" >'vim/src/proto/buffers.pro' <<'END_OF_FILE'
  1241. X/* buffers.c */
  1242. Xunsigned char *get_recorded __PARMS((void));
  1243. Xunsigned char *get_inserted __PARMS((void));
  1244. Xint stuff_empty __PARMS((void));
  1245. Xvoid flush_buffers __PARMS((int typeahead));
  1246. Xvoid ResetRedobuff __PARMS((void));
  1247. Xvoid AppendToRedobuff __PARMS((char *s));
  1248. Xvoid AppendCharToRedobuff __PARMS((int c));
  1249. Xvoid AppendNumberToRedobuff __PARMS((long n));
  1250. Xvoid stuffReadbuff __PARMS((char *s));
  1251. Xvoid stuffcharReadbuff __PARMS((int c));
  1252. Xvoid stuffnumReadbuff __PARMS((long n));
  1253. Xvoid copy_redo __PARMS((void));
  1254. Xint start_redo __PARMS((long count));
  1255. Xint start_redo_ins __PARMS((void));
  1256. Xvoid set_redo_ins __PARMS((void));
  1257. Xvoid stop_redo_ins __PARMS((void));
  1258. Xint ins_typestr __PARMS((char *str, int noremap));
  1259. Xvoid del_typestr __PARMS((int len));
  1260. Xunsigned char vgetc __PARMS((void));
  1261. Xunsigned char vpeekc __PARMS((void));
  1262. Xint domap __PARMS((int maptype, char *keys, int mode));
  1263. Xint check_abbr __PARMS((int c, char *ptr, int col, int mincol));
  1264. Xint makemap __PARMS((struct __stdio *fd));
  1265. Xint putescstr __PARMS((struct __stdio *fd, char *str, int set));
  1266. END_OF_FILE
  1267. if test 1043 -ne `wc -c <'vim/src/proto/buffers.pro'`; then
  1268.     echo shar: \"'vim/src/proto/buffers.pro'\" unpacked with wrong size!
  1269. fi
  1270. chmod +x 'vim/src/proto/buffers.pro'
  1271. # end of 'vim/src/proto/buffers.pro'
  1272. fi
  1273. if test -f 'vim/src/proto/charset.pro' -a "${1}" != "-c" ; then 
  1274.   echo shar: Will not clobber existing file \"'vim/src/proto/charset.pro'\"
  1275. else
  1276. echo shar: Extracting \"'vim/src/proto/charset.pro'\" \(240 characters\)
  1277. sed "s/^X//" >'vim/src/proto/charset.pro' <<'END_OF_FILE'
  1278. X/* charset.c */
  1279. Xchar *transchar __PARMS((unsigned int c));
  1280. Xint outtrans __PARMS((char *str, int len));
  1281. Xint charsize __PARMS((int c));
  1282. Xint strsize __PARMS((char *s));
  1283. Xint chartabsize __PARMS((int c, int col));
  1284. Xint isidchar __PARMS((int c));
  1285. END_OF_FILE
  1286. if test 240 -ne `wc -c <'vim/src/proto/charset.pro'`; then
  1287.     echo shar: \"'vim/src/proto/charset.pro'\" unpacked with wrong size!
  1288. fi
  1289. chmod +x 'vim/src/proto/charset.pro'
  1290. # end of 'vim/src/proto/charset.pro'
  1291. fi
  1292. if test -f 'vim/src/proto/cmdline.pro' -a "${1}" != "-c" ; then 
  1293.   echo shar: Will not clobber existing file \"'vim/src/proto/cmdline.pro'\"
  1294. else
  1295. echo shar: Extracting \"'vim/src/proto/cmdline.pro'\" \(607 characters\)
  1296. sed "s/^X//" >'vim/src/proto/cmdline.pro' <<'END_OF_FILE'
  1297. X/* cmdline.c */
  1298. Xint getcmdline __PARMS((int firstc, unsigned char *buff));
  1299. Xvoid redrawcmdline __PARMS((void));
  1300. Xvoid redrawcmd __PARMS((void));
  1301. Xvoid docmdline __PARMS((unsigned char *cmdline));
  1302. Xvoid gotocmdline __PARMS((int clr, int firstc));
  1303. Xvoid gotocmdend __PARMS((void));
  1304. Xint check_fname __PARMS((void));
  1305. Xint getfile __PARMS((char *fname, char *sfname, int setpm));
  1306. Xint samealtfile __PARMS((int n));
  1307. Xint getaltfile __PARMS((int n, long lnum, int setpm));
  1308. Xchar *getaltfname __PARMS((int n));
  1309. Xchar *ExpandOne __PARMS((unsigned char *str, int list_notfound, int mode));
  1310. Xint dosource __PARMS((char *fname));
  1311. END_OF_FILE
  1312. if test 607 -ne `wc -c <'vim/src/proto/cmdline.pro'`; then
  1313.     echo shar: \"'vim/src/proto/cmdline.pro'\" unpacked with wrong size!
  1314. fi
  1315. chmod +x 'vim/src/proto/cmdline.pro'
  1316. # end of 'vim/src/proto/cmdline.pro'
  1317. fi
  1318. if test -f 'vim/src/proto/csearch.pro' -a "${1}" != "-c" ; then 
  1319.   echo shar: Will not clobber existing file \"'vim/src/proto/csearch.pro'\"
  1320. else
  1321. echo shar: Extracting \"'vim/src/proto/csearch.pro'\" \(158 characters\)
  1322. sed "s/^X//" >'vim/src/proto/csearch.pro' <<'END_OF_FILE'
  1323. X/* csearch.c */
  1324. Xvoid dosub __PARMS((long lp, long up, char *cmd, unsigned char **nextcommand));
  1325. Xvoid doglob __PARMS((int type, long lp, long up, char *cmd));
  1326. END_OF_FILE
  1327. if test 158 -ne `wc -c <'vim/src/proto/csearch.pro'`; then
  1328.     echo shar: \"'vim/src/proto/csearch.pro'\" unpacked with wrong size!
  1329. fi
  1330. chmod +x 'vim/src/proto/csearch.pro'
  1331. # end of 'vim/src/proto/csearch.pro'
  1332. fi
  1333. if test -f 'vim/src/proto/digraph.pro' -a "${1}" != "-c" ; then 
  1334.   echo shar: Will not clobber existing file \"'vim/src/proto/digraph.pro'\"
  1335. else
  1336. echo shar: Extracting \"'vim/src/proto/digraph.pro'\" \(169 characters\)
  1337. sed "s/^X//" >'vim/src/proto/digraph.pro' <<'END_OF_FILE'
  1338. X/* digraph.c */
  1339. Xint dodigraph __PARMS((int c));
  1340. Xint getdigraph __PARMS((int char1, int char2));
  1341. Xvoid putdigraph __PARMS((char *str));
  1342. Xvoid listdigraphs __PARMS((void));
  1343. END_OF_FILE
  1344. if test 169 -ne `wc -c <'vim/src/proto/digraph.pro'`; then
  1345.     echo shar: \"'vim/src/proto/digraph.pro'\" unpacked with wrong size!
  1346. fi
  1347. chmod +x 'vim/src/proto/digraph.pro'
  1348. # end of 'vim/src/proto/digraph.pro'
  1349. fi
  1350. if test -f 'vim/src/proto/edit.pro' -a "${1}" != "-c" ; then 
  1351.   echo shar: Will not clobber existing file \"'vim/src/proto/edit.pro'\"
  1352. else
  1353. echo shar: Extracting \"'vim/src/proto/edit.pro'\" \(389 characters\)
  1354. sed "s/^X//" >'vim/src/proto/edit.pro' <<'END_OF_FILE'
  1355. X/* edit.c */
  1356. Xvoid edit __PARMS((long count));
  1357. Xint get_literal __PARMS((int *nextc));
  1358. Xvoid insertchar __PARMS((unsigned int c));
  1359. Xint oneright __PARMS((void));
  1360. Xint oneleft __PARMS((void));
  1361. Xvoid beginline __PARMS((int flag));
  1362. Xint oneup __PARMS((long n));
  1363. Xint onedown __PARMS((long n));
  1364. Xint onepage __PARMS((int dir, long count));
  1365. Xvoid stuff_inserted __PARMS((int c, long count, int no_esc));
  1366. END_OF_FILE
  1367. if test 389 -ne `wc -c <'vim/src/proto/edit.pro'`; then
  1368.     echo shar: \"'vim/src/proto/edit.pro'\" unpacked with wrong size!
  1369. fi
  1370. chmod +x 'vim/src/proto/edit.pro'
  1371. # end of 'vim/src/proto/edit.pro'
  1372. fi
  1373. if test -f 'vim/src/proto/fileio.pro' -a "${1}" != "-c" ; then 
  1374.   echo shar: Will not clobber existing file \"'vim/src/proto/fileio.pro'\"
  1375. else
  1376. echo shar: Extracting \"'vim/src/proto/fileio.pro'\" \(244 characters\)
  1377. sed "s/^X//" >'vim/src/proto/fileio.pro' <<'END_OF_FILE'
  1378. X/* fileio.c */
  1379. Xvoid filemess __PARMS((char *name, char *s));
  1380. Xint readfile __PARMS((char *fname, char *sfname, long from, int newfile));
  1381. Xint writeit __PARMS((char *fname, char *sfname, long start, long end, int append, int forceit, int whole));
  1382. END_OF_FILE
  1383. if test 244 -ne `wc -c <'vim/src/proto/fileio.pro'`; then
  1384.     echo shar: \"'vim/src/proto/fileio.pro'\" unpacked with wrong size!
  1385. fi
  1386. chmod +x 'vim/src/proto/fileio.pro'
  1387. # end of 'vim/src/proto/fileio.pro'
  1388. fi
  1389. if test -f 'vim/src/proto/help.pro' -a "${1}" != "-c" ; then 
  1390.   echo shar: Will not clobber existing file \"'vim/src/proto/help.pro'\"
  1391. else
  1392. echo shar: Extracting \"'vim/src/proto/help.pro'\" \(72 characters\)
  1393. sed "s/^X//" >'vim/src/proto/help.pro' <<'END_OF_FILE'
  1394. X/* help.c */
  1395. Xvoid help __PARMS((void));
  1396. Xint redrawhelp __PARMS((void));
  1397. END_OF_FILE
  1398. if test 72 -ne `wc -c <'vim/src/proto/help.pro'`; then
  1399.     echo shar: \"'vim/src/proto/help.pro'\" unpacked with wrong size!
  1400. fi
  1401. chmod +x 'vim/src/proto/help.pro'
  1402. # end of 'vim/src/proto/help.pro'
  1403. fi
  1404. if test -f 'vim/src/proto/linefunc.pro' -a "${1}" != "-c" ; then 
  1405.   echo shar: Will not clobber existing file \"'vim/src/proto/linefunc.pro'\"
  1406. else
  1407. echo shar: Extracting \"'vim/src/proto/linefunc.pro'\" \(306 characters\)
  1408. sed "s/^X//" >'vim/src/proto/linefunc.pro' <<'END_OF_FILE'
  1409. X/* linefunc.c */
  1410. Xvoid coladvance __PARMS((unsigned int wcol));
  1411. Xint inc __PARMS((struct fpos *lp));
  1412. Xint incCurpos __PARMS((void));
  1413. Xint incl __PARMS((struct fpos *lp));
  1414. Xint dec __PARMS((struct fpos *lp));
  1415. Xint decCurpos __PARMS((void));
  1416. Xint decl __PARMS((struct fpos *lp));
  1417. Xvoid adjustCurpos __PARMS((void));
  1418. END_OF_FILE
  1419. if test 306 -ne `wc -c <'vim/src/proto/linefunc.pro'`; then
  1420.     echo shar: \"'vim/src/proto/linefunc.pro'\" unpacked with wrong size!
  1421. fi
  1422. chmod +x 'vim/src/proto/linefunc.pro'
  1423. # end of 'vim/src/proto/linefunc.pro'
  1424. fi
  1425. if test -f 'vim/src/proto/main.pro' -a "${1}" != "-c" ; then 
  1426.   echo shar: Will not clobber existing file \"'vim/src/proto/main.pro'\"
  1427. else
  1428. echo shar: Extracting \"'vim/src/proto/main.pro'\" \(87 characters\)
  1429. sed "s/^X//" >'vim/src/proto/main.pro' <<'END_OF_FILE'
  1430. X/* main.c */
  1431. Xvoid main __PARMS((int argc, char **argv));
  1432. Xvoid getout __PARMS((int r));
  1433. END_OF_FILE
  1434. if test 87 -ne `wc -c <'vim/src/proto/main.pro'`; then
  1435.     echo shar: \"'vim/src/proto/main.pro'\" unpacked with wrong size!
  1436. fi
  1437. chmod +x 'vim/src/proto/main.pro'
  1438. # end of 'vim/src/proto/main.pro'
  1439. fi
  1440. if test -f 'vim/src/proto/mark.pro' -a "${1}" != "-c" ; then 
  1441.   echo shar: Will not clobber existing file \"'vim/src/proto/mark.pro'\"
  1442. else
  1443. echo shar: Extracting \"'vim/src/proto/mark.pro'\" \(433 characters\)
  1444. sed "s/^X//" >'vim/src/proto/mark.pro' <<'END_OF_FILE'
  1445. X/* mark.c */
  1446. Xint setmark __PARMS((int c));
  1447. Xvoid setpcmark __PARMS((void));
  1448. Xstruct fpos *movemark __PARMS((int count));
  1449. Xstruct fpos *getmark __PARMS((int c, int changefile));
  1450. Xvoid clrallmarks __PARMS((void));
  1451. Xvoid incrmarks __PARMS((void));
  1452. Xvoid decrmarks __PARMS((void));
  1453. Xvoid adjustmark __PARMS((char *old, char *new));
  1454. Xchar *fm_getname __PARMS((struct filemark *fmark));
  1455. Xvoid domarks __PARMS((void));
  1456. Xvoid dojumps __PARMS((void));
  1457. END_OF_FILE
  1458. if test 433 -ne `wc -c <'vim/src/proto/mark.pro'`; then
  1459.     echo shar: \"'vim/src/proto/mark.pro'\" unpacked with wrong size!
  1460. fi
  1461. chmod +x 'vim/src/proto/mark.pro'
  1462. # end of 'vim/src/proto/mark.pro'
  1463. fi
  1464. if test -f 'vim/src/proto/message.pro' -a "${1}" != "-c" ; then 
  1465.   echo shar: Will not clobber existing file \"'vim/src/proto/message.pro'\"
  1466. else
  1467. echo shar: Extracting \"'vim/src/proto/message.pro'\" \(250 characters\)
  1468. sed "s/^X//" >'vim/src/proto/message.pro' <<'END_OF_FILE'
  1469. X/* message.c */
  1470. Xvoid msg __PARMS((char *s));
  1471. Xvoid emsg __PARMS((char *s));
  1472. Xvoid emsg2 __PARMS((char *s, char *a1));
  1473. Xvoid wait_return __PARMS((int redraw));
  1474. Xvoid start_msg __PARMS((void));
  1475. Xvoid end_msg __PARMS((void));
  1476. Xvoid check_msg __PARMS((void));
  1477. END_OF_FILE
  1478. if test 250 -ne `wc -c <'vim/src/proto/message.pro'`; then
  1479.     echo shar: \"'vim/src/proto/message.pro'\" unpacked with wrong size!
  1480. fi
  1481. chmod +x 'vim/src/proto/message.pro'
  1482. # end of 'vim/src/proto/message.pro'
  1483. fi
  1484. if test -f 'vim/src/proto/misccmds.pro' -a "${1}" != "-c" ; then 
  1485.   echo shar: Will not clobber existing file \"'vim/src/proto/misccmds.pro'\"
  1486. else
  1487. echo shar: Extracting \"'vim/src/proto/misccmds.pro'\" \(1208 characters\)
  1488. sed "s/^X//" >'vim/src/proto/misccmds.pro' <<'END_OF_FILE'
  1489. X/* misccmds.c */
  1490. Xint get_indent __PARMS((void));
  1491. Xvoid set_indent __PARMS((int size, int delete));
  1492. Xint Opencmd __PARMS((int dir, int redraw, int delspaces));
  1493. Xint plines __PARMS((long p));
  1494. Xint plines_m __PARMS((long first, long last));
  1495. Xvoid fileinfo __PARMS((int fullname));
  1496. Xvoid setfname __PARMS((char *s, char *ss));
  1497. Xint otherfile __PARMS((char *s));
  1498. Xvoid maketitle __PARMS((void));
  1499. Xvoid inschar __PARMS((int c));
  1500. Xvoid insstr __PARMS((char *s));
  1501. Xint delchar __PARMS((int fixpos));
  1502. Xvoid dellines __PARMS((long nlines, int doscreen, int undo));
  1503. Xint gchar __PARMS((struct fpos *pos));
  1504. Xint gcharCurpos __PARMS((void));
  1505. Xvoid pcharCurpos __PARMS((int c));
  1506. Xint inindent __PARMS((void));
  1507. Xvoid skipspace __PARMS((char **pp));
  1508. Xvoid skiptospace __PARMS((char **pp));
  1509. Xvoid skiptodigit __PARMS((char **pp));
  1510. Xlong getdigits __PARMS((char **pp));
  1511. Xchar *plural __PARMS((long n));
  1512. Xvoid set_Changed __PARMS((void));
  1513. Xvoid change_warning __PARMS((void));
  1514. Xint ask_yesno __PARMS((char *str));
  1515. Xvoid msgmore __PARMS((long n));
  1516. Xvoid beep __PARMS((void));
  1517. Xvoid expand_env __PARMS((char *src, char *dst, int dstlen));
  1518. Xint fullpathcmp __PARMS((char *s1, char *s2));
  1519. Xchar *gettail __PARMS((char *fname));
  1520. Xint ispathsep __PARMS((int c));
  1521. END_OF_FILE
  1522. if test 1208 -ne `wc -c <'vim/src/proto/misccmds.pro'`; then
  1523.     echo shar: \"'vim/src/proto/misccmds.pro'\" unpacked with wrong size!
  1524. fi
  1525. chmod +x 'vim/src/proto/misccmds.pro'
  1526. # end of 'vim/src/proto/misccmds.pro'
  1527. fi
  1528. if test -f 'vim/src/proto/normal.pro' -a "${1}" != "-c" ; then 
  1529.   echo shar: Will not clobber existing file \"'vim/src/proto/normal.pro'\"
  1530. else
  1531. echo shar: Extracting \"'vim/src/proto/normal.pro'\" \(44 characters\)
  1532. sed "s/^X//" >'vim/src/proto/normal.pro' <<'END_OF_FILE'
  1533. X/* normal.c */
  1534. Xvoid normal __PARMS((void));
  1535. END_OF_FILE
  1536. if test 44 -ne `wc -c <'vim/src/proto/normal.pro'`; then
  1537.     echo shar: \"'vim/src/proto/normal.pro'\" unpacked with wrong size!
  1538. fi
  1539. chmod +x 'vim/src/proto/normal.pro'
  1540. # end of 'vim/src/proto/normal.pro'
  1541. fi
  1542. if test -f 'vim/src/proto/ops.pro' -a "${1}" != "-c" ; then 
  1543.   echo shar: Will not clobber existing file \"'vim/src/proto/ops.pro'\"
  1544. else
  1545. echo shar: Extracting \"'vim/src/proto/ops.pro'\" \(757 characters\)
  1546. sed "s/^X//" >'vim/src/proto/ops.pro' <<'END_OF_FILE'
  1547. X/* ops.c */
  1548. Xvoid doshift __PARMS((int op));
  1549. Xvoid shift_line __PARMS((int left, int round));
  1550. Xint dorecord __PARMS((int c));
  1551. Xint doexecbuf __PARMS((int c));
  1552. Xint insertbuf __PARMS((int c));
  1553. Xvoid dodelete __PARMS((void));
  1554. Xvoid dotilde __PARMS((void));
  1555. Xvoid swapchar __PARMS((struct fpos *pos));
  1556. Xvoid dochange __PARMS((void));
  1557. Xvoid init_yank __PARMS((void));
  1558. Xint doyank __PARMS((int deleting));
  1559. Xvoid doput __PARMS((int dir, long count));
  1560. Xvoid dodis __PARMS((void));
  1561. Xvoid dodojoin __PARMS((long count, int insert_space, int redraw));
  1562. Xint dojoin __PARMS((int insert_space, int redraw));
  1563. Xvoid doformat __PARMS((void));
  1564. Xvoid startinsert __PARMS((int initstr, int startln, long count));
  1565. Xint doaddsub __PARMS((int c, long Prenum1));
  1566. Xint startinmargin __PARMS((void));
  1567. END_OF_FILE
  1568. if test 757 -ne `wc -c <'vim/src/proto/ops.pro'`; then
  1569.     echo shar: \"'vim/src/proto/ops.pro'\" unpacked with wrong size!
  1570. fi
  1571. chmod +x 'vim/src/proto/ops.pro'
  1572. # end of 'vim/src/proto/ops.pro'
  1573. fi
  1574. if test -f 'vim/src/proto/param.pro' -a "${1}" != "-c" ; then 
  1575.   echo shar: Will not clobber existing file \"'vim/src/proto/param.pro'\"
  1576. else
  1577. echo shar: Extracting \"'vim/src/proto/param.pro'\" \(229 characters\)
  1578. sed "s/^X//" >'vim/src/proto/param.pro' <<'END_OF_FILE'
  1579. X/* param.c */
  1580. Xvoid set_init __PARMS((void));
  1581. Xint doset __PARMS((char *arg));
  1582. Xvoid paramchanged __PARMS((char *arg));
  1583. Xint makeset __PARMS((struct __stdio *fd));
  1584. Xvoid clear_termparam __PARMS((void));
  1585. Xvoid comp_col __PARMS((void));
  1586. END_OF_FILE
  1587. if test 229 -ne `wc -c <'vim/src/proto/param.pro'`; then
  1588.     echo shar: \"'vim/src/proto/param.pro'\" unpacked with wrong size!
  1589. fi
  1590. chmod +x 'vim/src/proto/param.pro'
  1591. # end of 'vim/src/proto/param.pro'
  1592. fi
  1593. if test -f 'vim/src/proto/quickfix.pro' -a "${1}" != "-c" ; then 
  1594.   echo shar: Will not clobber existing file \"'vim/src/proto/quickfix.pro'\"
  1595. else
  1596. echo shar: Extracting \"'vim/src/proto/quickfix.pro'\" \(202 characters\)
  1597. sed "s/^X//" >'vim/src/proto/quickfix.pro' <<'END_OF_FILE'
  1598. X/* quickfix.c */
  1599. Xint qf_init __PARMS((void));
  1600. Xvoid qf_jump __PARMS((int errornr));
  1601. Xvoid qf_list __PARMS((void));
  1602. Xvoid qf_clrallmarks __PARMS((void));
  1603. Xvoid qf_adjustmark __PARMS((char *old, char *new));
  1604. END_OF_FILE
  1605. if test 202 -ne `wc -c <'vim/src/proto/quickfix.pro'`; then
  1606.     echo shar: \"'vim/src/proto/quickfix.pro'\" unpacked with wrong size!
  1607. fi
  1608. chmod +x 'vim/src/proto/quickfix.pro'
  1609. # end of 'vim/src/proto/quickfix.pro'
  1610. fi
  1611. if test -f 'vim/src/proto/regexp.pro' -a "${1}" != "-c" ; then 
  1612.   echo shar: Will not clobber existing file \"'vim/src/proto/regexp.pro'\"
  1613. else
  1614. echo shar: Extracting \"'vim/src/proto/regexp.pro'\" \(171 characters\)
  1615. sed "s/^X//" >'vim/src/proto/regexp.pro' <<'END_OF_FILE'
  1616. X/* regexp.c */
  1617. Xstruct regexp *regcomp __PARMS((char *exp));
  1618. Xint regexec __PARMS((struct regexp *prog, char *string, int at_bol));
  1619. Xchar *cstrchr __PARMS((char *s, int c));
  1620. END_OF_FILE
  1621. if test 171 -ne `wc -c <'vim/src/proto/regexp.pro'`; then
  1622.     echo shar: \"'vim/src/proto/regexp.pro'\" unpacked with wrong size!
  1623. fi
  1624. chmod +x 'vim/src/proto/regexp.pro'
  1625. # end of 'vim/src/proto/regexp.pro'
  1626. fi
  1627. if test -f 'vim/src/proto/regsub.pro' -a "${1}" != "-c" ; then 
  1628.   echo shar: Will not clobber existing file \"'vim/src/proto/regsub.pro'\"
  1629. else
  1630. echo shar: Extracting \"'vim/src/proto/regsub.pro'\" \(156 characters\)
  1631. sed "s/^X//" >'vim/src/proto/regsub.pro' <<'END_OF_FILE'
  1632. X/* regsub.c */
  1633. Xchar *regtilde __PARMS((char *source, int magic));
  1634. Xint regsub __PARMS((struct regexp *prog, char *source, char *dest, int copy, int magic));
  1635. END_OF_FILE
  1636. if test 156 -ne `wc -c <'vim/src/proto/regsub.pro'`; then
  1637.     echo shar: \"'vim/src/proto/regsub.pro'\" unpacked with wrong size!
  1638. fi
  1639. chmod +x 'vim/src/proto/regsub.pro'
  1640. # end of 'vim/src/proto/regsub.pro'
  1641. fi
  1642. if test -f 'vim/src/proto/screen.pro' -a "${1}" != "-c" ; then 
  1643.   echo shar: Will not clobber existing file \"'vim/src/proto/screen.pro'\"
  1644. else
  1645. echo shar: Extracting \"'vim/src/proto/screen.pro'\" \(634 characters\)
  1646. sed "s/^X//" >'vim/src/proto/screen.pro' <<'END_OF_FILE'
  1647. X/* screen.c */
  1648. Xvoid updateline __PARMS((void));
  1649. Xvoid updateScreen __PARMS((int type));
  1650. Xvoid comp_Botline __PARMS((void));
  1651. Xint prt_line __PARMS((char *s));
  1652. Xvoid screenclear __PARMS((void));
  1653. Xvoid cursupdate __PARMS((void));
  1654. Xvoid curs_columns __PARMS((int scroll));
  1655. Xint getvcol __PARMS((struct fpos *pos, int type));
  1656. Xvoid scrolldown __PARMS((long nlines));
  1657. Xvoid scrollup __PARMS((long nlines));
  1658. Xint s_ins __PARMS((int row, int nlines, int invalid));
  1659. Xint s_del __PARMS((int row, int nlines, int invalid));
  1660. Xvoid showmode __PARMS((void));
  1661. Xvoid delmode __PARMS((void));
  1662. Xvoid showruler __PARMS((int always));
  1663. Xvoid clear_line __PARMS((void));
  1664. END_OF_FILE
  1665. if test 634 -ne `wc -c <'vim/src/proto/screen.pro'`; then
  1666.     echo shar: \"'vim/src/proto/screen.pro'\" unpacked with wrong size!
  1667. fi
  1668. chmod +x 'vim/src/proto/screen.pro'
  1669. # end of 'vim/src/proto/screen.pro'
  1670. fi
  1671. if test -f 'vim/src/proto/script.pro' -a "${1}" != "-c" ; then 
  1672.   echo shar: Will not clobber existing file \"'vim/src/proto/script.pro'\"
  1673. else
  1674. echo shar: Extracting \"'vim/src/proto/script.pro'\" \(352 characters\)
  1675. sed "s/^X//" >'vim/src/proto/script.pro' <<'END_OF_FILE'
  1676. X/* script.c */
  1677. Xvoid startscript __PARMS((void));
  1678. Xint stopscript __PARMS((void));
  1679. Xint openscript __PARMS((char *name));
  1680. Xvoid updatescript __PARMS((int c));
  1681. Xvoid openrecover __PARMS((void));
  1682. Xvoid scriptfullpath __PARMS((void));
  1683. Xchar *modname __PARMS((char *fname, char *ext));
  1684. Xvoid script_winsize __PARMS((void));
  1685. Xvoid script_winsize_pp __PARMS((void));
  1686. END_OF_FILE
  1687. if test 352 -ne `wc -c <'vim/src/proto/script.pro'`; then
  1688.     echo shar: \"'vim/src/proto/script.pro'\" unpacked with wrong size!
  1689. fi
  1690. chmod +x 'vim/src/proto/script.pro'
  1691. # end of 'vim/src/proto/script.pro'
  1692. fi
  1693. if test -f 'vim/src/proto/search.pro' -a "${1}" != "-c" ; then 
  1694.   echo shar: Will not clobber existing file \"'vim/src/proto/search.pro'\"
  1695. else
  1696. echo shar: Extracting \"'vim/src/proto/search.pro'\" \(727 characters\)
  1697. sed "s/^X//" >'vim/src/proto/search.pro' <<'END_OF_FILE'
  1698. X/* search.c */
  1699. Xstruct regexp *myregcomp __PARMS((char *pat));
  1700. Xint searchit __PARMS((struct fpos *pos, int dir, char *str, long count, int end));
  1701. Xint dosearch __PARMS((int dirc, char *str, int reverse, long count, int echo));
  1702. Xint searchc __PARMS((int c, int dir, int type, long count));
  1703. Xstruct fpos *showmatch __PARMS((void));
  1704. Xint findfunc __PARMS((int dir, int what, long count));
  1705. Xint findsent __PARMS((int dir, long count));
  1706. Xint findpar __PARMS((int dir, long count, int what));
  1707. Xint startPS __PARMS((long lnum, int para));
  1708. Xint fwd_word __PARMS((long count, int type, int eol));
  1709. Xint bck_word __PARMS((long count, int type));
  1710. Xint end_word __PARMS((long count, int type, int stop));
  1711. Xint skip_chars __PARMS((int class, int dir));
  1712. END_OF_FILE
  1713. if test 727 -ne `wc -c <'vim/src/proto/search.pro'`; then
  1714.     echo shar: \"'vim/src/proto/search.pro'\" unpacked with wrong size!
  1715. fi
  1716. chmod +x 'vim/src/proto/search.pro'
  1717. # end of 'vim/src/proto/search.pro'
  1718. fi
  1719. if test -f 'vim/src/proto/storage.pro' -a "${1}" != "-c" ; then 
  1720.   echo shar: Will not clobber existing file \"'vim/src/proto/storage.pro'\"
  1721. else
  1722. echo shar: Extracting \"'vim/src/proto/storage.pro'\" \(739 characters\)
  1723. sed "s/^X//" >'vim/src/proto/storage.pro' <<'END_OF_FILE'
  1724. X/* storage.c */
  1725. Xchar *m_blockalloc __PARMS((unsigned long size, int message));
  1726. Xvoid m_blockfree __PARMS((void));
  1727. Xvoid free_line __PARMS((char *ptr));
  1728. Xchar *alloc_line __PARMS((unsigned int size));
  1729. Xchar *save_line __PARMS((char *src));
  1730. Xvoid filealloc __PARMS((void));
  1731. Xvoid freeall __PARMS((void));
  1732. Xchar *nr2ptr __PARMS((long nr));
  1733. Xchar *pos2ptr __PARMS((struct fpos *pos));
  1734. Xchar *Curpos2ptr __PARMS((void));
  1735. Xvoid setmarked __PARMS((long lnum));
  1736. Xlong firstmarked __PARMS((void));
  1737. Xvoid clearmarked __PARMS((void));
  1738. Xlong ptr2nr __PARMS((char *ptr, long start));
  1739. Xint appendline __PARMS((long after, char *s));
  1740. Xchar *delsline __PARMS((long nr, int delmarks));
  1741. Xchar *replaceline __PARMS((long lnum, char *new));
  1742. Xint canincrease __PARMS((int n));
  1743. END_OF_FILE
  1744. if test 739 -ne `wc -c <'vim/src/proto/storage.pro'`; then
  1745.     echo shar: \"'vim/src/proto/storage.pro'\" unpacked with wrong size!
  1746. fi
  1747. chmod +x 'vim/src/proto/storage.pro'
  1748. # end of 'vim/src/proto/storage.pro'
  1749. fi
  1750. if test -f 'vim/src/proto/tag.pro' -a "${1}" != "-c" ; then 
  1751.   echo shar: Will not clobber existing file \"'vim/src/proto/tag.pro'\"
  1752. else
  1753. echo shar: Extracting \"'vim/src/proto/tag.pro'\" \(187 characters\)
  1754. sed "s/^X//" >'vim/src/proto/tag.pro' <<'END_OF_FILE'
  1755. X/* tag.c */
  1756. Xvoid dotag __PARMS((char *tag, int type, int count));
  1757. Xvoid clrtags __PARMS((void));
  1758. Xvoid incrtags __PARMS((void));
  1759. Xvoid decrtags __PARMS((void));
  1760. Xvoid dotags __PARMS((void));
  1761. END_OF_FILE
  1762. if test 187 -ne `wc -c <'vim/src/proto/tag.pro'`; then
  1763.     echo shar: \"'vim/src/proto/tag.pro'\" unpacked with wrong size!
  1764. fi
  1765. chmod +x 'vim/src/proto/tag.pro'
  1766. # end of 'vim/src/proto/tag.pro'
  1767. fi
  1768. if test -f 'vim/src/proto/term.pro' -a "${1}" != "-c" ; then 
  1769.   echo shar: Will not clobber existing file \"'vim/src/proto/term.pro'\"
  1770. else
  1771. echo shar: Extracting \"'vim/src/proto/term.pro'\" \(849 characters\)
  1772. sed "s/^X//" >'vim/src/proto/term.pro' <<'END_OF_FILE'
  1773. X/* term.c */
  1774. Xvoid set_term __PARMS((char *term));
  1775. Xchar *tgoto __PARMS((char *cm, int x, int y));
  1776. Xvoid termcapinit __PARMS((char *term));
  1777. Xvoid flushbuf __PARMS((void));
  1778. Xvoid outchar __PARMS((unsigned int c));
  1779. Xvoid outstrn __PARMS((char *s));
  1780. Xvoid outstr __PARMS((char *s));
  1781. Xvoid windgoto __PARMS((int row, int col));
  1782. Xvoid setcursor __PARMS((void));
  1783. Xvoid ttest __PARMS((int pairs));
  1784. Xint inchar __PARMS((char *buf, int maxlen, int time));
  1785. Xint check_termcode __PARMS((char *buf));
  1786. Xvoid outnum __PARMS((long n));
  1787. Xint outnuml __PARMS((long n));
  1788. Xvoid check_winsize __PARMS((void));
  1789. Xvoid set_winsize __PARMS((int width, int height, int mustset));
  1790. Xvoid set_winheight __PARMS((int height));
  1791. Xvoid settmode __PARMS((int raw));
  1792. Xvoid starttermcap __PARMS((void));
  1793. Xvoid stoptermcap __PARMS((void));
  1794. Xvoid cursor_on __PARMS((void));
  1795. Xvoid cursor_off __PARMS((void));
  1796. END_OF_FILE
  1797. if test 849 -ne `wc -c <'vim/src/proto/term.pro'`; then
  1798.     echo shar: \"'vim/src/proto/term.pro'\" unpacked with wrong size!
  1799. fi
  1800. chmod +x 'vim/src/proto/term.pro'
  1801. # end of 'vim/src/proto/term.pro'
  1802. fi
  1803. if test -f 'vim/src/proto/termlib.pro' -a "${1}" != "-c" ; then 
  1804.   echo shar: Will not clobber existing file \"'vim/src/proto/termlib.pro'\"
  1805. else
  1806. echo shar: Extracting \"'vim/src/proto/termlib.pro'\" \(300 characters\)
  1807. sed "s/^X//" >'vim/src/proto/termlib.pro' <<'END_OF_FILE'
  1808. X/* termlib.c */
  1809. Xint tgetent __PARMS((char *tbuf, char *term));
  1810. Xint tgetflag __PARMS((char *id));
  1811. Xint tgetnum __PARMS((char *id));
  1812. Xchar *tgetstr __PARMS((char *id, char **buf));
  1813. Xchar *tgoto __PARMS((char *cm, int col, int line));
  1814. Xint tputs __PARMS((char *cp, int affcnt, void (*outc)(unsigned int)));
  1815. END_OF_FILE
  1816. if test 300 -ne `wc -c <'vim/src/proto/termlib.pro'`; then
  1817.     echo shar: \"'vim/src/proto/termlib.pro'\" unpacked with wrong size!
  1818. fi
  1819. chmod +x 'vim/src/proto/termlib.pro'
  1820. # end of 'vim/src/proto/termlib.pro'
  1821. fi
  1822. if test -f 'vim/src/proto/undo.pro' -a "${1}" != "-c" ; then 
  1823.   echo shar: Will not clobber existing file \"'vim/src/proto/undo.pro'\"
  1824. else
  1825. echo shar: Extracting \"'vim/src/proto/undo.pro'\" \(444 characters\)
  1826. sed "s/^X//" >'vim/src/proto/undo.pro' <<'END_OF_FILE'
  1827. X/* undo.c */
  1828. Xint u_saveCurpos __PARMS((void));
  1829. Xint u_save __PARMS((long top, long bot));
  1830. Xint u_savesub __PARMS((long lnum));
  1831. Xint u_inssub __PARMS((long lnum));
  1832. Xint u_savedel __PARMS((long lnum, long nlines));
  1833. Xvoid u_undo __PARMS((int count));
  1834. Xvoid u_redo __PARMS((int count));
  1835. Xvoid u_sync __PARMS((void));
  1836. Xvoid u_clearall __PARMS((void));
  1837. Xvoid u_saveline __PARMS((long lnum));
  1838. Xvoid u_clearline __PARMS((void));
  1839. Xvoid u_undoline __PARMS((void));
  1840. END_OF_FILE
  1841. if test 444 -ne `wc -c <'vim/src/proto/undo.pro'`; then
  1842.     echo shar: \"'vim/src/proto/undo.pro'\" unpacked with wrong size!
  1843. fi
  1844. chmod +x 'vim/src/proto/undo.pro'
  1845. # end of 'vim/src/proto/undo.pro'
  1846. fi
  1847. if test -f 'vim/src/ptx_stdlib.h' -a "${1}" != "-c" ; then 
  1848.   echo shar: Will not clobber existing file \"'vim/src/ptx_stdlib.h'\"
  1849. else
  1850. echo shar: Extracting \"'vim/src/ptx_stdlib.h'\" \(955 characters\)
  1851. sed "s/^X//" >'vim/src/ptx_stdlib.h' <<'END_OF_FILE'
  1852. X/*
  1853. X * ptx_stdlib.h: declarations which are needed for sequent
  1854. X */
  1855. X
  1856. Xextern void free(void *);
  1857. X#ifdef SIZE_T /* sys/types.h */
  1858. Xextern void *malloc(size_t);
  1859. Xextern off_t lseek(int, off_t, int);
  1860. X#else
  1861. Xextern void *malloc(unsigned);
  1862. Xextern int lseek(int, int, int);
  1863. X#endif
  1864. X
  1865. X#ifndef _FCNTL_H_
  1866. Xextern int open(char *, int, ...);
  1867. X#endif
  1868. Xextern int close(int);
  1869. Xextern int read(int, char *, unsigned);
  1870. Xextern int write(int, char *, unsigned);
  1871. Xextern int ioctl(int, int, ...);
  1872. Xextern int unlink(char *);
  1873. X
  1874. Xextern char *getenv(char *);
  1875. Xextern int getuid(void);
  1876. Xextern int getgid(void);
  1877. X
  1878. X#ifdef _NFILE /* stdio.h */
  1879. Xextern int _filbuf(FILE *);
  1880. Xextern int _flsbuf(unsigned char, FILE *);
  1881. X#endif
  1882. X
  1883. X#ifdef _POLL_H_
  1884. Xextern int poll(struct pollfd[], unsigned long, int);
  1885. X#endif /* _POLL_H_ */
  1886. X
  1887. Xextern char *getcwd(char *, int);
  1888. X
  1889. Xextern int chdir(char *);
  1890. X
  1891. Xextern int atoi (char *);
  1892. Xextern long atol(char *);
  1893. Xextern long strtol(char *, char **, int);
  1894. X
  1895. Xextern int isatty(int);
  1896. END_OF_FILE
  1897. if test 955 -ne `wc -c <'vim/src/ptx_stdlib.h'`; then
  1898.     echo shar: \"'vim/src/ptx_stdlib.h'\" unpacked with wrong size!
  1899. fi
  1900. chmod +x 'vim/src/ptx_stdlib.h'
  1901. # end of 'vim/src/ptx_stdlib.h'
  1902. fi
  1903. if test -f 'vim/src/regexp.h' -a "${1}" != "-c" ; then 
  1904.   echo shar: Will not clobber existing file \"'vim/src/regexp.h'\"
  1905. else
  1906. echo shar: Extracting \"'vim/src/regexp.h'\" \(1541 characters\)
  1907. sed "s/^X//" >'vim/src/regexp.h' <<'END_OF_FILE'
  1908. X/* vi:ts=4:sw=4
  1909. X * NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
  1910. X *
  1911. X * This is NOT the original regular expression code as written by
  1912. X * Henry Spencer. This code has been modified specifically for use
  1913. X * with the VIM editor, and should not be used apart from compiling
  1914. X * VIM. If you want a good regular expression library, get the
  1915. X * original code. The copyright notice that follows is from the
  1916. X * original.
  1917. X *
  1918. X * NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
  1919. X *
  1920. X * Definitions etc. for regexp(3) routines.
  1921. X *
  1922. X * Caveat:    this is V8 regexp(3) [actually, a reimplementation thereof],
  1923. X * not the System V one.
  1924. X */
  1925. X
  1926. X#ifndef _REGEXP_H
  1927. X#define _REGEXP_H
  1928. X
  1929. X#define NSUBEXP  10
  1930. Xtypedef struct regexp {
  1931. X    char           *startp[NSUBEXP];
  1932. X    char           *endp[NSUBEXP];
  1933. X    char            regstart;    /* Internal use only. */
  1934. X    char            reganch;    /* Internal use only. */
  1935. X    char           *regmust;    /* Internal use only. */
  1936. X    int             regmlen;    /* Internal use only. */
  1937. X    char            program[1]; /* Unwarranted chumminess with compiler. */
  1938. X}                regexp;
  1939. X
  1940. X/* regexp.c */
  1941. Xregexp *regcomp __ARGS((char *));
  1942. Xint regexec __ARGS((regexp *, char *, int));
  1943. X/* int cstrncmp __ARGS((char *, char *, int)); */
  1944. Xchar *cstrchr __ARGS((char *, int));
  1945. X
  1946. X/* regsub.c */
  1947. Xint regsub __ARGS((regexp *, char *, char *, int, int));
  1948. X
  1949. X/* search.c */
  1950. Xextern void     regerror __ARGS((char *));
  1951. X
  1952. X#ifndef ORIGINAL
  1953. Xextern int        reg_ic;         /* set non-zero to ignore case in searches */
  1954. Xextern int        reg_magic;        /* set zero to disable magicness of .*[~& */
  1955. X#endif
  1956. X#endif    /* _REGEXP_H */
  1957. END_OF_FILE
  1958. if test 1541 -ne `wc -c <'vim/src/regexp.h'`; then
  1959.     echo shar: \"'vim/src/regexp.h'\" unpacked with wrong size!
  1960. fi
  1961. chmod +x 'vim/src/regexp.h'
  1962. # end of 'vim/src/regexp.h'
  1963. fi
  1964. if test -f 'vim/src/regmagic.h' -a "${1}" != "-c" ; then 
  1965.   echo shar: Will not clobber existing file \"'vim/src/regmagic.h'\"
  1966. else
  1967. echo shar: Extracting \"'vim/src/regmagic.h'\" \(663 characters\)
  1968. sed "s/^X//" >'vim/src/regmagic.h' <<'END_OF_FILE'
  1969. X/* vi:ts=4:sw=4
  1970. X * NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
  1971. X *
  1972. X * This is NOT the original regular expression code as written by
  1973. X * Henry Spencer. This code has been modified specifically for use
  1974. X * with the VIM editor, and should not be used apart from compiling
  1975. X * VIM. If you want a good regular expression library, get the
  1976. X * original code. The copyright notice that follows is from the
  1977. X * original.
  1978. X *
  1979. X * NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
  1980. X *
  1981. X * The first byte of the regexp internal "program" is actually this magic
  1982. X * number; the start node begins in the second byte.
  1983. X */
  1984. X
  1985. X#define MAGIC    0234
  1986. END_OF_FILE
  1987. if test 663 -ne `wc -c <'vim/src/regmagic.h'`; then
  1988.     echo shar: \"'vim/src/regmagic.h'\" unpacked with wrong size!
  1989. fi
  1990. chmod +x 'vim/src/regmagic.h'
  1991. # end of 'vim/src/regmagic.h'
  1992. fi
  1993. if test -f 'vim/src/sun_stdlib.h' -a "${1}" != "-c" ; then 
  1994.   echo shar: Will not clobber existing file \"'vim/src/sun_stdlib.h'\"
  1995. else
  1996. echo shar: Extracting \"'vim/src/sun_stdlib.h'\" \(1868 characters\)
  1997. sed "s/^X//" >'vim/src/sun_stdlib.h' <<'END_OF_FILE'
  1998. X/*
  1999. X * sun_stdlib.h: declararions used on a sun
  2000. X */
  2001. X
  2002. X#ifndef __stdlib_h
  2003. Xextern void free(void *);
  2004. Xextern void *malloc(unsigned);
  2005. Xextern void *realloc(void *, unsigned);
  2006. Xextern void *calloc(unsigned, unsigned);
  2007. X#endif
  2008. X#ifdef __sys_types_h
  2009. Xextern off_t lseek(int, off_t, int);
  2010. X
  2011. X# ifdef _sys_time_h
  2012. Xextern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
  2013. X# endif _sys_time_h
  2014. X
  2015. X#else
  2016. Xextern long lseek(int, long, int);
  2017. X#endif
  2018. X
  2019. Xextern long tell(int);
  2020. Xextern void perror(char *);
  2021. X
  2022. X#ifndef __sys_fcntlcom_h
  2023. Xextern int open(char *, int, ...);
  2024. X#endif
  2025. Xextern int close(int);
  2026. Xextern int read(int, char *, unsigned);
  2027. Xextern int write(int, char *, unsigned);
  2028. Xextern int ioctl(int, int, ...);
  2029. Xextern int unlink(char *);
  2030. X
  2031. X#ifdef FILE
  2032. Xextern int _filbuf(FILE *);
  2033. Xextern int _flsbuf(unsigned char, FILE *);
  2034. Xextern int fclose(FILE *);
  2035. Xextern int fprintf(FILE *, char *, ...);
  2036. Xextern int fscanf(FILE *, char *, ...);
  2037. Xextern int fseek(FILE *, long, int);
  2038. Xextern int fflush(FILE *);
  2039. Xextern int fread(char *, int, int, FILE *);
  2040. X#else
  2041. Xextern char *sprintf(char *, char *, ...);
  2042. X#endif
  2043. X
  2044. Xextern int printf(char *, ...);
  2045. X
  2046. Xextern int scanf(char *, ...);
  2047. Xextern int sscanf(char *, char *, ...);
  2048. X
  2049. Xextern int system(char *);
  2050. Xextern char *getenv(char *);
  2051. X
  2052. Xextern char *getcwd(char *, int);
  2053. Xextern char *getwd(char *);
  2054. X
  2055. Xextern int chdir(char *);
  2056. Xextern int getuid(void);
  2057. Xextern int getgid(void);
  2058. X
  2059. Xextern int atoi (char *);
  2060. Xextern long atol(char *);
  2061. Xextern long strtol(char * , char **, int);
  2062. X
  2063. Xextern void bcopy(char *, char *, int);
  2064. Xextern int bcmp(char *, char *, int);
  2065. Xextern void bzero(char *, int);
  2066. X
  2067. Xextern char *memccpy(char *, char *, int, int);
  2068. Xextern char *memchr(char *, int, int);
  2069. Xextern char *memset(char *, int, int);
  2070. X
  2071. Xextern int strncmp(char *, char *, int);
  2072. Xextern int strcasecmp(char *, char *);
  2073. X
  2074. Xextern int toupper(int);
  2075. Xextern int tolower(int);
  2076. Xextern int isatty(int);
  2077. END_OF_FILE
  2078. if test 1868 -ne `wc -c <'vim/src/sun_stdlib.h'`; then
  2079.     echo shar: \"'vim/src/sun_stdlib.h'\" unpacked with wrong size!
  2080. fi
  2081. chmod +x 'vim/src/sun_stdlib.h'
  2082. # end of 'vim/src/sun_stdlib.h'
  2083. fi
  2084. if test -f 'vim/src/term_fix.uue' -a "${1}" != "-c" ; then 
  2085.   echo shar: Will not clobber existing file \"'vim/src/term_fix.uue'\"
  2086. else
  2087. echo shar: Extracting \"'vim/src/term_fix.uue'\" \(89 characters\)
  2088. sed "s/^X//" >'vim/src/term_fix.uue' <<'END_OF_FILE'
  2089. X
  2090. Xbegin 644 termlib.fix
  2091. XB#2]O=71C*2@I#6QL;&QL875N<VEG;F5D(&EN=!LZ=W$-"O__5
  2092. X``
  2093. Xend
  2094. Xsize 34
  2095. END_OF_FILE
  2096. if test 89 -ne `wc -c <'vim/src/term_fix.uue'`; then
  2097.     echo shar: \"'vim/src/term_fix.uue'\" unpacked with wrong size!
  2098. fi
  2099. chmod +x 'vim/src/term_fix.uue'
  2100. # end of 'vim/src/term_fix.uue'
  2101. fi
  2102. if test -f 'vim/src/vim.prj' -a "${1}" != "-c" ; then 
  2103.   echo shar: Will not clobber existing file \"'vim/src/vim.prj'\"
  2104. else
  2105. echo shar: Extracting \"'vim/src/vim.prj'\" \(254 characters\)
  2106. sed "s/^X//" >'vim/src/vim.prj' <<'END_OF_FILE'
  2107. XALLOC.C
  2108. XBUFFERS.C
  2109. XCHARSET.C
  2110. XCMDLINE.C
  2111. XCSEARCH.C
  2112. XEDIT.C
  2113. XDIGRAPH.C
  2114. XFILEIO.C
  2115. XHELP.C
  2116. XLINEFUNC.C
  2117. XMAIN.C
  2118. XMARK.C
  2119. XMESSAGE.C
  2120. XMISCCMDS.C
  2121. XMSDOS.C
  2122. XNORMAL.C
  2123. XOPS.C
  2124. XPARAM.C
  2125. XQUICKFIX.C
  2126. XREGEXP.C
  2127. XREGSUB.C
  2128. XSCREEN.C
  2129. XSCRIPT.C
  2130. XSEARCH.C
  2131. XSTORAGE.C
  2132. XTAG.C
  2133. XTERM.C
  2134. XUNDO.C
  2135. XVERSION.C
  2136. END_OF_FILE
  2137. if test 254 -ne `wc -c <'vim/src/vim.prj'`; then
  2138.     echo shar: \"'vim/src/vim.prj'\" unpacked with wrong size!
  2139. fi
  2140. chmod +x 'vim/src/vim.prj'
  2141. # end of 'vim/src/vim.prj'
  2142. fi
  2143. if test -f 'vim/src/vimresp' -a "${1}" != "-c" ; then 
  2144.   echo shar: Will not clobber existing file \"'vim/src/vimresp'\"
  2145. else
  2146. echo shar: Extracting \"'vim/src/vimresp'\" \(320 characters\)
  2147. sed "s/^X//" >'vim/src/vimresp' <<'END_OF_FILE'
  2148. Xalloc.obj msdos.obj buffers.obj charset.obj cmdline.obj csearch.obj +
  2149. Xdigraph.obj edit.obj fileio.obj help.obj linefunc.obj main.obj mark.obj +
  2150. Xmessage.obj misccmds.obj normal.obj ops.obj param.obj quickfix.obj +
  2151. Xregexp.obj regsub.obj screen.obj script.obj search.obj storage.obj +
  2152. Xtag.obj term.obj undo.obj version.obj
  2153. END_OF_FILE
  2154. if test 320 -ne `wc -c <'vim/src/vimresp'`; then
  2155.     echo shar: \"'vim/src/vimresp'\" unpacked with wrong size!
  2156. fi
  2157. chmod +x 'vim/src/vimresp'
  2158. # end of 'vim/src/vimresp'
  2159. fi
  2160. if test ! -d 'vim/tutor' ; then
  2161.     echo shar: Creating directory \"'vim/tutor'\"
  2162.     mkdir 'vim/tutor'
  2163. fi
  2164. if test -f 'vim/tutor/Readme' -a "${1}" != "-c" ; then 
  2165.   echo shar: Will not clobber existing file \"'vim/tutor/Readme'\"
  2166. else
  2167. echo shar: Extracting \"'vim/tutor/Readme'\" \(768 characters\)
  2168. sed "s/^X//" >'vim/tutor/Readme' <<'END_OF_FILE'
  2169. XVitutor is a "hands on" tutorial for new users of the Vim editor.
  2170. X
  2171. XMost new users can get through it in less than one hour.  The result
  2172. Xis that you can do a simple editing task using the Vim editor.
  2173. X
  2174. XTutor is a file that contains the tutorial lessons.  You can simply
  2175. Xexecute "vim tutor" and then follow the instructions in the lessons.
  2176. XThe lessons tell you to modify the file, so DON'T DO THIS ON YOUR
  2177. XORIGINAL COPY.
  2178. X
  2179. XI have considered adding more advanced lessons but have not found the
  2180. Xtime.  Please let me know how you like it and send any improvements you
  2181. Xmake.
  2182. X
  2183. XBob Ware, Colorado School of Mines, Golden, Co 80401, USA
  2184. X(303) 273-3987
  2185. Xbware@mines.colorado.edu bware@slate.mines.colorado.edu bware@mines.bitnet
  2186. X
  2187. X(This file was modified by Bram Moolenaar for Vim)
  2188. END_OF_FILE
  2189. if test 768 -ne `wc -c <'vim/tutor/Readme'`; then
  2190.     echo shar: \"'vim/tutor/Readme'\" unpacked with wrong size!
  2191. fi
  2192. chmod +x 'vim/tutor/Readme'
  2193. # end of 'vim/tutor/Readme'
  2194. fi
  2195. if test -f 'vim/tutor/poster' -a "${1}" != "-c" ; then 
  2196.   echo shar: Will not clobber existing file \"'vim/tutor/poster'\"
  2197. else
  2198. echo shar: Extracting \"'vim/tutor/poster'\" \(860 characters\)
  2199. sed "s/^X//" >'vim/tutor/poster' <<'END_OF_FILE'
  2200. XArticle 3390 of alt.sources:
  2201. XXref: oce-rd1 comp.editors:3231 alt.sources:3390
  2202. XPath: oce-rd1!venlo!hp4nl!mcsun!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!pikes!slate!bware
  2203. XFrom: bware@slate.mines.colorado.edu (Ware Bob)
  2204. XNewsgroups: comp.editors,alt.sources
  2205. XSubject: hands on vi tutor
  2206. XKeywords: for new users
  2207. XMessage-ID: <1991Jul17.161355.15677@slate.mines.colorado.edu>
  2208. XDate: 17 Jul 91 16:13:55 GMT
  2209. XSender: bware@slate.mines.colorado.edu (Ware Bob)
  2210. XOrganization: Colorado School of Mines
  2211. XLines: 830
  2212. X
  2213. X
  2214. XI posted this a few weeks ago, but a number of people have munged 
  2215. Xtheir copy, so I am reposting it with better instructions.
  2216. X
  2217. XThis is a "hand-on" tutor to help new users learn the vi editor.
  2218. X
  2219. XBob Ware, Colorado School of Mines, Golden, Co 80401, USA
  2220. X(303) 273-3987
  2221. Xbware@mines.colorado.edu bware@slate.mines.colorado.edu bware@mines.bitnet
  2222. END_OF_FILE
  2223. if test 860 -ne `wc -c <'vim/tutor/poster'`; then
  2224.     echo shar: \"'vim/tutor/poster'\" unpacked with wrong size!
  2225. fi
  2226. chmod +x 'vim/tutor/poster'
  2227. # end of 'vim/tutor/poster'
  2228. fi
  2229. echo shar: End of archive 1 \(of 25\).
  2230. cp /dev/null ark1isdone
  2231. MISSING=""
  2232. 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 ; do
  2233.     if test ! -f ark${I}isdone ; then
  2234.     MISSING="${MISSING} ${I}"
  2235.     fi
  2236. done
  2237. if test "${MISSING}" = "" ; then
  2238.     echo You have unpacked all 25 archives.
  2239.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  2240. else
  2241.     echo You still need to unpack the following archives:
  2242.     echo "        " ${MISSING}
  2243. fi
  2244. ##  End of shell archive.
  2245. exit 0
  2246.  
  2247. ===============================================================================
  2248. Bram Moolenaar                             | DISCLAIMER:  This  note  does  not
  2249. Oce Nederland B.V., Research & Development | necessarily represent the position
  2250. p.o. box 101, 5900 MA  Venlo               | of  Oce-Nederland  B.V.  Therefore
  2251. The Netherlands        phone +31 77 594077 | no liability or responsibility for
  2252. UUCP: mool@oce.nl        fax +31 77 595473 | whatever will be accepted.
  2253.  
  2254. exit 0 # Just in case...
  2255.