thorpej
7b3d93e318
Avoid a strict alias warning.
2002-12-06 03:24:42 +00:00
lukem
5d4973fe97
makefile delint. use NETBSDSRCDIR as appropriate
2002-09-18 14:00:33 +00:00
pooka
b09706dced
add ${MACROS} to roff call to make output paper readable
2002-08-13 20:07:31 +00:00
enami
b18af5ab05
Don't install nbcat instead of catalog files. Problem noticed by Kimio Ishii.
2002-06-18 00:08:00 +00:00
simonb
767793d996
Use an "int" instead of an "u_char" for a variable that is as a loop
...
control variable that is checked against against "<= 255".
2002-05-09 02:36:57 +00:00
fredb
01a5ccb4aa
Document a couple of missing "set" options, mostly borrowing language
...
from vi.ref, and explain how to set "escapetime" to work-around the problem
described in PR 8277. This should close PR 8277.
2002-05-02 14:20:01 +00:00
pooka
eaf1f18146
Bump to nb7 after fixing FreeBSD PR #12801 (again) in a way which hopefully
...
doesn't have adverse side-effects.
2002-04-15 08:37:04 +00:00
pooka
a68282c497
Fix FreeBSD PR #12801 in such a way that it doesn't create unfortunate
...
side-effects, like the ones described in bin/15891 and bin/16210.
patch from Sven Verdoolaege (nvi maintainer)
2002-04-15 08:31:42 +00:00
thorpej
7f192498d4
Use __RCSID() and __COPYRIGHT().
2002-04-09 01:47:30 +00:00
simonb
c9f9583821
Back out rev 1.6, per discussion with Aymeric Vincent and Antti Kantee.
...
Rev 1.6 fixes an obscure core-dump problem, but changes the long time
behaviour of cursor positioning when switching files.
"Fixes" PR bin/15891.
2002-03-25 00:13:56 +00:00
pooka
69d4c677a2
bump version to nb6 after fixing bin/15474
2002-02-11 19:52:00 +00:00
pooka
bbd559bc7a
Exit the file_init "recursion" only if we are actually already trying for
...
a second time. Checking for the plain temp filename was not enough,
as it may be set even though we are calling the function for the
first time.
fixes bin/15474 by Chuck Cranor
2002-02-09 19:33:53 +00:00
ross
2a76afae02
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:36:18 +00:00
aymeric
87c2d396bf
Fixed FreeBSD PR #12801 , the way nvi 1.81.5 did it.
...
(vi dumped core when editing a new file after having edited another one)
affects common/exf.c
2002-01-13 11:59:23 +00:00
aymeric
9000224da7
Fix FreeBSD PR #12801 , the way nvi 1.81.5 does it.
...
(vi dumped core when editing a new file after having edited another one)
2002-01-13 11:57:38 +00:00
aymeric
313d2d2f8c
cast size_t to u_long for printf(3)-like calls
...
This only affects #ifdef DEBUG code.
2002-01-07 19:22:16 +00:00
thorpej
3d561f4807
Avoid an "operation on foo may be undefined" warning (gcc 3.1).
2001-12-31 18:53:32 +00:00
aymeric
8547d02861
FreeBSD PR#23912 fixed by applying a patch from nvi 1.81.x
...
"underflow of cnt in vs_paint() by O_NUMBER_LENGTH when both leftright and
number options in use"
2001-12-13 20:53:47 +00:00
aymeric
b9d2b65ffd
Finally apply a fix from nvi 1.81.x to replace a fix committed by
...
Simon Burge which came from the Debian project.
This is still not TRT, but it's correct, and it gets us closer to future
versions of nvi.
I'll do ART (A Right Thing) when I have time... That's why I'm committing
this now. :-/
This fixes FreeBSD PR#23912
2001-12-13 20:51:36 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
blymn
76a99ffa0a
Our libcurses now has the newterm function, make vi use it.
2001-12-02 09:05:53 +00:00
wiz
aded0d2cce
Whitespace cleanup.
2001-12-01 16:43:07 +00:00
simonb
9935fdfff2
Back out previous; Aymeric Vincent is looking into a better fix.
2001-10-21 22:24:25 +00:00
simonb
e5b75269ea
Fix problem with long pauses displaying blank lines if O_LEFTRIGHT and
...
O_NUMBER both are active. Patch from Debian bug report #79768 .
2001-10-21 16:04:29 +00:00
yamt
1856278572
backout my miscommit.
...
pointed by Aymeric Vincent.
2001-10-20 22:30:31 +00:00
aymeric
41fdc533eb
bump version after fixing a bug introduced in 1.79nb2
2001-10-20 10:11:41 +00:00
aymeric
be5a16fc47
Fix a cut_line() caller not using the right value for (former) ENTIRE_LINE,
...
by defining the (newer) CUT_LINE_TO_EOL define in common/cut.h and using it
where due.
Bug reported on current-users by Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
diagnosed by Bang Jun-Young <bjy@mogua.org>,
quick-fixed by Robert Elz <kre@munnari.OZ.AU>.
2001-10-20 10:04:49 +00:00
yamt
f8835551fd
fix format string bugs.
...
pointed by Tomoaki IMAMURA in PR/14271.
2001-10-17 07:38:48 +00:00
aymeric
4fa1ec90e5
bump to nb2 after fixing PR #10367 and correcting another related bug
2001-09-09 11:04:23 +00:00
aymeric
7ac97260c6
Fix a test condition for EOF. Together with previous commit in cut.c (1.4),
...
this fixes correctly PR #10367 .
2001-09-09 11:03:02 +00:00
aymeric
b88939bbba
Define ENTIRE_LINE to be -1 instead of 0 since we may want to copy 0 characters.
...
(and use ENTIRE_LINE instead of 0 where appropriate)
This fixes a bug in the dw command with for example:
<cursor>
a b c
~
~
if you hit dw there, only the empty line would be killed but both the empty
line and the subsequent one would be pasted when asked for with P for example.
2001-09-09 11:01:09 +00:00
aymeric
8ac7d728a3
Change nvi version from 1.79 to 1.79nb1
...
This added version number will help us for future bug reports
2001-08-28 07:36:42 +00:00
aymeric
9092b7b124
Fix a bug present in nvi 1.79 where ^@ wouldn't behave as expected when
...
reading an ex command from vi.
Fixes PR#13205
2001-08-20 21:44:57 +00:00
wiz
1e378c4c12
precede, not preceed.
2001-08-20 12:00:46 +00:00
aymeric
ca334636ac
Prevent nvi from looping infinitely when it can't create a temporary file
...
because of a weird umask for example.
Make it exit instead.
This differs from the OpenBSD behaviour and is believed to be more correct.
Reported by Thomas Klausner in private e-mail, followed by a small discussion in
tech-userlevel a while ago.
2001-08-17 21:33:46 +00:00
wiz
e79bfdd1cf
command with two ms looks better.
2001-07-26 22:49:56 +00:00
kleink
5bec0209d9
Don't descend into catalog with MKSHARE=no.
2001-05-29 21:25:23 +00:00
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