Commit Graph

16 Commits

Author SHA1 Message Date
christos
55e651517c one more printf like function, and fix the lossage. 2009-11-14 23:40:11 +00:00
aymeric
7963ec5bf2 . adding STRCHR variants to common/multibyte.h for the benefit of
. making #+ and #- work again in vi/v_increment.c
2009-08-11 21:28:02 +00:00
aymeric
b8018f6743 in v_ecl(), copy the converter from the shadow screen initialized in
v_ecl_init(), so that history can be displayed and edited.

Which means, :ESC works again.
2009-08-11 21:24:49 +00:00
lukem
ddff3f7108 Rename "expandtabs" to "expandtab" to match documentation (and vim,
where I got the idea from).
Actually implement the "et" abbreviation for expandtab.
2009-08-07 16:19:53 +00:00
tnozaki
41a9bd5969 fix reliability issue.
if wcwidth(3) return -1, nvi may crash by memory fault.
2009-04-19 02:28:19 +00:00
jld
09d4e48298 Make vi's '@' command work again; a precedence warning fix in r1.2 added
parens in the wrong place such that '@' did nothing.  Needs pullup to -5.

Reported by Ed Ravin; fixes PR 41134.
2009-04-04 01:13:42 +00:00
lukem
cadac39416 fix -Wsign-compare issues 2009-01-18 03:43:45 +00:00
christos
45220987b8 PR/40414: Peter Bex: nvi abort()s in autoindent/autoindent differs from
historical vi
2009-01-16 15:05:55 +00:00
lukem
534002bc26 Implement "expandtab" option:
expandtab, et [off]
          Prevent the use of <tab> characters in leading whitespace when
          shifting text, autoindenting, indenting with <control-T>, or
          outdenting with <control-D>.
2008-12-12 22:55:55 +00:00
christos
2b08d9050e uninitialized variable. 2008-12-06 23:18:36 +00:00
christos
ba7207e4b2 WARNS=4 2008-12-05 22:51:42 +00:00
christos
a987b491ab put back gtagsmode (untested) apb should test. 2008-10-29 17:50:49 +00:00
christos
9766bcabdc put back matchchars 2008-10-01 21:20:09 +00:00
christos
c041c3f557 Fix non-wide build botches. 2008-08-27 10:18:41 +00:00
aymeric
96bc64d20f Re-import nvi sources, this time based on the distributed tar ball, after
going through the new nvi2netbsd script
2008-05-18 14:29:31 +00:00
aymeric
4d6922cd09 import nvi 1.81.6 verbatim, untouched from the git tree 2008-05-16 18:03:01 +00:00