Commit Graph

128 Commits

Author SHA1 Message Date
aymeric edd9c529d0 Do the right thing when displaying an empty screen line when the corresponding
file line is not empty itself.

This fixes PR 4113 by Luke Mewburn.
2001-05-13 17:07:31 +00:00
aymeric 213eba5e28 Make a TRACE statement work. (mustn't have been turned on for a while! ;-)
Swap xp and yp in the arg types declaration section of vs_line() to match
prototype.
2001-05-13 16:59:58 +00:00
aymeric 48c52c6884 ERR -> SYSERR when recdir does not exist.
This results in a more useful message for the user.
2001-05-13 12:03:00 +00:00
simonb 7b6081672a If a function takes two string arguments and a printf-type printing
function uses both those arguments, then why don't we use two "%s"s
in the printf-style format string too?
2001-05-04 14:45:08 +00:00
windsor 28090d7359 recent addition of -Wall to Makefile broke the build on some arch
remove warnings on /sparc (through typecasting)
2001-05-02 21:15:19 +00:00
aymeric 7141c87f89 enable most warnings (but -Wparentheses) 2001-05-01 16:48:43 +00:00
aymeric 52117b75a3 shutup most (non-intrusive) gcc warnings 2001-05-01 16:46:11 +00:00
aymeric c064cd03c3 Now, ^C behaves just like <ESC> (but for the ``Interrupt'' message).
It is consistent with what Solaris' vi and vim do.
This addresses PR #11544 by pooka.
2001-04-30 21:34:12 +00:00
aymeric dde94d05ee recurse into recover on make install 2001-04-11 21:01:44 +00:00
aymeric 74adae64cc be quiet 2001-04-11 21:00:21 +00:00
aymeric a8c2195ffe new file. Installs virecover into /usr/libexec 2001-04-11 21:00:20 +00:00
aymeric 007a350263 move recover.script to virecover 2001-04-11 20:24:17 +00:00
itojun d865d95add the build target is "realall" not "all". it will make "make dependall" happier. 2001-03-31 14:11:12 +00:00
itojun 20383a34e1 correct catalog generation, to cope with objdir right. 2001-03-31 13:58:56 +00:00
itojun 4bca1d701f catalogs are installed by ../catalog/Makefile. 2001-03-31 13:48:31 +00:00
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