Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-03-20 | if we're in visual mode reading a command, check the termination value | Peter Valchev | |
of v_tcmd() and bail if it's not TERM_OK as opposed to in a more specific case. this is based on the NetBSD ^C fix but after discussion with otto@. while it did not affect the specific crash it is more correct. | |||
2006-03-15 | Handle ^C correctly, morph it to escape key so the input | Peter Valchev | |
is correctly finished for a potential replay; if not, simply bail out and notify that something wrong occurs. Callers will cope. Consistent with what vim and Solaris vi do. Fixes a crash described in NetBSD PR11544, fixed by aymeric ok otto ray | |||
2006-03-11 | Fixes the `optindx' might be used uninitialized in this function | Ray Lai | |
warning, fixes a spacing nit in a macro, and cleans up a very bad preprocessor abuse (``if LF_ISSET(OS_DEF)''!) optindx turns out to be the index number of the gigantic option list at the beginning of the file. All we need to do is set it before every ``goto err''. The first four are global options, which you can just set optindx to the second argument of o_set(). The last one is in a loop that uses cnt as the index. Since that is cnt's only use, I just removed cnt and used optindx instead. optindx is always updated and we use one less variable. ok miod, otto | |||
2006-03-11 | Silence 2 warnings. | Ray Lai | |
ok miod, otto | |||
2006-03-11 | Silence 39 warnings. | Ray Lai | |
ok miod, otto | |||
2006-03-11 | Silence uninitialized variable warning. | Ray Lai | |
ok miod, otto | |||
2006-03-11 | Make FLUSH macro more function-like, so there are no hidden surprises. | Ray Lai | |
No binary change. ok miod, otto | |||
2006-03-11 | Initialize p to NULL to prevent gcc warning. | Ray Lai | |
Clarify a for statement. ok miod, otto | |||
2006-03-04 | the the | Miod Vallat | |
2006-02-17 | Fix use after free. Problem hunted down by wilfried@; ok fgsch@ | Otto Moerbeek | |
millert@ | |||
2006-01-08 | Remove unused NADD_USLONG macro, and remove unused sp argument from NADD_SLONG; | Miod Vallat | |
no functional change. From Ray Lai. | |||
2006-01-08 | Fix one more uninitialized variable scenario; from Ray Lai. | Miod Vallat | |
2006-01-08 | Make sure we can exit from a loop in v_key_init() regardless of the locale | Miod Vallat | |
we're in; from Ray Lai. | |||
2006-01-08 | Appease gcc 3 and the C gods by fixing a couple of undefined statements; | Miod Vallat | |
from Ray Lai. | |||
2006-01-08 | Explicit braces around macro fields and logical operations, gets rid of 148 | Miod Vallat | |
warnings, no functional change. From Ray Lai. | |||
2005-10-17 | Use queue macros instead of directly accessing fields. ok pat@ "put it | Otto Moerbeek | |
in" deraadt@ | |||
2005-04-21 | spelling typo in comment; | Jason McIntyre | |
from ray; | |||
2005-04-21 | Avoid the "tcsetattr: Interrupted system call" fatal error when | Otto Moerbeek | |
resizing using a window manager that continously sends resize events. ok camield@ miod@ | |||
2005-03-10 | -v description comes before -w; | Jason McIntyre | |
also a sentence tweak; | |||
2005-01-09 | tidy up FAST STARTUP; | Jason McIntyre | |
2005-01-09 | better example; | Jason McIntyre | |
2005-01-09 | better section reference; | Jason McIntyre | |
2005-01-08 | Fix for FreeBSD PR#12801 from Sven Verdoolaege (nvi maintainer) via FreeBSD | Peter Valchev | |
(an infinite loop at certain case when options "comment" and "leftright" are used) | |||
2005-01-08 | Move a line of code which was "obviously" misplaced. | Peter Valchev | |
This fixes a core dump when auto-completing filenames and at least one of the file names is larger than the screen width. from NetBSD PR and fix by Peter Bex in PR#28382 | |||
2005-01-08 | When an error occurs in v_txt(), leave input mode too. | Peter Valchev | |
Otherwise, (among other things) db_get() thinks it can re-use the TEXT buffers when it's not true, leading to a crash because that TEXT buffer will be released just before it is actually used to create a new one. From NetBSD, fixes NetBSD PR#21797. | |||
2005-01-08 | move the license into the body of the man page; | Jason McIntyre | |
ok millert@ | |||
2005-01-07 | Remove line in copyright declaration that conflicts with the LICENSE file. | Todd C. Miller | |
OK bostic@sleepycat.com | |||
2004-11-29 | lowercase for consistency; | Jason McIntyre | |
from josh weber; ok millert@ | |||
2004-11-29 | Spell precede correctly. | Jonathan Gray | |
'looks fine' millert@, krw@. ok jmc@ | |||
2004-10-04 | refer to re_format.7 rather than egrep.1 for a description of EREs; | Jason McIntyre | |
2004-04-09 | ex is not a screen editor; | Jason McIntyre | |
2004-03-19 | clarify -c; | Jason McIntyre | |
from Vincent Aymeric (NetBSD PR 24676); ok millert@ | |||
2004-02-20 | add `ruler' to the list of helpful options; | Jason McIntyre | |
suggested by millert@ | |||
2004-02-20 | add section on helpful ex options; | Jason McIntyre | |
suggested by and ok millert@ | |||
2004-02-20 | cleanup of 6.2: Options, set, and editor startup files | Jason McIntyre | |
- remove options we don't support - correct default values - nicer formatting of table - remove reference to edit | |||
2004-02-09 | point people to ex tutorial; | Jason McIntyre | |
2004-02-09 | install edit usd; | Jason McIntyre | |
this has been updated/reworded to work as an ex tutorial; as usual, much help and patience (and ok) millert@ | |||
2004-01-30 | use paper.txt, rather than some arbitrary target; | Jason McIntyre | |
plus some cleanup; | |||
2004-01-30 | point people to 13.ex, and remove some unnecessarys from SEE ALSO; | Jason McIntyre | |
2004-01-30 | install exref; includes updates to sync with current behaviour; | Jason McIntyre | |
fixes, help, and ok millert@ | |||
2004-01-25 | install all the catalogs; as cvs forgot to check this file in when those ↵ | Michael Shalayeff | |
were added; millert@ ok | |||
2004-01-24 | oops. no need for vitut comment; | Jason McIntyre | |
2004-01-24 | install vi tutorial docs; these have been updated to reflect reality; | Jason McIntyre | |
help and ok millert@ | |||
2004-01-24 | document how file recovery works on OBSD; | Jason McIntyre | |
ok millert@ | |||
2004-01-24 | make vi reference card and vi tutorial easier to find; | Jason McIntyre | |
use -compact for FILES; | |||
2004-01-16 | - point people to vi.ref now that it's installed (and get its name right); | Jason McIntyre | |
- correct a path and Nm; | |||
2004-01-15 | return documented lines option to original (default) value; | Jason McIntyre | |
as pointed out by millert@, it's terminal dependent; | |||
2004-01-15 | update vi.ref to reflect reality; | Jason McIntyre | |
help and ok millert@ | |||
2004-01-14 | Comment out reference to index.so when we are building index.so itself. | Todd C. Miller | |
With changes by jmc@ | |||
2004-01-12 | Install vi.ref in /usr/share/doc/usd (directories already exist for it). | Todd C. Miller | |
OK jmc@ |