Permalink
Browse files

Import nvi-1.81.6 + HEAD-2013-11-20 from git://repo.or.cz/nvi.git

  • Loading branch information...
1 parent 4e4d7df commit 6f2c4ad5f479d489fef47244a08179868ad1bde2 christos committed Nov 22, 2013
Showing with 105,665 additions and 0 deletions.
  1. +34 −0 external/bsd/nvi/dist/Changes
  2. +39 −0 external/bsd/nvi/dist/LICENSE
  3. +104 −0 external/bsd/nvi/dist/README
  4. +17 −0 external/bsd/nvi/dist/README.1st
  5. +22 −0 external/bsd/nvi/dist/README.DB3
  6. +123 −0 external/bsd/nvi/dist/TODO
  7. +362 −0 external/bsd/nvi/dist/build.unix/README
  8. +320 −0 external/bsd/nvi/dist/build.unix/README.LynxOS
  9. +10 −0 external/bsd/nvi/dist/build.unix/README.Solaris
  10. +84 −0 external/bsd/nvi/dist/catalog/Makefile
  11. +166 −0 external/bsd/nvi/dist/catalog/README
  12. +88 −0 external/bsd/nvi/dist/catalog/dump.c
  13. +307 −0 external/bsd/nvi/dist/catalog/dutch.base
  14. +1 −0 external/bsd/nvi/dist/catalog/dutch.owner
  15. +320 −0 external/bsd/nvi/dist/catalog/english
  16. +37 −0 external/bsd/nvi/dist/catalog/english.check
  17. +1 −0 external/bsd/nvi/dist/catalog/english.owner
  18. +309 −0 external/bsd/nvi/dist/catalog/french.base
  19. +307 −0 external/bsd/nvi/dist/catalog/german.base
  20. +2 −0 external/bsd/nvi/dist/catalog/german.owner
  21. +214 −0 external/bsd/nvi/dist/catalog/ru_SU.KOI8-R.base
  22. +2 −0 external/bsd/nvi/dist/catalog/ru_SU.KOI8-R.owner
  23. +309 −0 external/bsd/nvi/dist/catalog/spanish.base
  24. +19 −0 external/bsd/nvi/dist/catalog/spell.ok
  25. +307 −0 external/bsd/nvi/dist/catalog/swedish.base
  26. +1 −0 external/bsd/nvi/dist/catalog/swedish.owner
  27. +174 −0 external/bsd/nvi/dist/cl/README.signal
  28. +116 −0 external/bsd/nvi/dist/cl/cl.h
  29. +346 −0 external/bsd/nvi/dist/cl/cl_bsd.c
  30. +890 −0 external/bsd/nvi/dist/cl/cl_funcs.c
  31. +429 −0 external/bsd/nvi/dist/cl/cl_main.c
  32. +311 −0 external/bsd/nvi/dist/cl/cl_read.c
  33. +577 −0 external/bsd/nvi/dist/cl/cl_screen.c
  34. +472 −0 external/bsd/nvi/dist/cl/cl_term.c
  35. +85 −0 external/bsd/nvi/dist/clib/bsearch.c
  36. +158 −0 external/bsd/nvi/dist/clib/env.c
  37. +22 −0 external/bsd/nvi/dist/clib/gethostname.c
  38. +14 −0 external/bsd/nvi/dist/clib/iswblank.c
  39. +62 −0 external/bsd/nvi/dist/clib/memchr.c
  40. +137 −0 external/bsd/nvi/dist/clib/memset.c
  41. +129 −0 external/bsd/nvi/dist/clib/mkstemp.c
  42. +44 −0 external/bsd/nvi/dist/clib/mmap.c
  43. +45 −0 external/bsd/nvi/dist/clib/snprintf.c
  44. +62 −0 external/bsd/nvi/dist/clib/strdup.c
  45. +61 −0 external/bsd/nvi/dist/clib/strpbrk.c
  46. +83 −0 external/bsd/nvi/dist/clib/strsep.c
  47. +131 −0 external/bsd/nvi/dist/clib/strtol.c
  48. +110 −0 external/bsd/nvi/dist/clib/strtoul.c
  49. +31 −0 external/bsd/nvi/dist/clib/vsnprintf.c
  50. +607 −0 external/bsd/nvi/dist/common/api.c
  51. +29 −0 external/bsd/nvi/dist/common/args.h
  52. +109 −0 external/bsd/nvi/dist/common/common.h
  53. +406 −0 external/bsd/nvi/dist/common/conv.c
  54. +23 −0 external/bsd/nvi/dist/common/conv.h
  55. +353 −0 external/bsd/nvi/dist/common/cut.c
  56. +78 −0 external/bsd/nvi/dist/common/cut.h
  57. +158 −0 external/bsd/nvi/dist/common/delete.c
  58. +45 −0 external/bsd/nvi/dist/common/dldb.c
  59. +1,526 −0 external/bsd/nvi/dist/common/exf.c
  60. +90 −0 external/bsd/nvi/dist/common/exf.h
  61. +216 −0 external/bsd/nvi/dist/common/gs.c
  62. +212 −0 external/bsd/nvi/dist/common/gs.h
  63. +849 −0 external/bsd/nvi/dist/common/key.c
  64. +288 −0 external/bsd/nvi/dist/common/key.h
  65. +807 −0 external/bsd/nvi/dist/common/log.c
  66. +29 −0 external/bsd/nvi/dist/common/log.h
  67. +777 −0 external/bsd/nvi/dist/common/log1.c
  68. +456 −0 external/bsd/nvi/dist/common/log4.c
  69. +512 −0 external/bsd/nvi/dist/common/main.c
  70. +260 −0 external/bsd/nvi/dist/common/mark.c
  71. +43 −0 external/bsd/nvi/dist/common/mark.h
  72. +205 −0 external/bsd/nvi/dist/common/mem.h
  73. +911 −0 external/bsd/nvi/dist/common/msg.c
  74. +65 −0 external/bsd/nvi/dist/common/msg.h
  75. +65 −0 external/bsd/nvi/dist/common/multibyte.h
  76. +56 −0 external/bsd/nvi/dist/common/nothread.c
  77. +9 −0 external/bsd/nvi/dist/common/options.awk
  78. +1,158 −0 external/bsd/nvi/dist/common/options.c
  79. +101 −0 external/bsd/nvi/dist/common/options.h
  80. +325 −0 external/bsd/nvi/dist/common/options_f.c
  81. +105 −0 external/bsd/nvi/dist/common/pthread.c
  82. +227 −0 external/bsd/nvi/dist/common/put.c
  83. +851 −0 external/bsd/nvi/dist/common/recover.c
  84. +236 −0 external/bsd/nvi/dist/common/screen.c
  85. +281 −0 external/bsd/nvi/dist/common/screen.h
  86. +479 −0 external/bsd/nvi/dist/common/search.c
  87. +367 −0 external/bsd/nvi/dist/common/seq.c
  88. +44 −0 external/bsd/nvi/dist/common/seq.h
  89. +91 −0 external/bsd/nvi/dist/common/trace.c
  90. +194 −0 external/bsd/nvi/dist/common/util.c
  91. +56 −0 external/bsd/nvi/dist/common/util.h
  92. +36 −0 external/bsd/nvi/dist/common/util2.c
  93. +37 −0 external/bsd/nvi/dist/common/vi.src
  94. +808 −0 external/bsd/nvi/dist/common/vi_auto.c
  95. +40 −0 external/bsd/nvi/dist/common/vi_auto.h
  96. +835 −0 external/bsd/nvi/dist/common/vi_db.c
  97. +65 −0 external/bsd/nvi/dist/common/vi_db.h
  98. +716 −0 external/bsd/nvi/dist/common/vi_db1.c
  99. +321 −0 external/bsd/nvi/dist/common/vi_rec.c
  100. +473 −0 external/bsd/nvi/dist/dist/ExtUtils/Embed.pm
  101. +182 −0 external/bsd/nvi/dist/dist/INSTALL
  102. +427 −0 external/bsd/nvi/dist/dist/Makefile.am
  103. +99 −0 external/bsd/nvi/dist/dist/compile
  104. +1,118 −0 external/bsd/nvi/dist/dist/configure.in
  105. +411 −0 external/bsd/nvi/dist/dist/depcomp
  106. +88 −0 external/bsd/nvi/dist/dist/distrib
  107. +26 −0 external/bsd/nvi/dist/dist/export
  108. +14 −0 external/bsd/nvi/dist/dist/findconfig
  109. +2,967 −0 external/bsd/nvi/dist/dist/ltconfig
  110. +194 −0 external/bsd/nvi/dist/dist/m4/gtk.m4
  111. +283 −0 external/bsd/nvi/dist/dist/missing
  112. +40 −0 external/bsd/nvi/dist/dist/mkinstalldirs
  113. +49 −0 external/bsd/nvi/dist/dist/pathnames.h.in
  114. +199 −0 external/bsd/nvi/dist/dist/port.h.in
  115. +59 −0 external/bsd/nvi/dist/dist/recover.in
  116. +41 −0 external/bsd/nvi/dist/dist/script
  117. +58 −0 external/bsd/nvi/dist/dist/spell.ok
  118. +26 −0 external/bsd/nvi/dist/docs/README
  119. +20 −0 external/bsd/nvi/dist/docs/edit/Makefile
  120. +2,254 −0 external/bsd/nvi/dist/docs/edit/edittut.ms
  121. +33 −0 external/bsd/nvi/dist/docs/exref/Makefile
  122. +2,187 −0 external/bsd/nvi/dist/docs/exref/ex.rm
  123. +704 −0 external/bsd/nvi/dist/docs/exref/ex.summary
  124. +23 −0 external/bsd/nvi/dist/docs/vi.man/Makefile
  125. +179 −0 external/bsd/nvi/dist/docs/vi.man/spell.ok
  126. +1,608 −0 external/bsd/nvi/dist/docs/vi.man/vi.1
  127. +25 −0 external/bsd/nvi/dist/docs/vi.ref/Makefile
  128. +1,986 −0 external/bsd/nvi/dist/docs/vi.ref/ex.cmd.texi
  129. +64 −0 external/bsd/nvi/dist/docs/vi.ref/ref.texi
  130. +1,348 −0 external/bsd/nvi/dist/docs/vi.ref/set.opt.texi
  131. +414 −0 external/bsd/nvi/dist/docs/vi.ref/spell.ok
  132. +3,144 −0 external/bsd/nvi/dist/docs/vi.ref/vi.cmd.texi
  133. +1,815 −0 external/bsd/nvi/dist/docs/vi.ref/vi.texi
  134. +43 −0 external/bsd/nvi/dist/docs/vitut/Makefile
  135. +1,032 −0 external/bsd/nvi/dist/docs/vitut/vi.apwh.ms
  136. +619 −0 external/bsd/nvi/dist/docs/vitut/vi.chars
  137. +2,048 −0 external/bsd/nvi/dist/docs/vitut/vi.in
  138. +442 −0 external/bsd/nvi/dist/docs/vitut/vi.summary
  139. +6 −0 external/bsd/nvi/dist/ex/ex.awk
  140. +2,356 −0 external/bsd/nvi/dist/ex/ex.c
  141. +230 −0 external/bsd/nvi/dist/ex/ex.h
  142. +113 −0 external/bsd/nvi/dist/ex/ex_abbrev.c
  143. +268 −0 external/bsd/nvi/dist/ex/ex_append.c
  144. +331 −0 external/bsd/nvi/dist/ex/ex_args.c
  145. +751 −0 external/bsd/nvi/dist/ex/ex_argv.c
  146. +124 −0 external/bsd/nvi/dist/ex/ex_at.c
  147. +187 −0 external/bsd/nvi/dist/ex/ex_bang.c
  148. +129 −0 external/bsd/nvi/dist/ex/ex_cd.c
  149. +462 −0 external/bsd/nvi/dist/ex/ex_cmd.c
  150. +1,036 −0 external/bsd/nvi/dist/ex/ex_cscope.c
  151. +63 −0 external/bsd/nvi/dist/ex/ex_delete.c
  152. +143 −0 external/bsd/nvi/dist/ex/ex_display.c
  153. +153 −0 external/bsd/nvi/dist/ex/ex_edit.c
  154. +57 −0 external/bsd/nvi/dist/ex/ex_equal.c
  155. +81 −0 external/bsd/nvi/dist/ex/ex_file.c
  156. +317 −0 external/bsd/nvi/dist/ex/ex_filter.c
  157. +319 −0 external/bsd/nvi/dist/ex/ex_global.c
  158. +407 −0 external/bsd/nvi/dist/ex/ex_init.c
  159. +170 −0 external/bsd/nvi/dist/ex/ex_join.c
  160. +117 −0 external/bsd/nvi/dist/ex/ex_map.c
  161. +43 −0 external/bsd/nvi/dist/ex/ex_mark.c
  162. +101 −0 external/bsd/nvi/dist/ex/ex_mkexrc.c
  163. +195 −0 external/bsd/nvi/dist/ex/ex_move.c
  164. +44 −0 external/bsd/nvi/dist/ex/ex_open.c
  165. +67 −0 external/bsd/nvi/dist/ex/ex_perl.c
  166. +103 −0 external/bsd/nvi/dist/ex/ex_preserve.c
  167. +342 −0 external/bsd/nvi/dist/ex/ex_print.c
  168. +49 −0 external/bsd/nvi/dist/ex/ex_put.c
  169. +44 −0 external/bsd/nvi/dist/ex/ex_quit.c
  170. +362 −0 external/bsd/nvi/dist/ex/ex_read.c
  171. +131 −0 external/bsd/nvi/dist/ex/ex_screen.c
  172. +830 −0 external/bsd/nvi/dist/ex/ex_script.c
  173. +44 −0 external/bsd/nvi/dist/ex/ex_set.c
  174. +368 −0 external/bsd/nvi/dist/ex/ex_shell.c
  175. +185 −0 external/bsd/nvi/dist/ex/ex_shift.c
  176. +92 −0 external/bsd/nvi/dist/ex/ex_source.c
  177. +49 −0 external/bsd/nvi/dist/ex/ex_stop.c
  178. +1,448 −0 external/bsd/nvi/dist/ex/ex_subst.c
  179. +1,332 −0 external/bsd/nvi/dist/ex/ex_tag.c
  180. +78 −0 external/bsd/nvi/dist/ex/ex_tcl.c
  181. +425 −0 external/bsd/nvi/dist/ex/ex_txt.c
  182. +75 −0 external/bsd/nvi/dist/ex/ex_undo.c
  183. +190 −0 external/bsd/nvi/dist/ex/ex_usage.c
  184. +220 −0 external/bsd/nvi/dist/ex/ex_util.c
  185. +38 −0 external/bsd/nvi/dist/ex/ex_version.c
  186. +163 −0 external/bsd/nvi/dist/ex/ex_visual.c
  187. +372 −0 external/bsd/nvi/dist/ex/ex_write.c
  188. +44 −0 external/bsd/nvi/dist/ex/ex_yank.c
  189. +148 −0 external/bsd/nvi/dist/ex/ex_z.c
  190. +23 −0 external/bsd/nvi/dist/ex/script.h
  191. +109 −0 external/bsd/nvi/dist/ex/tag.h
  192. +8 −0 external/bsd/nvi/dist/gtk/gtk.h
  193. +135 −0 external/bsd/nvi/dist/gtk/gtk_main.c
  194. +104 −0 external/bsd/nvi/dist/gtk/gtkvi.c
  195. +13 −0 external/bsd/nvi/dist/gtk/gtkvi.h
  196. +764 −0 external/bsd/nvi/dist/gtk/gtkviscreen.c
  197. +76 −0 external/bsd/nvi/dist/gtk/gtkviscreen.h
  198. +690 −0 external/bsd/nvi/dist/gtk/gtkviwindow.c
  199. +43 −0 external/bsd/nvi/dist/gtk/gtkviwindow.h
  200. +520 −0 external/bsd/nvi/dist/ip/ip_funcs.c
  201. +321 −0 external/bsd/nvi/dist/ip/ip_main.c
  202. +385 −0 external/bsd/nvi/dist/ip/ip_read.c
  203. +93 −0 external/bsd/nvi/dist/ip/ip_screen.c
  204. +134 −0 external/bsd/nvi/dist/ip/ip_term.c
  205. +30 −0 external/bsd/nvi/dist/ip/vipc.pl
  206. +248 −0 external/bsd/nvi/dist/ipc/ip.h
  207. +265 −0 external/bsd/nvi/dist/ipc/ip_run.c
  208. +112 −0 external/bsd/nvi/dist/ipc/ip_send.c
  209. +207 −0 external/bsd/nvi/dist/ipc/ip_trans.c
  210. +6 −0 external/bsd/nvi/dist/ipc/ipc.awk
  211. +110 −0 external/bsd/nvi/dist/ipc/ipc_cmd.c
  212. +244 −0 external/bsd/nvi/dist/ipc/ipc_method.c
  213. +6 −0 external/bsd/nvi/dist/ipc/vipc.awk
  214. +148 −0 external/bsd/nvi/dist/motif/m_cde.c
  215. +402 −0 external/bsd/nvi/dist/motif/m_main.c
  216. +27 −0 external/bsd/nvi/dist/motif/nvi.xbm
  217. +56 −0 external/bsd/nvi/dist/motif/nvi.xpm
  218. +90 −0 external/bsd/nvi/dist/motif_l/TODO
  219. +244 −0 external/bsd/nvi/dist/motif_l/m_copypaste.c
  220. +379 −0 external/bsd/nvi/dist/motif_l/m_func.c
  221. +539 −0 external/bsd/nvi/dist/motif_l/m_menu.c
  222. +124 −0 external/bsd/nvi/dist/motif_l/m_motif.h
  223. +766 −0 external/bsd/nvi/dist/motif_l/m_options.c
  224. +80 −0 external/bsd/nvi/dist/motif_l/m_prompt.c
  225. +353 −0 external/bsd/nvi/dist/motif_l/m_ruler.c
  226. +575 −0 external/bsd/nvi/dist/motif_l/m_search.c
  227. +536 −0 external/bsd/nvi/dist/motif_l/m_tags.c
  228. +156 −0 external/bsd/nvi/dist/motif_l/m_util.c
  229. +1,441 −0 external/bsd/nvi/dist/motif_l/m_vi.c
  230. +44 −0 external/bsd/nvi/dist/motif_l/vi_mextern.h
  231. +3,155 −0 external/bsd/nvi/dist/motif_l/xtabbed.c
  232. +281 −0 external/bsd/nvi/dist/perl_api/VI.pod
  233. +43 −0 external/bsd/nvi/dist/perl_api/nviperl.pod
  234. +1,594 −0 external/bsd/nvi/dist/perl_api/perl.xs
  235. +93 −0 external/bsd/nvi/dist/perl_api/perlsfio.c
  236. +57 −0 external/bsd/nvi/dist/perl_api/typemap
  237. +10 −0 external/bsd/nvi/dist/perl_scripts/forall.pl
  238. +20 −0 external/bsd/nvi/dist/perl_scripts/make.pl
  239. +20 −0 external/bsd/nvi/dist/perl_scripts/tk.pl
  240. +11 −0 external/bsd/nvi/dist/perl_scripts/wc.pl
  241. +56 −0 external/bsd/nvi/dist/regex/COPYRIGHT
  242. +94 −0 external/bsd/nvi/dist/regex/WHATSNEW
  243. +83 −0 external/bsd/nvi/dist/regex/cclass.h
  244. +141 −0 external/bsd/nvi/dist/regex/cname.h
  245. +1,091 −0 external/bsd/nvi/dist/regex/engine.c
  246. +269 −0 external/bsd/nvi/dist/regex/re_format.7
  247. +1,641 −0 external/bsd/nvi/dist/regex/regcomp.c
  248. +178 −0 external/bsd/nvi/dist/regex/regerror.c
  249. +538 −0 external/bsd/nvi/dist/regex/regex.3
  250. +108 −0 external/bsd/nvi/dist/regex/regex.h
  251. +177 −0 external/bsd/nvi/dist/regex/regex2.h
  252. +176 −0 external/bsd/nvi/dist/regex/regexec.c
  253. +79 −0 external/bsd/nvi/dist/regex/regfree.c
  254. +57 −0 external/bsd/nvi/dist/regex/utils.h
  255. +852 −0 external/bsd/nvi/dist/tcl_api/tcl.c
  256. +44 −0 external/bsd/nvi/dist/tcl_scripts/errors.tcl
  257. +95 −0 external/bsd/nvi/dist/tcl_scripts/gnats.tcl
  258. +115 −0 external/bsd/nvi/dist/tcl_scripts/mailprocs.tcl
  259. +16 −0 external/bsd/nvi/dist/tcl_scripts/wc.tcl
  260. +222 −0 external/bsd/nvi/dist/vi/getc.c
  261. +115 −0 external/bsd/nvi/dist/vi/v_at.c
  262. +280 −0 external/bsd/nvi/dist/vi/v_ch.c
  263. +505 −0 external/bsd/nvi/dist/vi/v_cmd.c
  264. +105 −0 external/bsd/nvi/dist/vi/v_delete.c
  265. +445 −0 external/bsd/nvi/dist/vi/v_event.c
  266. +656 −0 external/bsd/nvi/dist/vi/v_ex.c
  267. +263 −0 external/bsd/nvi/dist/vi/v_increment.c
  268. +120 −0 external/bsd/nvi/dist/vi/v_init.c
  269. +515 −0 external/bsd/nvi/dist/vi/v_itxt.c
  270. +283 −0 external/bsd/nvi/dist/vi/v_left.c
  271. +246 −0 external/bsd/nvi/dist/vi/v_mark.c
  272. +168 −0 external/bsd/nvi/dist/vi/v_match.c
  273. +340 −0 external/bsd/nvi/dist/vi/v_paragraph.c
  274. +140 −0 external/bsd/nvi/dist/vi/v_put.c
  275. +37 −0 external/bsd/nvi/dist/vi/v_redraw.c
  276. +202 −0 external/bsd/nvi/dist/vi/v_replace.c
  277. +141 −0 external/bsd/nvi/dist/vi/v_right.c
  278. +63 −0 external/bsd/nvi/dist/vi/v_screen.c
  279. +447 −0 external/bsd/nvi/dist/vi/v_scroll.c
  280. +577 −0 external/bsd/nvi/dist/vi/v_search.c
  281. +250 −0 external/bsd/nvi/dist/vi/v_section.c
  282. +355 −0 external/bsd/nvi/dist/vi/v_sentence.c
  283. +39 −0 external/bsd/nvi/dist/vi/v_status.c
  284. +2,915 −0 external/bsd/nvi/dist/vi/v_txt.c
  285. +171 −0 external/bsd/nvi/dist/vi/v_ulcase.c
  286. +135 −0 external/bsd/nvi/dist/vi/v_undo.c
  287. +167 −0 external/bsd/nvi/dist/vi/v_util.c
  288. +526 −0 external/bsd/nvi/dist/vi/v_word.c
  289. +103 −0 external/bsd/nvi/dist/vi/v_xchar.c
  290. +80 −0 external/bsd/nvi/dist/vi/v_yank.c
  291. +145 −0 external/bsd/nvi/dist/vi/v_z.c
  292. +52 −0 external/bsd/nvi/dist/vi/v_zexit.c
  293. +1,268 −0 external/bsd/nvi/dist/vi/vi.c
  294. +385 −0 external/bsd/nvi/dist/vi/vi.h
  295. +540 −0 external/bsd/nvi/dist/vi/vs_line.c
  296. +904 −0 external/bsd/nvi/dist/vi/vs_msg.c
  297. +861 −0 external/bsd/nvi/dist/vi/vs_refresh.c
  298. +294 −0 external/bsd/nvi/dist/vi/vs_relative.c
  299. +1,242 −0 external/bsd/nvi/dist/vi/vs_smap.c
  300. +968 −0 external/bsd/nvi/dist/vi/vs_split.c
@@ -0,0 +1,34 @@
+Changes since 1.81.5
+ * various compilation fixes
+ * support for newer DBs
+ * tcl support compiles again
+Changes since 1.81.4
+ * add Changes document
+ * the preserve command overwrote the edited file; the problem
+ is really in DB; a bandaid was added
+ * configure changes
+ - -rpath now on by default
+ - check for iconv
+ * handle incomplete/invalid input
+ * upgrade libtool and automake
+ * Motif front-end was getting out of sync; fixed
+ * ^T works in presence of wide chars
+ * fix use of OPT_GLOBAL (YAMAMOTO Takashi <takashi.yamamoto@bigfoot.com>)
+ * missing fallback function added
+ * fix use of both leftright and number
+ (problem reported by Dima Dorfman <dima@unixfreak.org>)
+ * install everything 1.79 installed
+ * fix count argument for commands
+ (problem reported by Arfst Ludwig <Arfst.Ludwig@LHSystems.COM>)
+ * perl changes
+ - map no longer assumes its argument is the name of a perl function
+ - EXISTS for marks
+ * documentation changes
+ - vi.ref converted to texinfo
+ - vsplit documented
+Changes since 1.81.3
+ * support for newer ncurses
+ * various other wide character related changes
+ * eliminate spurious cursor movements on split screens
+ * use of gtk-1.2 allowed again
+ * small fix to Motif front-end
@@ -0,0 +1,39 @@
+/*-
+ * Id: LICENSE,v 8.17 2000/08/18 14:58:41 bostic Exp (Sleepycat) Date: 2000/08/18 14:58:41
+ */
+
+The following are the copyrights and redistribution conditions that apply
+to this copy of the Vi software.
+
+/*
+ * Copyright (c) 1991, 1992, 1993, 1994
+ * The Regents of the University of California. All rights reserved.
+ * Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ * Keith Bostic. All rights reserved.
+ * Copyright (c) 1999, 2000
+ * Sven Verdoolaege. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
@@ -0,0 +1,104 @@
+# Id: README,v 8.153 2001/04/30 09:31:12 skimo Exp (Berkeley) Date: 2001/04/30 09:31:12
+
+This is version 1.80 (%H%) of nex/nvi, a reimplementation of the ex/vi
+text editors originally distributed as part of the Fourth Berkeley
+Software Distribution (4BSD), by the University of California, Berkeley.
+
+The directory layout is as follows:
+
+ LICENSE ....... Copyright, use and redistribution information.
+ README ........ This file.
+ build.unix .... UNIX build directory.
+ catalog ....... Message catalogs; see catalog/README.
+ cl ............ Vi interface to the curses(3) library.
+ clib .......... C library replacement source code.
+ common ........ Code shared by ex and vi.
+ db ............ A stripped-down, replacement db(3) library.
+ dist .......... Various files used to build the vi distribution.
+ docs .......... Ex/vi documentation, both current and historic.
+ docs/README ... Documentation overview.
+ docs/edit ..... Edit: A tutorial.
+ docs/exref .... Ex Reference Manual -- Version 3.7.
+ docs/vi.man ... UNIX manual page for nex/nvi.
+ docs/vi.ref ... Nex/nvi reference manual.
+ docs/vitut .... An Introduction to Display Editing with Vi.
+ ex ............ Ex source code.
+ gtk ........... Vi gtk application.
+ include ....... Replacement include files.
+ ip ............ Library interface to vi: vi side.
+ ipc ........... Library interface to vi: application side.
+ motif ......... Vi motif application.
+ motif_l ....... Motif library interface to vi.
+ perl_api ...... Perl scripting language support.
+ perl_scripts .. Perl scripts.
+ regex ......... POSIX 1003.2 regular expression library.
+ tcl_api ....... Tcl scripting language support.
+ tcl_scripts ... Tcl scripts.
+ vi ............ Vi source code.
+
+To build DB for a UNIX platform:
+
+ cd build.unix
+ ../dist/configure
+ make
+
+To build multiple UNIX versions of DB in the same source tree, create
+a new directory then configure and build.
+
+ mkdir build.bsdos3.0
+ cd build.bsdos3.0
+ ../dist/configure
+ make
+
+For additional information about building DB for UNIX platforms, the
+description of possible configuration options and other information
+on DB configuration and build issues, see the file build.unix/README.
+
+Bug fixes and updated versions of this software will periodically be made
+available. For more information, as well as a list of Frequently Asked
+Questions, see:
+
+ http://www.bostic.com/vi
+
+To ask questions about vi, report vi problems, request notification of
+future releases and/or bug fixes, or to contact the authors for any
+reason, please send email to:
+
+ bostic@bostic.com
+
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+o This software is several years old and is the product of many folks' work.
+
+ This software was originally derived from software contributed to
+ the University of California, Berkeley by Steve Kirkendall, the
+ author of the vi clone elvis. Without his work, this work would
+ have been far more difficult.
+
+ IEEE POSIX 1003.2 style regular expression support is courtesy of
+ Henry Spencer, for which I am *very* grateful.
+
+ Elan Amir did the original 4BSD curses work that made it possible
+ to support a full-screen editor using curses.
+
+ George Neville-Neil added the Tcl interpreter, and the initial
+ interpreter design was his.
+
+ Sven Verdoolaege added the Perl interpreter.
+
+ Rob Mayoff provided the original Cscope support.
+
+o Many, many people suggested enhancements, and provided bug reports and
+ testing, far too many to individually thank.
+
+o From the original vi acknowledgements, by William Joy and Mark Horton:
+
+ Bruce Englar encouraged the early development of this display
+ editor. Peter Kessler helped bring sanity to version 2's
+ command layout. Bill Joy wrote versions 1 and 2.0 through 2.7,
+ and created the framework that users see in the present editor.
+ Mark Horton added macros and other features and made the editor
+ work on a large number of terminals and Unix systems.
+
+o And...
+ The financial support of UUNET Communications Services is gratefully
+ acknowledged.
@@ -0,0 +1,17 @@
+This is a development version of nvi.
+Use at your own risk.
+
+Please do not contact the original authors about bugs you
+find in this version. Contact skimo-vi@kotnet.org instead.
+
+There is no guarantee that anything in this version will be
+available in upcoming stable releases.
+
+New versions will be made available on
+http://www.kotnet.org/~skimo/nvi
+
+As always this software comes with absolutely NO WARRANTY.
+
+Now read the original README file.
+
+Sven Verdoolaege
@@ -0,0 +1,22 @@
+This version of vi requires DB3.1 or better, which can be found
+on http://www.sleepycat.com/ .
+
+Note that there is a small problem with DB 3.2 in that it will
+not let nvi read in a final line that doesn't end in a newline.
+This should be fixed in DB 3.3
+
+If your system library (such as glibc prior to version 2.2) uses a
+previous version of db (e.g. DB2) internally, you must configure with
+--enable-dynamic-loading to avoid symbols in the internally used db from
+being resolved against the newer db.
+
+If, on top of that, the vi binary is explicitly linked against that
+previous version of db (such as might happen if you enable the perl
+embedding), you should compile the 3.x version with all symbols internally
+resolved. In case you use the Gnu linker (ld), this can be accomplished
+by passing it the -Bsymbolic option. You can do this by setting CC
+to e.g. "gcc -Wl,-Bsymbolic" prior to configuring db.
+See docs/ref/build_unix/flags.html in the db distribution for more
+information.
+
+skimo@kotnet.org
@@ -0,0 +1,123 @@
+# Id: TODO,v 8.2 1997/04/12 15:53:31 bostic Exp (Berkeley) Date: 1997/04/12 15:53:31
+
+========================================================================
+GENERAL
+========================================================================
+2.0: Open mode is not yet implemented.
+
+
+========================================================================
+DB
+========================================================================
+1.N When nvi edits files that don't have trailing newlines, it appends
+ one, regardless. This is required, by default, from POSIX.2.
+
+1.N: If you run out of space in the recovery directory, the recovery
+ file is left in place.
+
+2.0: It's known that it's possible to sync the backing files in the
+ wrong manner, leaving backup files that aren't recoverable. This
+ is going to be left alone until we have a logging version of DB,
+ which will hopefully fix this (or at least make it possible to
+ easily do so).
+
+========================================================================
+VI
+========================================================================
+1.N: Make the search pattern and command history (what the '.' command
+ executes) remembered between windows, or configurable so that it
+ is.
+
+1.N: Change the screen scrolling to not eat user characters... i.e.
+ g/pattern/foo should not eat already entered chars.
+
+1.N: The vi main command loop should use the general-purpose overflow
+ and underflow routines. In addition, the vi command loop uses
+ unsigned longs -- should probably be fixed as a 32-bit unsigned
+ type, and then check to make sure it's never used as as variable
+ type again.
+
+1.N: Should "view" set a lock on the file?
+
+1.N: Should "view" copy the file (or even open a recovery file)?
+
+1.N: The strings found by searches should be highlighted until the next
+ character is entered.
+
+1.N: Display a split vi screen for the :help command.
+
+1.N: When getting a key for a continue screen, we should always read from
+ the terminal, not from a mapped key.
+
+1.N: The sentence, paragraph and section movement commands don't match
+ historic practice in some boundary cases. This should be left
+ alone until POSIX 1003.2 makes up its mind.
+
+1.N: The vs_sm_fill routine should scroll if possible, not always redraw.
+
+1.N: Think about setting a dirty/inuse bits on the lines of the SMAP
+ structure. That way the message routines could steal lines and
+ refresh would continue to work, because it would know not to touch
+ the lines that were in use.
+
+========================================================================
+EX
+========================================================================
+2.0: ^C isn't passed to the shell in the script windows as an interrupt
+ character.
+
+2.0: It would be nice to inverse video the replaced text during
+ interactive substitute.
+
+2.0: The :args command should put the current file name out in reverse
+ video. This isn't going to be easy, currently only full lines can
+ be in reverse video, not just parts.
+
+========================================================================
+CURSES
+========================================================================
+1.N In single-line screens, have to press 'q' twice when quitting out
+ of a ":set all" display.
+
+========================================================================
+MOTIF/IPC
+========================================================================
+1.N: We currently permit the user to change the lines, columns and term
+ edit options. Shouldn't that be illegal in a window interface?
+
+========================================================================
+REDESIGN
+========================================================================
+2.0: There's a serious problem with error returns -- we need to separate
+ command failure from fatal error, consistently, over the entire source
+ tree. We need to rework all of vi to have three return values:
+ 0: success
+ 1: vi error, continue
+ 2: fatal error, die
+ Right now we don't recognize fatal errors for what they are.
+
+2.0: The complete list of POSIX.1 calls that can return EINTR are:
+ wait, waitpid, sleep, dup2, close, read, write,
+ fcntl(SETLCKW) tcsetattr, tcdrain
+ The problem is that technically, any system/library call can
+ return EINTR, so, while nvi blocks (most of?) the obvious ones,
+ someone may have to do a complete pass and block signals
+ everywhere.
+
+2.0: The options hardtabs, lisp, optimize, redraw, and slowopen
+ are recognized, but not implemented.
+
+
+2.0: Field editing shouldn't be hard to add to nvi:
+
+ Field editing file template:
+ version #
+ field # row/column start row/column stop
+ label field # Label string
+ re field # Matching re string.
+ field # row/column start row/column stop
+ label field # Label string
+ re field # Matching re string.
+
+ <tab> moves to the next field
+ <bs> in column 0 moves to the previous field
Oops, something went wrong.

0 comments on commit 6f2c4ad

Please sign in to comment.