History log of /openbsd/usr.bin/mg/Makefile (Results 1 – 25 of 35)
Revision Date Author Comments
# 3c2c8acb 18-Jul-2019 lum <lum@openbsd.org>

Add some more basic interpreter functionality to mg. Needs a lot more
work, including a proper parser.


# 85c5a5c1 10-Jun-2019 lum <lum@openbsd.org>

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

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@

show more ...


# e56f5d06 16-Sep-2016 tedu <tedu@openbsd.org>

like the sparc port, ancient wisdom is ancient. consign to the archives.
ok beck


# e53b97a5 11-Sep-2016 natano <natano@openbsd.org>

Install mg tutorial with correct permissions. ok deraadt


# 4e080a0b 29-Sep-2015 tedu <tedu@openbsd.org>

rename random.c to util.c so it doesn't look scary. (util.c repo copied)
ok deraadt guenther


# 54774524 17-Mar-2015 bcallah <bcallah@openbsd.org>

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

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@

show more ...


# e4b2d8fa 05-Jan-2015 lum <lum@openbsd.org>

As pointed out by Kaspars Bankovskis on tech@, there is no ifdef for
STARTUP.


# 048419bb 31-May-2013 lum <lum@openbsd.org>

Make the system bell toggleable via 'audible-bell', and if switched
off, make available an alternative 'visible-bell'.

ok florian@ jasper@ Feedback Sunil Nimmagadda.


# 45b1fb19 18-Jun-2012 jasper <jasper@openbsd.org>

- explicitly use DOCMODE instead of NONBINMODE

ok lum@


# 4061ece6 07-Jun-2012 lum <lum@openbsd.org>

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 pag

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.

show more ...


# 595ec481 28-Nov-2011 lum <lum@openbsd.org>

Add some ctags support to mg. From Sunil Nimmagadda.

Man page review and suggestions from jmc@

Revewied and tested by myself, and ok deraadt@


# b0c6321c 02-Feb-2011 lum <lum@openbsd.org>

Move mg(1) tutorial file into a release, instead of languishing in src.
ok nick@ schwarze@ miod@ kjell@


# 6238f0cd 18-Jan-2011 lum <lum@openbsd.org>

Add missing prototypes and move dired.c to "extensions" in Makefile.
ok kjell@


# 285fbcbc 17-Dec-2008 sobrado <sobrado@openbsd.org>

sort CFLAGS, SRCS and the list of compile-time options; while here,
add some missing full stops.

ok kjell@


# 50bea0e4 13-Jun-2008 kjell <kjell@openbsd.org>

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

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

show more ...


# 43e1f234 12-Jun-2008 kjell <kjell@openbsd.org>

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

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

show more ...


# 4d3a9f9e 16-Dec-2006 kjell <kjell@openbsd.org>

Get rid of PREFIXREGION ifdef, since we always enable it anyway.
no binary change.


# 99e1967a 22-Nov-2005 kjell <kjell@openbsd.org>

Move kill-related commands to their own file.
This will help move to a kill-ring.


# c59417e5 20-Nov-2005 kjell <kjell@openbsd.org>

Kill the NO_BACKUP #ifdef


# d539096d 19-Nov-2005 kjell <kjell@openbsd.org>

Remove DO_METAKEY here, too. Noted by Han Boetes.


# c04dfe6e 10-Mar-2005 henning <henning@openbsd.org>

fix more BACKUP/NOBACKUP/NO_BACKUP confusion, again no binary change.
spotted by jmc@


# 6d0d75bf 09-Mar-2005 henning <henning@openbsd.org>

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 chan

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.

show more ...


# d9d4dab1 05-May-2003 vincent <vincent@openbsd.org>

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 bu

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

show more ...


# 32c49409 29-May-2002 vincent <vincent@openbsd.org>

add an "auto-execute" feature, that allows binding function calls to
certain patterns. for example, `auto-execute "*.c" auto-indent-mode'.

ok art@


# af2aa0ff 20-Feb-2002 vincent <vincent@openbsd.org>

Add undo code to mg.

needs further hacking.

ok `whole bunch of people on icb'@


12