Commit Graph

16 Commits

Author SHA1 Message Date
mrg 084c052803 quell GCC 4.1 uninitialised variable warnings.
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00
rtr 739b734996 the preceeding loop does not terminate except in a condition where
kp != NULL therefore testing if kp is == NULL after it is pointless
coverity 2446 / run 6
2006-03-19 06:10:22 +00:00
aymeric a3c4465703 Fix the RCSID's to be $NetBSD$ instead of $NetBSD 2005-02-12 12:53:22 +00:00
aymeric 400171c34b . don't call newterm() more than once; use setterm() and resizeterm() instead
on subsequent calls. Newterm() would fail after a few calls, leading to vi
  exiting with a "ex/vi: error initializing terminal" message
. if tcsetattr() fails due to EINTR, ignore it

Fixes PR #25849
2004-06-13 10:15:55 +00:00
thorpej 7f192498d4 Use __RCSID() and __COPYRIGHT(). 2002-04-09 01:47:30 +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 52117b75a3 shutup most (non-intrusive) gcc warnings 2001-05-01 16:46:11 +00:00
aymeric 414f14c52d merge changes after import of nvi 1.79 2001-03-31 11:37:44 +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
lukem 88d3d7c59e update after change to return value of tputs() third argument 1999-10-04 23:26:59 +00:00
abs a9088d9da4 Warn if TERM environment variable not set (but still continue as normal) 1999-02-19 21:25:02 +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
mrg 9113251c61 import of nvi 1.66 1996-05-20 01:53:18 +00:00