* doc/mc.1.in: Fix location of mcedit files.
* doc/mcedit.1.in: Likewise. Remove obsolete technical details.
Этот коммит содержится в:
родитель
aa50585937
Коммит
dad13bfb19
@ -1,3 +1,8 @@
|
||||
2001-09-15 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* doc/mc.1.in: Fix location of mcedit files.
|
||||
* doc/mcedit.1.in: Likewise. Remove obsolete technical details.
|
||||
|
||||
2001-09-14 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* configure.in: Don't check for ncurses version and for keyok()
|
||||
|
@ -2495,7 +2495,7 @@ like by pressing that key. The macro is executed when you press
|
||||
you press Meta, Ctrl, or Esc and the assigned key, provided that the
|
||||
key is not used for any other function. Once defined, the macro
|
||||
commands go into the file
|
||||
.B .cedit/cooledit.macros
|
||||
.B .mc/cedit/cooledit.macros
|
||||
in your home directory. You can delete a macro by deleting the
|
||||
appropriate line in this file.
|
||||
.PP
|
||||
@ -2508,7 +2508,7 @@ code or another). This is controlled by the
|
||||
file
|
||||
.B @prefix@/lib/mc/edit.indent.rc
|
||||
which is copied to
|
||||
.B .cedit/edit.indent.rc
|
||||
.B .mc/cedit/edit.indent.rc
|
||||
in your home directory the first time you use it.
|
||||
.PP
|
||||
You can use scanf search and replace to search and replace
|
||||
|
@ -87,14 +87,14 @@ pull-down menu. Other keys are: Shift movement
|
||||
keys do text highlighting (Linux console only).
|
||||
.B Ctrl-Ins
|
||||
copies to the file
|
||||
.BR "~/.cedit/cooledit.clip",
|
||||
.BR ~/.mc/cedit/cooledit.clip,
|
||||
and
|
||||
.B Shift-Ins
|
||||
pastes from
|
||||
.BR "~/.cedit/cooledit.clip".
|
||||
.BR ~/.mc/cedit/cooledit.clip.
|
||||
.B Shift-Del
|
||||
cuts to
|
||||
.BR "~/.cedit/cooledit.clip",
|
||||
.BR ~/.mc/cedit/cooledit.clip,
|
||||
and
|
||||
.B Ctrl-Del
|
||||
deletes highlighted text - all linux console only.
|
||||
@ -118,9 +118,9 @@ and then the assigned key. The macro is also executed if
|
||||
you press Meta, Ctrl, or Esc and the assigned key, provided that the
|
||||
key is not used for any other function. Once defined, the macro
|
||||
commands go into the file
|
||||
.BR "~/.cedit/cooledit.macros".
|
||||
Do NOT edit this file unless you are not going to use macros again
|
||||
in the same editing session, because
|
||||
.BR ~/.mc/cedit/cooledit.macros.
|
||||
Do NOT edit this file if you are going to use macros again in the same
|
||||
editing session, because
|
||||
.B Mcedit
|
||||
caches macro key defines in memory.
|
||||
.B Mcedit
|
||||
@ -129,34 +129,16 @@ so you won't have to edit this file. You will also have to restart
|
||||
other running editors for macros to take effect.
|
||||
|
||||
.B F19
|
||||
will format C code when it is highlighted. For this
|
||||
to work, make an executable file called
|
||||
.B .cedit/edit.indent.rc
|
||||
in your home directory containing the following:
|
||||
|
||||
.IP
|
||||
.nf
|
||||
#!/bin/sh
|
||||
# Use $HOME instead of ~ if this doesn't work.
|
||||
# You may also have to use a different redirection
|
||||
# syntax for some machines.
|
||||
/usr/bin/indent -kr -pcs ~/.cedit/cooledit.block >& /dev/null
|
||||
cat /dev/null > ~/.cedit/cooledit.error
|
||||
.fi
|
||||
will format C code when it is highlighted. An executable file called
|
||||
.B ~/.mc/cedit/edit.indent.rc
|
||||
will be created for you from the default template. Feel free to edit it
|
||||
if you need.
|
||||
.PP
|
||||
.B C-p
|
||||
will run ispell on a block of text in a similar way. The file
|
||||
is
|
||||
.B .cedit/edit.spell.rc
|
||||
.IP
|
||||
.nf
|
||||
#!/bin/sh
|
||||
# Use $HOME instead of ~ if this doesn't work.
|
||||
# You may also have to use a different redirection
|
||||
# syntax for some machines.
|
||||
/usr/local/bin/ispell ~/.cedit/cooledit.block >& /dev/null
|
||||
cat /dev/null > ~/.cedit/cooledit.error
|
||||
.fi
|
||||
will run ispell on a block of text in a similar way. The script file
|
||||
will be called
|
||||
.B ~/.mc/cedit/edit.spell.rc
|
||||
.
|
||||
.PP
|
||||
.SH Redefining Keys
|
||||
Keys may be redefined from the Midnight Commander options
|
||||
@ -166,9 +148,9 @@ menu.
|
||||
As of version 3.6.0, \fBcooledit\fP has syntax highlighting. This means
|
||||
that keywords and contexts (like C comments, string constants, etc)
|
||||
are highlighted in different colors. The following section explains
|
||||
the format of the file \fB~/.cedit/syntax\fP.
|
||||
the format of the file \fB~/.mc/cedit/Syntax\fP.
|
||||
|
||||
The file \fB~/.cedit/syntax\fP is rescanned on opening of a any new
|
||||
The file \fB~/.mc/cedit/Syntax\fP is rescanned on opening of a any new
|
||||
editor file. The file contains rules for highlighting, each of which is
|
||||
given on a separate line, and define which keywords will be highlighted
|
||||
to what color. The file is also divided into sections, each beginning
|
||||
@ -328,7 +310,7 @@ editmarked=black,cyan"
|
||||
.SH OPTIONS
|
||||
Most options can now be set from the editors options dialog
|
||||
box. See the \fBOptions\fP menu. The following options are defined in
|
||||
\fB~/.mc.ini\fP and have obvious counterparts in the dialog box.
|
||||
\fB~/.mc/ini\fP and have obvious counterparts in the dialog box.
|
||||
You can modify them to change the editor behavior, by editing the file.
|
||||
Unless specified, a 1 sets the option to on, and a 0 sets it to
|
||||
off, as is usual.
|
||||
@ -448,7 +430,7 @@ The help file for the program.
|
||||
@prefix@/lib/mc/mc.ini
|
||||
.IP
|
||||
The default system-wide setup for the Midnight Commander, used only if
|
||||
the user lacks his own ~/.mc.ini file.
|
||||
the user lacks his own ~/.mc/ini file.
|
||||
.PP
|
||||
@prefix@/lib/mc/mc.lib
|
||||
.IP
|
||||
@ -458,12 +440,12 @@ global to any Midnight Commander, it is useful to define site-global
|
||||
terminal settings.
|
||||
.\"Terminal databases"
|
||||
.PP
|
||||
$HOME/.mc.ini
|
||||
$HOME/.mc/ini
|
||||
.IP
|
||||
User's own setup. If this file is present then the setup is loaded
|
||||
from here instead of the system-wide startup file.
|
||||
.PP
|
||||
$HOME/.cedit/
|
||||
$HOME/.mc/cedit/
|
||||
.IP
|
||||
User's own temporary directory where block commands are processed
|
||||
and saved.
|
||||
@ -486,6 +468,4 @@ Paul Sheer (psheer@obsidian.co.za) is the developer of
|
||||
the Midnight Commander's internal editor.
|
||||
.PP
|
||||
.SH BUGS
|
||||
See the file
|
||||
.B README.edit
|
||||
in the distribution for more information.
|
||||
Bugs should be reported to mc-devel@gnome.org
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user