diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/mg |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/mg')
-rw-r--r-- | community/mg/PKGBUILD | 33 | ||||
-rw-r--r-- | community/mg/README | 74 |
2 files changed, 107 insertions, 0 deletions
diff --git a/community/mg/PKGBUILD b/community/mg/PKGBUILD new file mode 100644 index 000000000..cdb1b05e2 --- /dev/null +++ b/community/mg/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 39953 2011-02-18 23:29:32Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Hannes Rist <hrist@phreeknet.org> + +pkgname=mg +pkgver=20110120 +pkgrel=1 +pkgdesc="mg is Micro GNU/emacs, this is a portable version of the mg maintained by the OpenBSD team." +arch=('i686' 'x86_64') +url="http://homepage.boetes.org/software/mg/" +depends=('ncurses') +license=('custom') +options=(!libtool) +source=(http://homepage.boetes.org/software/mg/mg-$pkgver.tar.gz + README) +md5sums=('f2fa8016a491aa2a9d4c5698c593f31b' + '8cc5195ad4fabcf7c6782764f9617748') + +build() { + cd $srcdir/$pkgname-$pkgver + + sed -i 's|KEYMAP\t\*curmap;|KEYMAP *curmap = NULL;|' extend.c + + ./configure + make prefix=/usr + + mkdir -p $pkgdir/usr/bin + make install INSTALL=/bin/install prefix=$pkgdir/usr + + mkdir -p $pkgdir/usr/share/ + mv $pkgdir/usr/man $pkgdir/usr/share/ + install -D -m0644 $srcdir/README $pkgdir/usr/share/licenses/$pkgname/README +} diff --git a/community/mg/README b/community/mg/README new file mode 100644 index 000000000..cf2d78917 --- /dev/null +++ b/community/mg/README @@ -0,0 +1,74 @@ +[This is an edited version of the original mg README, updated slightly to +reflect changes in the last 20 years.] + + +Mg (mg) is a Public Domain EMACS style editor. It is "broadly" +compatible with GNU Emacs, the latest creation of Richard M. +Stallman, Chief GNUisance and inventor of Emacs. GNU Emacs (and other +portions of GNU as they are released) are essentially free, (there are +handling charges for obtaining it) and so is Mg. You may never have +to learn another editor. (But probably will, at least long enough to +port Mg...) Mg was formerly named MicroGnuEmacs, the name change was +done at the request of Richard Stallman. + +Mg is not associated with the GNU project, and most of it does not +have the copyright restrictions present in GNU Emacs. (However, some +of the system dependent modules and the regular expression module do +have copyright notices. Look at the source code for exact +copyright restrictions.) The Mg authors individually may or may not +agree with the opinions expressed by Richard Stallman in "The GNU +Manifesto". + +This program is intended to be a small, fast, and portable editor for +people who can't (or don't want to) run real Emacs for one reason +or another. It is compatible with GNU because there shouldn't be +any reason to learn more than one Emacs flavor. + + +Beyond the work of Dave Conroy, author of the original public domain +v30, the current version contains the work of: + + blarson@ecla.usc.edu Bob Larson + mic@emx.utexas.edu Mic Kaczmarczik + mwm@violet.berkeley.edu Mike Meyer + sandra@cs.utah.edu Sandra Loosemore + mp1u+@andrew.cmu.edu Michael Portuesi + RCKG01M@CALSTATE.BITNET Stephen Walton + hakanson@mist.cs.orst.edu Marion Hakanson + +People who have worked on previous versions of Mg: + + rtech!daveb@sun.com Dave Brower + +Currently maintained in the OpenBSD src tree, with contributions from +many others. + +---------------------------------------------------------------------- + +Known limitations: + +Recursive bindings may cause help and key rebinding code to go into +an infinite loop, aborting with a stack overflow. + +Overwrite mode does not work in macros. (Characters are inserted +rather than overwriting.) + +Dired mode has some problems: Rename does not update the buffer. +Doing a dired again will update the buffer (whether it needs it or +not) and will lose any marks for deletion. .. and . are not +recognized as special cases. + +On systems with 16 bit integers, the kill buffer cannot exceed 32767 +bytes. + + + +New implementation oddities: + +insert and define-key are new commands corresponding to the mocklisp +functions in Gnu Emacs. (Mg does not have non-command functions.) +(Mg's insert will only insert one string.) + +The display wrap code does not work at all like that of GNU emacs. + + |