Codebase list mg / 76ec35d
Imported Debian patch 20060919-1 Trent Buck 17 years ago
5 changed file(s) with 42 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
99 make CFLAGS="-O2 -fstack-protector"
1010
1111
12 If you don't like the installation paths you can change them like this:
12 If you don't like the installation path you can change them, for
13 example, like this:
1314
1415 make install prefix=/usr mandir=/usr/share/man
1516
0 mg (20060919-1) unstable; urgency=low
1
2 * New upstream release
3
4 -- Trent Buck <trentbuck@gmail.com> Mon, 2 Oct 2006 12:53:24 +1000
5
6 mg (20060818-2) unstable; urgency=low
7
8 * control: Include homepage in description field.
9 * control: mention other editors in description field.
10
11 -- Trent Buck <trentbuck@gmail.com> Thu, 7 Sep 2006 12:25:37 +1000
12
013 mg (20060818-1) unstable; urgency=low
114
215 * New upstream release
77 Package: mg
88 Architecture: any
99 Depends: ${shlibs:Depends}, ${misc:Depends}
10 Suggests: zile, qemacs | qemacs-nox
1011 Description: microscopic GNU Emacs-style editor
1112 This program is intended to be a small, fast, and portable
1213 editor for people who can't (or don't want to) run real
1314 Emacs for one reason or another. It is compatible with GNU
1415 because there shouldn't be any reason to learn more than
1516 one Emacs flavor.
17 .
18 Packages which provide editors with broadly similar goals include
19 .
20 * e3,
21 * joe,
22 * jove and xjove
23 * ng-cjk, ng-cjk-canna and ng-latin,
24 * qemacs and qemacs-nox,
25 * zile,
26 .
27 Homepage: http://www.xs4all.nl/~hanb/software/mg/
0 /* $OpenBSD: fileio.c,v 1.77 2006/07/25 08:22:32 kjell Exp $ */
0 /* $OpenBSD: fileio.c,v 1.78 2006/09/19 05:52:23 otto Exp $ */
11
22 /* This file is in the public domain. */
33
572572 continue;
573573 if (stat(statname, &statbuf) < 0)
574574 continue;
575 if (statbuf.st_mode & S_IFDIR)
575 if (S_ISDIR(statbuf.st_mode))
576576 isdir = 1;
577577 }
578578
0 .\" $OpenBSD: mg.1,v 1.27 2006/07/17 15:31:23 kjell Exp $
0 .\" $OpenBSD: mg.1,v 1.28 2006/09/02 20:06:48 jmc Exp $
11 .\"
22 .Dd February 25, 2000
33 .Dt MG 1
7474 Kill to end of line (placing into kill buffer).
7575 .It ^Y
7676 Yank kill buffer into current location.
77 .It ^@
77 .It ^SPC
7878 Set mark.
7979 .It ^W
8080 Kill region
9292 End of buffer.
9393 .Pp
9494 .It ^X^C
95 Quit (you will be asked if you want to save files).
95 Save buffers and quit.
9696 .It ^X-O
9797 Next window.
9898 .It ^X-N
100100 .It ^X-P
101101 Previous window.
102102 .It ^X-U
103 Undo.
104 .It ^_
103105 Undo.
104106 .El
105107 .Pp
117119 However, you can rebind keys and change some parameters.
118120 There are no limits to line length or format.
119121 Command, buffer, and file name completion and listing can
120 be done using the spacebar and
121 .Ql \&? ,
122 respectively.
122 be done using the spacebar and tab keys.
123123 .Pp
124124 Amongst other major differences, the
125125 .Nm
138138 .Pa .mg-vt100
139139 as a startup file.
140140 The terminal type startup file is used first.
141 See the manual for a full list of the commands that can
142 go in the files.
141 The startup file format is a list of commands, one per line, as used for
142 interactive evaluation, e.g.:
143 .Bd -literal -offset indent
144 auto-fill-mode
145 set-fill-column 72
146 global-set-key "\e^x\e^f" find-file
147 .Ed
143148 .Pp
144149 Here's another example sequence that you may find useful.
145150 By default,