Imported Debian patch 20060919-1
Trent Buck
17 years ago
9 | 9 |
make CFLAGS="-O2 -fstack-protector"
|
10 | 10 |
|
11 | 11 |
|
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:
|
13 | 14 |
|
14 | 15 |
make install prefix=/usr mandir=/usr/share/man
|
15 | 16 |
|
|
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 |
|
0 | 13 |
mg (20060818-1) unstable; urgency=low
|
1 | 14 |
|
2 | 15 |
* New upstream release
|
7 | 7 |
Package: mg
|
8 | 8 |
Architecture: any
|
9 | 9 |
Depends: ${shlibs:Depends}, ${misc:Depends}
|
|
10 |
Suggests: zile, qemacs | qemacs-nox
|
10 | 11 |
Description: microscopic GNU Emacs-style editor
|
11 | 12 |
This program is intended to be a small, fast, and portable
|
12 | 13 |
editor for people who can't (or don't want to) run real
|
13 | 14 |
Emacs for one reason or another. It is compatible with GNU
|
14 | 15 |
because there shouldn't be any reason to learn more than
|
15 | 16 |
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 $ */
|
1 | 1 |
|
2 | 2 |
/* This file is in the public domain. */
|
3 | 3 |
|
|
572 | 572 |
continue;
|
573 | 573 |
if (stat(statname, &statbuf) < 0)
|
574 | 574 |
continue;
|
575 | |
if (statbuf.st_mode & S_IFDIR)
|
|
575 |
if (S_ISDIR(statbuf.st_mode))
|
576 | 576 |
isdir = 1;
|
577 | 577 |
}
|
578 | 578 |
|
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 $
|
1 | 1 |
.\"
|
2 | 2 |
.Dd February 25, 2000
|
3 | 3 |
.Dt MG 1
|
|
74 | 74 |
Kill to end of line (placing into kill buffer).
|
75 | 75 |
.It ^Y
|
76 | 76 |
Yank kill buffer into current location.
|
77 | |
.It ^@
|
|
77 |
.It ^SPC
|
78 | 78 |
Set mark.
|
79 | 79 |
.It ^W
|
80 | 80 |
Kill region
|
|
92 | 92 |
End of buffer.
|
93 | 93 |
.Pp
|
94 | 94 |
.It ^X^C
|
95 | |
Quit (you will be asked if you want to save files).
|
|
95 |
Save buffers and quit.
|
96 | 96 |
.It ^X-O
|
97 | 97 |
Next window.
|
98 | 98 |
.It ^X-N
|
|
100 | 100 |
.It ^X-P
|
101 | 101 |
Previous window.
|
102 | 102 |
.It ^X-U
|
|
103 |
Undo.
|
|
104 |
.It ^_
|
103 | 105 |
Undo.
|
104 | 106 |
.El
|
105 | 107 |
.Pp
|
|
117 | 119 |
However, you can rebind keys and change some parameters.
|
118 | 120 |
There are no limits to line length or format.
|
119 | 121 |
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.
|
123 | 123 |
.Pp
|
124 | 124 |
Amongst other major differences, the
|
125 | 125 |
.Nm
|
|
138 | 138 |
.Pa .mg-vt100
|
139 | 139 |
as a startup file.
|
140 | 140 |
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
|
143 | 148 |
.Pp
|
144 | 149 |
Here's another example sequence that you may find useful.
|
145 | 150 |
By default,
|