CVSROOT:        /cvs
Module name:    src
Changes by:     l...@cvs.openbsd.org    2019/06/10 00:52:44

Modified files:
        usr.bin/mg     : Makefile kbd.c main.c 
Added files:
        usr.bin/mg     : log.c log.h 

Log message:
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@

Reply via email to