Imported Upstream version 20060919
Andreas Beckmann
9 years ago
9 | 9 |
make CFLAGS="-O2 -fstack-protector"
|
10 | 10 |
|
11 | 11 |
|
12 | |
If you don't like the installation pathes 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 | |
/* $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,
|