Up to [local] / src / usr.bin / mg
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.35 / (download) - annotate - [select for diffs], Thu Jul 18 05:57:48 2019 UTC (4 years, 10 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
HEAD
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)
Add some more basic interpreter functionality to mg. Needs a lot more work, including a proper parser.
Revision 1.34 / (download) - annotate - [selected], Mon Jun 10 06:52:44 2019 UTC (5 years ago) by lum
Branch: MAIN
Changes since 1.33: +7 -1 lines
Diff to previous 1.33 (colored)
Allow mg to log its internal status to a file. At the moment it only logs line information like front and back pointers in the linked list, how many characters are used and where the cursor is placed in the file. With this diff logging is not switched on by default and has to compiled into mg. -DMGLOG has to be added to the Makefile: CFLAGS+=-Wall -DREGEX -DMGLOG And the comment character removed from: #SRCS+= log.c ok bcallah@
Revision 1.33 / (download) - annotate - [select for diffs], Fri Sep 16 17:17:40 2016 UTC (7 years, 8 months ago) by tedu
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.32: +2 -2 lines
Diff to previous 1.32 (colored) to selected 1.34 (colored)
like the sparc port, ancient wisdom is ancient. consign to the archives. ok beck
Revision 1.32 / (download) - annotate - [select for diffs], Sun Sep 11 15:03:33 2016 UTC (7 years, 9 months ago) by natano
Branch: MAIN
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored) to selected 1.34 (colored)
Install mg tutorial with correct permissions. ok deraadt
Revision 1.31 / (download) - annotate - [select for diffs], Tue Sep 29 03:50:58 2015 UTC (8 years, 8 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored) to selected 1.34 (colored)
rename random.c to util.c so it doesn't look scary. (util.c repo copied) ok deraadt guenther
Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 17 18:08:52 2015 UTC (9 years, 2 months ago) by bcallah
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.29: +3 -6 lines
Diff to previous 1.29 (colored) to selected 1.34 (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.29 / (download) - annotate - [select for diffs], Mon Jan 5 21:45:10 2015 UTC (9 years, 5 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.34 (colored)
As pointed out by Kaspars Bankovskis on tech@, there is no ifdef for STARTUP.
Revision 1.28 / (download) - annotate - [select for diffs], Fri May 31 18:03:43 2013 UTC (11 years ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.34 (colored)
Make the system bell toggleable via 'audible-bell', and if switched off, make available an alternative 'visible-bell'. ok florian@ jasper@ Feedback Sunil Nimmagadda.
Revision 1.27 / (download) - annotate - [select for diffs], Mon Jun 18 07:13:26 2012 UTC (11 years, 11 months ago) by jasper
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.34 (colored)
- explicitly use DOCMODE instead of NONBINMODE ok lum@
Revision 1.26 / (download) - annotate - [select for diffs], Thu Jun 7 15:15:04 2012 UTC (12 years ago) by lum
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.34 (colored)
Add some cscope support to mg. From Sunil Nimmagadda. Due to some structural limitations in mg, mg doesn't behave exactly the same as emacs cscope (see the README) but is still very usable. man page bits reviewed by jmc@, otherwise tested and reviewed by myself.
Revision 1.25 / (download) - annotate - [select for diffs], Mon Nov 28 04:41:39 2011 UTC (12 years, 6 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE,
OPENBSD_5_1
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored) to selected 1.34 (colored)
Add some ctags support to mg. From Sunil Nimmagadda. Man page review and suggestions from jmc@ Revewied and tested by myself, and ok deraadt@
Revision 1.24 / (download) - annotate - [select for diffs], Wed Feb 2 05:21:36 2011 UTC (13 years, 4 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9
Changes since 1.23: +6 -1 lines
Diff to previous 1.23 (colored) to selected 1.34 (colored)
Move mg(1) tutorial file into a release, instead of languishing in src. ok nick@ schwarze@ miod@ kjell@
Revision 1.23 / (download) - annotate - [select for diffs], Tue Jan 18 17:35:42 2011 UTC (13 years, 4 months ago) by lum
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.34 (colored)
Add missing prototypes and move dired.c to "extensions" in Makefile. ok kjell@
Revision 1.22 / (download) - annotate - [select for diffs], Wed Dec 17 10:27:33 2008 UTC (15 years, 5 months ago) by sobrado
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
Changes since 1.21: +12 -13 lines
Diff to previous 1.21 (colored) to selected 1.34 (colored)
sort CFLAGS, SRCS and the list of compile-time options; while here, add some missing full stops. ok kjell@
Revision 1.21 / (download) - annotate - [select for diffs], Fri Jun 13 18:51:02 2008 UTC (16 years ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE,
OPENBSD_4_4
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.34 (colored)
Remove mail-mode. It was a buggy reimplementation of auto-fill-mode. If you use this, change your habits (and .mg) to use the following commands instead: mail-mode => auto-fill-mode mail-set-margin => set-fill-column ok henning@. Will also "fix" debian bug #460189
Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 12 01:58:44 2008 UTC (16 years ago) by kjell
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.34 (colored)
Introduce a basic c-mode to mg. The intent of this mode is NOT to copy emacs's monster cc-mode. It is intended to handle basic KNF-format C, assisting with indentation (to catch obvious typos), and strip trailing whitespace. It is NOT enabled unless you ask for it (c-mode). Basically, tab on start-of-line whitespace acts like tab. Otherwise, tab indents. Please try it out and let me know where it falls down. Feedback Reyk, phessler. "hack in tree" from henning, theo
Revision 1.19 / (download) - annotate - [select for diffs], Sat Dec 16 17:00:03 2006 UTC (17 years, 5 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored) to selected 1.34 (colored)
Get rid of PREFIXREGION ifdef, since we always enable it anyway. no binary change.
Revision 1.18 / (download) - annotate - [select for diffs], Tue Nov 22 05:02:44 2005 UTC (18 years, 6 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE,
OPENBSD_4_0,
OPENBSD_3_9_BASE,
OPENBSD_3_9
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored) to selected 1.34 (colored)
Move kill-related commands to their own file. This will help move to a kill-ring.
Revision 1.17 / (download) - annotate - [select for diffs], Sun Nov 20 04:16:34 2005 UTC (18 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored) to selected 1.34 (colored)
Kill the NO_BACKUP #ifdef
Revision 1.16 / (download) - annotate - [select for diffs], Sat Nov 19 22:05:45 2005 UTC (18 years, 6 months ago) by kjell
Branch: MAIN
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored) to selected 1.34 (colored)
Remove DO_METAKEY here, too. Noted by Han Boetes.
Revision 1.15 / (download) - annotate - [select for diffs], Thu Mar 10 18:27:47 2005 UTC (19 years, 3 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.34 (colored)
fix more BACKUP/NOBACKUP/NO_BACKUP confusion, again no binary change. spotted by jmc@
Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 9 19:12:57 2005 UTC (19 years, 3 months ago) by henning
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) to selected 1.34 (colored)
remove useless -DBACKUP from CFLAGS and change the comment for BACKUP to NOBACKUP what the code actually uses (and reverse the descr too of course) spotted by jmc@ quite some time ago, no binary change.
Revision 1.13 / (download) - annotate - [select for diffs], Mon May 5 11:12:07 2003 UTC (21 years, 1 month ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5,
OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) to selected 1.34 (colored)
add a mail-mode, to do automatic line-wrapping. (at the same time, change the command line parsing to support a -f <mode> that is slightly different from the one in gnu emacs, we apply it to all buffers created from command line arguments, so you can use "mg -f mail-mode" as your editor. manpage change coming soon) ok henning
Revision 1.12 / (download) - annotate - [select for diffs], Wed May 29 12:41:42 2002 UTC (22 years ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.34 (colored)
add an "auto-execute" feature, that allows binding function calls to certain patterns. for example, `auto-execute "*.c" auto-indent-mode'. ok art@
Revision 1.11 / (download) - annotate - [select for diffs], Wed Feb 20 22:30:54 2002 UTC (22 years, 3 months ago) by vincent
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.34 (colored)
Add undo code to mg. needs further hacking. ok `whole bunch of people on icb'@
Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 14 03:07:33 2002 UTC (22 years, 4 months ago) by vincent
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.34 (colored)
the "theo-mode" is said to be a 'standalone' extension in main.c, be coherent.
Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 23 04:22:45 2001 UTC (22 years, 11 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.34 (colored)
Add "M-x theo". Just like "M-x doctor" in emacs... Well, almost. More beer!
Revision 1.8 / (download) - annotate - [select for diffs], Thu May 24 10:58:33 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.7: +6 -1 lines
Diff to previous 1.7 (colored) to selected 1.34 (colored)
Add a compile/grep/id-utils mode. The only pollution this code introduces in the rest of thed code is a call to an init function in main(). In the future we might want to load extensions like this dynamically. Of course I did the test compile in the compile mode.
Revision 1.7 / (download) - annotate - [select for diffs], Thu May 24 09:47:33 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.34 (colored)
Break out function -> name mappings to an own file. Add a possibility to dynamically extend the function table.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 1 14:59:08 2000 UTC (23 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE,
OPENBSD_2_9,
OPENBSD_2_8_BASE,
OPENBSD_2_8
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) to selected 1.34 (colored)
More -Wall anmd KNF, from op2@tomahawk.SQUiSH.org
Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 28 23:45:21 2000 UTC (24 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE,
OPENBSD_2_7
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) to selected 1.34 (colored)
Use POSIX extended regular expressions. Reverse regex searching does not yet work.
Revision 1.4 / (download) - annotate - [select for diffs], Sun Feb 27 17:29:50 2000 UTC (24 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.3: +4 -7 lines
Diff to previous 1.3 (colored) to selected 1.34 (colored)
Don't define -DDO_METAKEY twice
Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 26 22:53:16 2000 UTC (24 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored) to selected 1.34 (colored)
change WINDOW -> MGWIN to avoid curses type conflict convert to terminfo in tty*.c add support for some keypad function keys (arrows, pgup, pgdown)
Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 25 19:09:47 2000 UTC (24 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +14 -118 lines
Diff to previous 1.1 (colored) to selected 1.34 (colored)
make it minimally compile; millert
Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 25 19:08:45 2000 UTC (24 years, 3 months ago) by deraadt
Branch: MAIN
Diff to selected 1.34 (colored)
initial import of mg2a