Commit Graph

163 Commits

Author SHA1 Message Date
aymeric 36abaeee9b do install the catalogs 2001-03-31 12:13:34 +00:00
aymeric f5e91454a2 we generate catalogs properly and don't need them here 2001-03-31 11:58:43 +00:00
aymeric 5c5a144ecd remove obsolete files after import of nvi 1.79 2001-03-31 11:52:31 +00:00
aymeric 414f14c52d merge changes after import of nvi 1.79 2001-03-31 11:37:44 +00:00
aymeric fbbf6b5ed8 import of nvi 1.79 2001-03-31 11:29:43 +00:00
simonb 750247d6a3 Pull in a patch from nvi 1.79 for when the repainting code messes up.
Fixes those annoying "Error: move: l(4294967295) c(0) o(0)" core dumps.
2001-03-21 03:19:35 +00:00
lukem 5e5d0ac822 remove local version of sys/queue.h; it doesn't have some of the newer
macros (SLIST_* for example), and this breaks compilation of vi when
system header files use these newer macros
2001-03-19 20:49:20 +00:00
thorpej 7d60447ce7 Undo rev. 1.2 -- not like it'll do much good -- seems like there is
no code that checks HAVE_MMAP!
2001-01-29 00:24:24 +00:00
itojun 64a16b4f7e ru_SU locales are deprecated, ru_RU is now correct one.
rename LC_CTYPE locale declarations and vi message catalog.

From: Oleg Polyanski <luke@jetinf.com>
2001-01-22 17:48:15 +00:00
aymeric 0ec35fe298 Don't dump core when a ``bad address'' error occurs and there is neither
a file nor a command underlying it.
This fixes PR #11543.
2001-01-14 02:22:29 +00:00
lukem c2b84904ae use %ll_ instead of the less standard %q_ 2001-01-04 23:05:54 +00:00
aymeric 7d37aa5213 tagp[rev] -> tagpr[ev]
(tagp abbreviates tagpop)
2000-12-01 09:52:33 +00:00
christos 96205496e0 define HAVE_CURSES_NEWTERM for __linux__ 2000-11-05 20:07:23 +00:00
tv 17b67bd091 Fix %l[du] formats that have int arguments on ILP32; might break LP64. 2000-10-18 01:42:05 +00:00
thorpej ec185ae25b Fix a format string goof. 2000-10-11 19:28:43 +00:00
is 135600f947 More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
aymeric a803656ec6 Correct behavior of options octal, print and noprint
This fixes PR #6800
2000-06-19 20:09:37 +00:00
jdc 4a3a422fde Handle xterm's alternate screen when entering or leaving ex mode, e.g.
":!ls", so that the screen is not changed before the "Press any key"
message.  Taken from v1.79.
2000-05-31 19:49:23 +00:00
matt dcdb0fd9c8 size_t != int on alpha. 2000-05-31 05:08:55 +00:00
blymn ca6d43bec7 Change vi to use new termcap interface, prevents buffer overflow in
termcap handling.
2000-05-30 11:50:47 +00:00
jdc 53a2fa3d50 We no longer meet nvi's interpretation of 'HAVE_BSD_CURSES', so comment this. 2000-05-25 06:47:53 +00:00
christos aab07b7582 Don't depend on BSD regexec extensions (REG_STARTEND)
Emulate it if it is not defined.
2000-03-17 02:23:17 +00:00
christos 32d43c9cf0 Make this work on SVR4 systems. 2000-03-17 02:22:27 +00:00
soren 89c5a767f8 Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
chopps 13232a2f19 Don't restore the tag file name's trailing '/' until after the length
is taken.  This fixes relative paths in tags files.
1999-11-22 05:53:58 +00:00
lukem 88d3d7c59e update after change to return value of tputs() third argument 1999-10-04 23:26:59 +00:00
dean 448aa67f43 Fix for PR 5108 - vi gets SEGV after SIGHUP. 1999-07-08 06:09:04 +00:00
drochner a9f5848448 our curses has some more functions now 1999-04-17 17:48:23 +00:00
abs a9088d9da4 Warn if TERM environment variable not set (but still continue as normal) 1999-02-19 21:25:02 +00:00
hubertf 56f2d188fc RCS ID police 1999-02-15 04:54:34 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
abs 27134b4a8f Add Gtags support from shigio@wafu.netgate.net (PR 5978). Gtags are produced
by global (http://wafu.netgate.net/tama/unix/global.html)
1999-01-08 06:16:54 +00:00
lukem 9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
mycroft af26acbc65 const poisoning. 1998-07-26 23:14:40 +00:00
mrg 32f519716b - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00
jtc 9a0063c6d6 Simply include -lcurses instead of -lcurses -ltermcap 1998-02-18 22:47:41 +00:00
perry c9eb40b69e Commit a fix to the problem that nvi was reporting a completely silly
error message when TERM is not set. This might or might not be a
reasonable permanent fix -- I'm waiting to hear back from Keith Bostic.

Problem was reported in pr-3816 by Erik Fair.
1998-01-10 23:04:11 +00:00
perry 3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
lukem 3e8e744696 getopt returns -1 not EOF 1997-11-01 06:49:14 +00:00
lukem 8ba07ab0b3 use CPPFLAGS instead of CFLAGS 1997-10-24 09:00:17 +00:00
lukem eedec19935 WARNS=0 in 3rd party code (for now) 1997-10-20 03:03:45 +00:00
hubertf 171499408a Fix a few minor formatting problems by inserting spaces. 1997-10-03 01:23:30 +00:00
hubertf 0be33fb678 -msU -> -ms
closes PR misc/4203 by Jim Wise <jimw@fornost.turner.com>
1997-10-03 01:22:13 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr 012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
mikel bfba04e072 be a bit more careful about removing TAGQ from CIRCLEQ; from Ross
Harvey in PR bin/3489.
1997-04-15 05:39:46 +00:00
mycroft 0d07ddd923 Set FILESDIR correctly. 1997-03-27 08:59:22 +00:00
christos 3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
mouse ee6a5b2cd6 alternate -> alternative, per PR 2643 1997-03-08 14:24:19 +00:00
mikel 00702536b8 eliminate absent directories from .PATH; PR bin/3154 1997-01-30 07:29:11 +00:00
thorpej 150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
mrg c9e514192e look for USD.doc in the right place. 1996-06-23 05:59:51 +00:00
mrg adc186a9c0 delete this file ONCE MORE. SIGH! 1996-06-23 05:51:30 +00:00
mrg 922d5cf939 delete these files ONCE MORE. SIGH! 1996-06-23 05:48:55 +00:00
mrg 050b6cd211 pull in core-dump fix from bostic (part of nvi 1.67) 1996-06-10 12:39:47 +00:00
mrg 2a28f67a41 make "ex -s" work. massaged by bostic from pr#2518 1996-06-10 12:37:00 +00:00
mrg 19b430625c fix bug in wrapsearch/command line args. from bostic. 1996-06-10 12:28:53 +00:00
mrg 988867d90a we use /usr/sbin/sendmail 1996-06-02 04:53:40 +00:00
mrg 60b63d67e8 we do not want generated files. 1996-06-02 04:46:12 +00:00
mrg 89b7050608 oops, forgot to remove this. 1996-06-02 04:41:52 +00:00
pk 9ea738a4b4 Install `catalog' files into ${DESTDIR}. 1996-05-26 22:57:49 +00:00
mrg e8f046f42e patch from keith; fixes a core dump. 1996-05-21 22:52:06 +00:00
mrg cb6b56f884 oops, this got missed in the import somehow. 1996-05-20 18:45:49 +00:00
mrg 095b103c63 these files are either deleted (in nvi) or not necessary 1996-05-20 09:02:48 +00:00
mrg aa26de9899 disable mmap(). 1996-05-20 06:23:31 +00:00
mrg c5a3d99868 don't need these. 1996-05-20 05:25:19 +00:00
mrg 7195e9a699 don't create /usr/share/vi/catalog here 1996-05-20 05:01:36 +00:00
cgd 90d6b3a054 a better (more careful) fix for problem fixed by rev 1.9 (the
rolled-forward patch to fix a 'comparison can never be true due to
limited range...' compiler warning).
1996-05-20 04:49:48 +00:00
mrg 3c0a0f8698 merge in fix lost in upgrade. 1996-05-20 04:31:56 +00:00
mrg 12cc64d022 merge in nvi 1.66 1996-05-20 03:47:00 +00:00
mrg 490196e2bb import of nvi 1.66 1996-05-20 02:01:36 +00:00
mrg a6b8efa9e3 import of nvi 1.66 1996-05-20 02:00:50 +00:00
mrg 9113251c61 import of nvi 1.66 1996-05-20 01:53:18 +00:00
jtc aa84d55d99 environmental -> environment 1995-12-05 02:55:55 +00:00
jtc 67e1e27795 Changed recovery email message to refer to ex and vi instead of nex and nvi. 1995-06-23 02:07:16 +00:00
cgd 5d7f8262d4 cast a few pointers to clean up warnings. Bostic said that this
should be fixed differently, when i pointed it out to him a while ago,
but was planning to completely rework the code for a later version so
didn't bother.
1995-04-24 07:42:19 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
cgd 2e93fae74d use the correct-sized type for lno. 1994-12-24 17:12:42 +00:00
mycroft 325dcf0dd9 Install the included files, too. 1994-09-19 05:14:25 +00:00
mycroft 181f38d7da Install the documentation. 1994-09-19 05:13:35 +00:00
cgd ae32286b2a don't forget manual page links. 1994-08-30 17:12:59 +00:00
mycroft b3f60e273e Correct path to sendmail. 1994-08-29 03:32:58 +00:00
cgd eb7eaeab05 clean up import. 1994-08-17 20:12:00 +00:00
mycroft 2fa6fe01b2 Clean up deleted files. 1994-08-17 20:11:58 +00:00
cgd e70d2c8c54 clean up import. 1994-08-17 20:11:51 +00:00
cgd 7a6c14ee39 new public version of nvi 1994-08-17 19:48:17 +00:00
cgd ba92461eed new public version of nvi 1994-08-17 19:19:35 +00:00
cgd c0304c0e6d minor adjustment 1994-08-17 17:17:02 +00:00
cgd 0870ee7aa2 use PROG rather than nvi 1994-08-17 17:15:14 +00:00
cgd fe9e75cac5 vi not nvi, etc., build man page normally, and get BINDIR 1994-08-17 17:05:16 +00:00
cgd 205dce15be clean up import. still have to hack some things. 1994-08-17 16:37:43 +00:00
mycroft 91df34d72c Clean up deleted files. 1994-08-17 16:37:42 +00:00
cgd e38fcdcd5e clean up import. still have to hack some things. 1994-08-17 16:35:35 +00:00
mycroft 81ed3f9566 Clean up deleted files. 1994-08-17 16:35:24 +00:00
cgd acee4f838a clean up import. still have to hack some things. 1994-08-17 16:35:15 +00:00
cgd 1588279d5e new public version of nvi 1994-08-17 16:17:19 +00:00
cgd 117a397c4b don't core when a delete comes after a number. from bostic 1994-03-30 01:31:50 +00:00
cgd 0e8fd740e8 nvi 1.11(beta) from bostic. reconcile conflicts/kill rcsids. 1994-03-28 04:31:54 +00:00
mycroft 74a26e6971 Clean up deleted files. 1994-03-28 04:31:51 +00:00
cgd 33f08a621d nvi 1.11(beta) from bostic. reconcile conflicts/kill rcsids. 1994-03-28 04:28:20 +00:00