Mg is a small, fast, portable, and free (public domain) Emacs-like
editor maintained by the OpenBSD Project. It is intended for people
who can't, or don't want to, run the real GNU Emacs, or are not
familiar with the vi(1) editor.
===> The following configuration options are available for mg-20261020,1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
editors/mg: Update 20260519 => 20261020
This is an update to OpenBSD 8.0 version.
Changelog:
* word.c: tranpose -> transpose
* echo.c: use strncmp instead of memcmp in complt()
* interpreter.c: fix NULL-deref in parsexp; from Han Boetes
https://cvsweb.openbsd.org/src/usr.bin/mg/
PR: 299837
Approved by: osa, vvd (Mentors, implicit)
editors/mg: Update to 20241008
Pet portlint, portfmt.
Changelog:
* Ignore universal ctags extended metadata in tagaddress, making search
patterns work again
* Fix auto-indent-mode with custom tab widths
* Add handling for C-u modifier in M-! and M-|
* Dired-up-directory bound to ^ to go up a directory in dired buffers
PR: 282052
Approved by: submitter is maintainer
editors/mg: Update to 20240405
ChangeLog: https://cvsweb.openbsd.org/src/usr.bin/mg/
* Reinstate space-to-tabstop entry in manpage
* Call vttidy in the exit path for batch mode
* Fix hang for (regexp-replace "^.*$" "")
PR: 278248
Reported by: cdr.nil@gmail.com
editors/mg: Update to OpenBSD 7.4 version; modify location of source tarball
Changes in this release:
* New command set-tab-width to change the tabulator width on a per-buffer
basis.
* Let the space-to-tabstop command move to the right position even if
the line contains tabs, control characters, or non-ASCII bytes.
* Fall back to /bin/sh if $SHELL is undefined.
* Fix parsing of tag files with duplicate entries. Instead of erroring
out, ignore duplicates. Fixes using /var/db/libc.tags again.
* Change the visit-tags-table command to immediately load the tag
file, and drop the lazy mechanics.
* Do not leak memory in pop-tag-mark if it fails to switch buffers.
* Fix a read buffer overrun caused by -u arguments longer than 1023 bytes.
* Fix a write buffer overrun on the stack caused by blink-and-insert
matching a very long line that is not currently visible in the
window.
* Skip checking permissions of conffile with access(2).
* Resurrect no-tab-mode and add it to the list of modes that can be
set with set-default-mode.
From: https://www.openbsd.org/74.html
PR: 274611
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
editors/mg: add -static slave installed as /rescue/mg
When recovering from a broken rtld(1) one may want a visual editor that
feels like Emacs. ee(1) isn't under /rescue, and its Emacs keys support
lacks even C-x C-c (save-buffers-kill-emacs).
editors/mg: Update to 20180927
This brings mg up to what will be in OpenBSD 6.4.
Simplify port by moving to Brian Callahan's portable mg release.
It has a configure script to detect OS features and it hopefully
won't break building mg on FreeBSD for no reason.
MFH: 2018Q4
editors/mg: Use OPSYS with OSVERSION (restores DF build)
DragonFly doesn't provided reallocarray. OPSYS should be used with
OSVERSION (covered by a blanket)
- Update to 20160421 snapshot
- Cosmetic change for documentation
- Mark BROKEN on FreeBSD 9.x, because it requires futimens system call
PR: 209290
Submitted by: myself
Approved by: <darcsis@gmail.com> (maintainer, timeout > 2 weeks)
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories D-F.
CR: D196
Approved by: portmgr (bapt)
From the submitter:
[This] port does not build on 5.X systems due to its type
request for a short gid_t, depreciated in all thinkable ways.
PR: 60684
Submitted by: Samy Al Bahra <samy@kerneled.com>
Replace the non-scalable way of determining the man page name (the Makefile in
the package honors NOMANCOMPRESS itself) with a much better one mostly
suggested by roam@.