Up to [local] / src / usr.bin / mg
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.80 / (download) - annotate - [select for diffs], Mon Apr 17 10:11:30 2023 UTC (13 months ago) by op
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
HEAD
Changes since 1.79: +4 -4 lines
Diff to previous 1.79 (colored)
fix a few dobeep_msgs() calls: a space is already added between the arguments ok tb@
Revision 1.79 / (download) - annotate - [select for diffs], Thu Mar 30 22:56:47 2023 UTC (13 months, 2 weeks ago) by op
Branch: MAIN
Changes since 1.78: +3 -5 lines
Diff to previous 1.78 (colored)
drop unnecessary copy of fname; ok tb@
Revision 1.78 / (download) - annotate - [select for diffs], Thu Mar 30 19:00:02 2023 UTC (13 months, 2 weeks ago) by op
Branch: MAIN
Changes since 1.77: +16 -18 lines
Diff to previous 1.77 (colored)
don't access(conffile) This removes a few access(2) calls in the configuration file handling. startupfile() now opens and return the file and to avoid surprises it also uses a caller-provided buffer to store the filename. This also removes the extra adjustpath() that load() did: it has been moved to evalfile() only. with help, fixes and ok tb@
Revision 1.77 / (download) - annotate - [select for diffs], Wed Mar 8 04:43:11 2023 UTC (14 months, 1 week ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE,
OPENBSD_7_3
Changes since 1.76: +1 -10 lines
Diff to previous 1.76 (colored)
Delete obsolete /* ARGSUSED */ lint comments. ok miod@ millert@
Revision 1.76 / (download) - annotate - [select for diffs], Mon Dec 26 19:16:02 2022 UTC (16 months, 3 weeks ago) by jmc
Branch: MAIN
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)
spelling fixes; from paul tagliamonte amendments to his diff are noted on tech
Revision 1.75 / (download) - annotate - [select for diffs], Thu May 6 14:16:12 2021 UTC (3 years ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0
Changes since 1.74: +9 -8 lines
Diff to previous 1.74 (colored)
Add the line number of an error to error messages.
Revision 1.74 / (download) - annotate - [select for diffs], Thu Mar 25 12:46:11 2021 UTC (3 years, 1 month ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE,
OPENBSD_6_9
Changes since 1.73: +18 -12 lines
Diff to previous 1.73 (colored)
Use length of line to indicate end of characters to process in foundparen(). No intended functional change. regress tests ok and they all use excline().
Revision 1.73 / (download) - annotate - [select for diffs], Sun Mar 21 12:56:16 2021 UTC (3 years, 1 month ago) by lum
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)
Add quoted strings capability in list values, no special chars detection in between them though. Add limitation to characters allowed in symbol names, equivalent to mg function names (A-Za-z-), quite restrictive but can grow of course. If value is not quoted and is not a variable, give an error.
Revision 1.72 / (download) - annotate - [select for diffs], Mon Mar 1 10:51:14 2021 UTC (3 years, 2 months ago) by lum
Branch: MAIN
Changes since 1.71: +6 -4 lines
Diff to previous 1.71 (colored)
Put the hardcoded '\n' character which is found throughout mg into a buffer specific variable. The diff should not produce any behavourial changes in mg.
Revision 1.71 / (download) - annotate - [select for diffs], Thu Jul 18 15:52:11 2019 UTC (4 years, 10 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6
Changes since 1.70: +5 -2 lines
Diff to previous 1.70 (colored)
The 'list' diff I committed this morning, was missing a couple of calls to a clean-up variable function.
Revision 1.70 / (download) - annotate - [select for diffs], Thu Jul 18 05:57:48 2019 UTC (4 years, 10 months ago) by lum
Branch: MAIN
Changes since 1.69: +3 -111 lines
Diff to previous 1.69 (colored)
Add some more basic interpreter functionality to mg. Needs a lot more work, including a proper parser.
Revision 1.69 / (download) - annotate - [select for diffs], Wed Jul 17 18:43:47 2019 UTC (4 years, 10 months ago) by lum
Branch: MAIN
Changes since 1.68: +8 -7 lines
Diff to previous 1.68 (colored)
Add BUFSIZE define.
Revision 1.68 / (download) - annotate - [select for diffs], Wed Jul 17 18:18:37 2019 UTC (4 years, 10 months ago) by lum
Branch: MAIN
Changes since 1.67: +51 -95 lines
Diff to previous 1.67 (colored)
Add two dobeep functions to make calls to the system bell require fewer lines. While working in extend.c change relevant calls to dobeep.
Revision 1.67 / (download) - annotate - [select for diffs], Thu Jul 11 18:20:18 2019 UTC (4 years, 10 months ago) by lum
Branch: MAIN
Changes since 1.66: +128 -3 lines
Diff to previous 1.66 (colored)
Allow functions that have 1 or more parameters receive and process multiple arguments when evaluated in a startup file or via one of the 'eval' commands. This diff does treat the '(' and ')' chars differently during evaluation than previously, in-so-far as they are not ignored if they are at the end or start of a line now. However, even though these characters are not ignored, this diff should not change the behaviour of an extant .mg file, with '(' and ')' chars at the end and start of a line. This situation is accomodated for in this diff (with limited testing though).
Revision 1.66 / (download) - annotate - [select for diffs], Fri Jul 5 14:50:59 2019 UTC (4 years, 10 months ago) by lum
Branch: MAIN
Changes since 1.65: +5 -3 lines
Diff to previous 1.65 (colored)
Make mg display the correct file name in the minibuffer if you load another file in a startup file (e.g via find-file), then experience another unrelated error with one of the lines being evaluated.
Revision 1.65 / (download) - annotate - [select for diffs], Sat Jun 22 15:38:15 2019 UTC (4 years, 10 months ago) by lum
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)
Tidy up the comments: 1. two spelling mistakes. 2. change references to keystrokes, same as man page (UP-low). 3. update a filename reference to reality.
Revision 1.64 / (download) - annotate - [select for diffs], Thu Sep 1 21:06:09 2016 UTC (7 years, 8 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.63: +7 -3 lines
Diff to previous 1.63 (colored)
Fix file descriptor leak Found by Coverity Scan. The ffropen() function returns FIODIR when the file is a directory. Check return value on error, in case of directory, close the descriptor. Source Joachim Nilsson, ok sunil@
Revision 1.63 / (download) - annotate - [select for diffs], Tue Sep 29 02:07:49 2015 UTC (8 years, 7 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)
Mark eread(), veread(), and eformat() as printf-like and Convert eread(buf, a2, a3, a4) to eread("%s", a2, a3, a4, buf) ok millert@ lum@
Revision 1.62 / (download) - annotate - [select for diffs], Sun Apr 12 21:42:18 2015 UTC (9 years, 1 month ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.61: +3 -1 lines
Diff to previous 1.61 (colored)
Prevent use after free in definemacro(). When the startup file contains (start-kbd-macro) mg crashes when executing "start-kbd-macro" two times in the running mg. The problem is that execline() is cleaning up behind our backs. Finish the cleanup and make sure mg doesn't think we are in the middle of a macro definition. Problem found, tracked down and diff by gsoares@ Tweaked & OK by me. Committing on request of gsoares@ who currently doesn't have good net to commit.
Revision 1.61 / (download) - annotate - [select for diffs], Tue Mar 24 22:28:10 2015 UTC (9 years, 1 month ago) by bcallah
Branch: MAIN
Changes since 1.60: +1 -9 lines
Diff to previous 1.60 (colored)
unifdef -DBINDKEY -- you can't build mg the other way. unifdef -UMOVE_STANDOUT -- we had it under an '#ifdef undef' in ttydef.h also remove those lines from ttydef.h Set linenos = TRUE instead of an odd #ifdef dance that isn't used anywhere else. ok florian@
Revision 1.60 / (download) - annotate - [select for diffs], Thu Mar 19 21:22:15 2015 UTC (9 years, 2 months ago) by bcallah
Branch: MAIN
Changes since 1.59: +11 -6 lines
Diff to previous 1.59 (colored)
Clean up the includes in mg. This does the following: Moves all POSIX headers from sysdef.h into the individual .c files so that each file now only includes what it needs. All headers are properly sorted. Moves the remainder of sysdef.h to other files (mostly def.h) and deletes sysdef.h now that it's no longer contains anything. Tweak a comment that references sysdef.h so that it no longer does that. ok florian@
Revision 1.59 / (download) - annotate - [select for diffs], Tue Mar 17 18:08:52 2015 UTC (9 years, 2 months ago) by bcallah
Branch: MAIN
Changes since 1.58: +2 -32 lines
Diff to previous 1.58 (colored)
It is impossible to build mg without both -DFKEYS and -DXKEYS. So let's enforce that and remove the options. Mostly mechanical diff from unifdef with bonus removal of comments that no longer have any relevance. ok florian@
Revision 1.58 / (download) - annotate - [select for diffs], Sat Dec 6 23:20:17 2014 UTC (9 years, 5 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.57: +1 -3 lines
Diff to previous 1.57 (colored)
A few last 'easy' #include dedups. ok tedu@
Revision 1.57 / (download) - annotate - [select for diffs], Sun Nov 16 04:16:41 2014 UTC (9 years, 6 months ago) by guenther
Branch: MAIN
Changes since 1.56: +2 -1 lines
Diff to previous 1.56 (colored)
Stop using <sys/param.h>; replace MAXPATHLEN with PATH_MAX, stop using MAX(), and pull in <limits.h> for *_MAX constants. inspired on a diff from Kamil Rytarowski (n54 (at) gmx.com) ok bcallah@
Revision 1.56 / (download) - annotate - [select for diffs], Sun Nov 16 00:59:25 2014 UTC (9 years, 6 months ago) by guenther
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)
ctype macros/functions expect unsigned char values. Note that the lgetc() macro does the cast internally like getc() does, so its return should be put an in int for the same reason. based on a diff from Kamil Rytarowski (n54 (at) gmx.com)
Revision 1.55 / (download) - annotate - [select for diffs], Wed Apr 2 20:32:00 2014 UTC (10 years, 1 month ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)
Add the '#' character as a comment character in the startup file. Include ';' and '#' into man page. ok deraadt@ phessler@
Revision 1.54 / (download) - annotate - [select for diffs], Thu Mar 20 07:47:29 2014 UTC (10 years, 2 months ago) by lum
Branch: MAIN
Changes since 1.53: +20 -1 lines
Diff to previous 1.53 (colored)
Add some missing dobeeps. ok florian@
Revision 1.53 / (download) - annotate - [select for diffs], Fri May 25 04:56:58 2012 UTC (11 years, 11 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2
Changes since 1.52: +6 -4 lines
Diff to previous 1.52 (colored)
Remove static FILE pointer used for handling files in fileio.c. Pass by reference instead. This allows the mg startup file to open other files without unexpected things happening. Discussed with Sunil Nimmagadda.
Revision 1.52 / (download) - annotate - [select for diffs], Thu Apr 12 04:47:59 2012 UTC (12 years, 1 month ago) by lum
Branch: MAIN
Changes since 1.51: +2 -17 lines
Diff to previous 1.51 (colored)
Remove the conditional directives NO_MACRO and NO_STARTUP. They have not compiled for numerous years. ok kjell@ millert@
Revision 1.51 / (download) - annotate - [select for diffs], Fri Jan 21 19:10:13 2011 UTC (13 years, 4 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)
It volates style(9), but in mg, #include"def.h" goes first. 'twas the way it was built. no binary change here. confirmed by lum@, tested by Henri Kemppainen
Revision 1.50 / (download) - annotate - [select for diffs], Sat Dec 30 14:11:06 2006 UTC (17 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)
one more 'verses'->'versus' typo in comment
Revision 1.49 / (download) - annotate - [select for diffs], Thu Dec 21 18:18:13 2006 UTC (17 years, 5 months ago) by kjell
Branch: MAIN
Changes since 1.48: +14 -9 lines
Diff to previous 1.48 (colored)
Fix a realloc-style bug (curmap = reallocmap(curmap)) in keymap repapping. spotted by theo
Revision 1.48 / (download) - annotate - [select for diffs], Tue Jul 25 08:27:09 2006 UTC (17 years, 9 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)
Add bfirstlp(), blastlp() macros, returning the first and last lines of a buffer respectively. Removes an ugly construction than necessitated "go to first line"-type comments throughout the code. No binary change
Revision 1.47 / (download) - annotate - [select for diffs], Tue Jul 25 08:22:32 2006 UTC (17 years, 9 months ago) by kjell
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)
Rename the header line of a buffer to b_headp, from the remarkably unintuitive b_linep. No binary change.
Revision 1.46 / (download) - annotate - [select for diffs], Thu Jun 1 05:34:52 2006 UTC (17 years, 11 months ago) by jason
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)
make // /~ path rewriting optional in adjustname() and use it everywhere except for the command line specified files. ok kjell,cloder
Revision 1.45 / (download) - annotate - [select for diffs], Thu Mar 30 18:32:07 2006 UTC (18 years, 1 month ago) by kjell
Branch: MAIN
Changes since 1.44: +14 -10 lines
Diff to previous 1.44 (colored)
Clean up some allocations. Remove malloc casts, and some easy malloc(A*B)->calloc changes.
Revision 1.44 / (download) - annotate - [select for diffs], Tue Dec 20 06:17:36 2005 UTC (18 years, 5 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE,
OPENBSD_3_9
Changes since 1.43: +6 -6 lines
Diff to previous 1.43 (colored)
Clean up the ugly casted frees. In one case, this meant eliminating a nasty struct/union/casting nightmare when building the list of names for filename completion. In particular, be consistent about strduping and freeing the list data.
Revision 1.43 / (download) - annotate - [select for diffs], Tue Dec 20 05:04:28 2005 UTC (18 years, 5 months ago) by kjell
Branch: MAIN
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (colored)
Do some delinting of strl-type functions. Also, remove a superfluous word in the undo-list.
Revision 1.42 / (download) - annotate - [select for diffs], Tue Dec 13 06:01:27 2005 UTC (18 years, 5 months ago) by kjell
Branch: MAIN
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored)
More name-clash delinting
Revision 1.41 / (download) - annotate - [select for diffs], Tue Dec 13 05:40:33 2005 UTC (18 years, 5 months ago) by kjell
Branch: MAIN
Changes since 1.40: +13 -13 lines
Diff to previous 1.40 (colored)
do some silly de-linting
Revision 1.40 / (download) - annotate - [select for diffs], Fri Nov 18 20:56:52 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.39: +11 -11 lines
Diff to previous 1.39 (colored)
greedy use of typedef struct was making code harder to read; ok kjell cloder
Revision 1.39 / (download) - annotate - [select for diffs], Mon Nov 7 23:49:09 2005 UTC (18 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored)
add missing ctype.h
Revision 1.38 / (download) - annotate - [select for diffs], Mon Nov 7 22:52:44 2005 UTC (18 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.37: +14 -5 lines
Diff to previous 1.37 (colored)
Allow ctrl-key patterns ("^X^C") in keybind function. Will allow more modularization of keymaps later. Also, improved error checking suggested by cloder.
Revision 1.37 / (download) - annotate - [select for diffs], Fri Oct 14 19:46:46 2005 UTC (18 years, 7 months ago) by kjell
Branch: MAIN
Changes since 1.36: +3 -1 lines
Diff to previous 1.36 (colored)
add missing /* ARGSUSED */ to quiet lint.
Revision 1.36 / (download) - annotate - [select for diffs], Fri Oct 14 15:42:17 2005 UTC (18 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)
put proto in same #ifdef as code
Revision 1.35 / (download) - annotate - [select for diffs], Tue Aug 9 00:53:48 2005 UTC (18 years, 9 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE,
OPENBSD_3_8
Changes since 1.34: +8 -6 lines
Diff to previous 1.34 (colored)
Clean up eread handling in mg. (basically, fallout from the 'enter often means abort' behaviour added during the hackathon). Eliminates redundant ereply function, fixes miscellaneous cores when aborting, and move a number of assumed pathnames into the prompt text, since they are used there anyway. All changes consistent with emacs behavior ok beck@ many, many moons ago.
Revision 1.34 / (download) - annotate - [select for diffs], Tue Jun 14 18:14:40 2005 UTC (18 years, 11 months ago) by kjell
Branch: MAIN
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored)
Add explicit public domain notices to all public domain files. ok millert@, deraadt@
Revision 1.33 / (download) - annotate - [select for diffs], Sun Apr 3 02:09:28 2005 UTC (19 years, 1 month ago) by db
Branch: MAIN
Changes since 1.32: +85 -88 lines
Diff to previous 1.32 (colored)
This is a no binary change which does: - spelling, punctuation fixes - variable declaration lineup - use parentheses for return and sizeof - K&R function declarations -> ANSI - other minor code beautification ok henning@
Revision 1.32 / (download) - annotate - [select for diffs], Thu Mar 10 16:58:57 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.31: +4 -6 lines
Diff to previous 1.31 (colored)
spacing
Revision 1.31 / (download) - annotate - [select for diffs], Thu Jul 22 01:25:25 2004 UTC (19 years, 10 months ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE,
OPENBSD_3_6
Changes since 1.30: +33 -25 lines
Diff to previous 1.30 (colored)
stage 1 of the infinite minibuffer work - add support for on the fly buffer reallocation in veread(). This commit only changes the API. All the buffers have exactly the same bounds as before for now. tested by a couple of my very helpful testers!
Revision 1.30 / (download) - annotate - [select for diffs], Mon Sep 22 23:03:07 2003 UTC (20 years, 8 months ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE,
OPENBSD_3_5
Changes since 1.29: +7 -5 lines
Diff to previous 1.29 (colored)
fix leak on realloc failure ok henning tedu
Revision 1.29 / (download) - annotate - [select for diffs], Sun Sep 15 14:48:50 2002 UTC (21 years, 8 months ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE,
OPENBSD_3_4,
OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.28: +9 -9 lines
Diff to previous 1.28 (colored)
rename realocmap to reallocmap, plus some style. ok art@
Revision 1.28 / (download) - annotate - [select for diffs], Wed Jul 3 03:47:59 2002 UTC (21 years, 10 months ago) by vincent
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)
a few missing tests for malloc()'s return value. ok art@
Revision 1.27 / (download) - annotate - [select for diffs], Mon Jul 1 14:33:44 2002 UTC (21 years, 10 months ago) by vincent
Branch: MAIN
Changes since 1.26: +2 -3 lines
Diff to previous 1.26 (colored)
KNF + ansi; from zyrnix (only the easy part of his diffs)
Revision 1.26 / (download) - annotate - [select for diffs], Fri Jun 21 05:37:20 2002 UTC (21 years, 11 months ago) by vincent
Branch: MAIN
Changes since 1.25: +6 -3 lines
Diff to previous 1.25 (colored)
fix bad usage of strlcpy()'s return value. (made pointers point beyond the boundaries of buffers) ok deraadt@
Revision 1.25 / (download) - annotate - [select for diffs], Wed May 29 12:28:45 2002 UTC (21 years, 11 months ago) by vincent
Branch: MAIN
Changes since 1.24: +5 -3 lines
Diff to previous 1.24 (colored)
show the line number in the config file when we find an error. ok art@
Revision 1.24 / (download) - annotate - [select for diffs], Mon Mar 11 13:08:51 2002 UTC (22 years, 2 months ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored)
remove errno=0 assignments, we don't need these with Hakan's code
Revision 1.23 / (download) - annotate - [select for diffs], Mon Mar 11 13:02:56 2002 UTC (22 years, 2 months ago) by vincent
Branch: MAIN
Changes since 1.22: +25 -51 lines
Diff to previous 1.22 (colored)
* Move to ANSI function definitions. * Add a whole lot of consts where I thought it made sense no ok, but no objections either...
Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 10 13:22:56 2002 UTC (22 years, 2 months ago) by ho
Branch: MAIN
Changes since 1.21: +6 -6 lines
Diff to previous 1.21 (colored)
Better long vs int. millert@ ok.
Revision 1.21 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:49 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.20: +8 -8 lines
Diff to previous 1.20 (colored)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Revision 1.20 / (download) - annotate - [select for diffs], Thu Feb 14 22:50:43 2002 UTC (22 years, 3 months ago) by vincent
Branch: MAIN
Changes since 1.19: +13 -5 lines
Diff to previous 1.19 (colored)
use strtol instead of atoi to get range checking, etc
Revision 1.19 / (download) - annotate - [select for diffs], Wed Feb 13 03:21:12 2002 UTC (22 years, 3 months ago) by vincent
Branch: MAIN
Changes since 1.18: +12 -10 lines
Diff to previous 1.18 (colored)
simplify the define_key() code to use sane functions in two separate buffer instead of hardcoding sizes. ok art@,deraadt@
Revision 1.18 / (download) - annotate - [select for diffs], Thu Jul 5 17:36:05 2001 UTC (22 years, 10 months ago) by matthieu
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)
Fix a seg fault when an init file can't be read
Revision 1.17 / (download) - annotate - [select for diffs], Thu May 24 10:43:17 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.16: +6 -5 lines
Diff to previous 1.16 (colored)
Make the keymap/mode table growable in runtime.
Revision 1.16 / (download) - annotate - [select for diffs], Thu May 24 09:47:33 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)
Break out function -> name mappings to an own file. Add a possibility to dynamically extend the function table.
Revision 1.15 / (download) - annotate - [select for diffs], Thu May 24 03:05:22 2001 UTC (23 years ago) by mickey
Branch: MAIN
Changes since 1.14: +31 -31 lines
Diff to previous 1.14 (colored)
spaces
Revision 1.14 / (download) - annotate - [select for diffs], Wed May 23 23:29:47 2001 UTC (23 years ago) by mickey
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)
cinfo is const, keyname() and findbind() take buffer size to use strlcpy vs cpy+len
Revision 1.13 / (download) - annotate - [select for diffs], Wed May 23 22:36:13 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.12: +10 -9 lines
Diff to previous 1.12 (colored)
Get rid of unnecessary casts of NULL.
Revision 1.12 / (download) - annotate - [select for diffs], Wed May 23 22:20:35 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.11: +9 -9 lines
Diff to previous 1.11 (colored)
remove VOID. We're way beyond the point where this could build with an ancient compiler.
Revision 1.11 / (download) - annotate - [select for diffs], Wed May 23 22:12:10 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)
Use 'fundamental_map' where 'map_table[0].p_map' or 'name_map("fundamental")' were used.
Revision 1.10 / (download) - annotate - [select for diffs], Wed May 23 20:57:54 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.9: +5 -7 lines
Diff to previous 1.9 (colored)
There is no need to use name_mode when all we use from the mode is the map. name_map gives us what we want.
Revision 1.9 / (download) - annotate - [select for diffs], Wed May 23 20:42:46 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.8: +6 -1 lines
Diff to previous 1.8 (colored)
Deal with another strangeness caused by the abuse of the global ele variable.
Revision 1.8 / (download) - annotate - [select for diffs], Wed May 23 20:19:44 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.7: +6 -9 lines
Diff to previous 1.7 (colored)
Add an argument to doscan which is a pointer to a KEYMAP pointer. If that argument is not NULL, we set it to the k_prefmap of the pressed key if there is one. This is what most of the users of doscan did anyway, but they did it through leaked global state.
Revision 1.7 / (download) - annotate - [select for diffs], Wed May 23 16:13:59 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.6: +18 -18 lines
Diff to previous 1.6 (colored)
Get rid of 'prefix' and use NULL instead.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 29 01:58:07 2001 UTC (23 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE,
OPENBSD_2_9
Changes since 1.5: +2 -0 lines
Diff to previous 1.5 (colored)
$OpenBSD$
Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 1 14:59:08 2000 UTC (23 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE,
OPENBSD_2_8
Changes since 1.4: +186 -180 lines
Diff to previous 1.4 (colored)
More -Wall anmd KNF, from op2@tomahawk.SQUiSH.org
Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 13 06:12:14 2000 UTC (24 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE,
OPENBSD_2_7
Changes since 1.3: +599 -490 lines
Diff to previous 1.3 (colored)
The start of KNF + -Wall. The code has been run through indent but needs hand fixup. I stopped at keymap.c...
Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 27 16:10:19 2000 UTC (24 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.2: +39 -0 lines
Diff to previous 1.2 (colored)
Move dobindkey() into extend.c where it belongs.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 25 19:13:21 2000 UTC (24 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +0 -1 lines
Diff to previous 1.1 (colored)
further pruning
Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 25 19:08:47 2000 UTC (24 years, 2 months ago) by deraadt
Branch: MAIN
initial import of mg2a