* doc/mcview.1.in: New file.

* configure.in: Treat it like doc/mcedit.1.in.
* doc/Makefile.am: Likewise.
This commit is contained in:
Pavel Roskin 2003-01-19 16:49:38 +00:00
parent a32e6fc699
commit fd8c17ed7c
4 changed files with 105 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2003-01-19 Adam Byrtek <alpha@debian.org>
* doc/mcview.1.in: New file.
* configure.in: Treat it like doc/mcedit.1.in.
* doc/Makefile.am: Likewise.
2003-01-17 Adam Byrtek <alpha@debian.org> 2003-01-17 Adam Byrtek <alpha@debian.org>
* doc/mc.1.in (Layout): Document 'Xterm window title' option. * doc/mc.1.in (Layout): Document 'Xterm window title' option.

View File

@ -594,7 +594,7 @@ vfs/extfs/urar
vfs/extfs/uzip vfs/extfs/uzip
vfs/extfs/uzoo vfs/extfs/uzoo
doc/mc.1 doc/mcedit.1 doc/mcserv.8 doc/mc.1 doc/mcedit.1 doc/mcview.1 doc/mcserv.8
doc/es/mc.1 doc/es/Makefile doc/es/mc.1 doc/es/Makefile
doc/hu/mc.1 doc/hu/Makefile doc/hu/mc.1 doc/hu/Makefile
doc/it/mc.1 doc/it/Makefile doc/it/mc.1 doc/it/Makefile

View File

@ -2,9 +2,9 @@ DIST_SUBDIRS = es hu it pl ru
SUBDIRS = $(DOC_LINGUAS) SUBDIRS = $(DOC_LINGUAS)
if USE_MCFS if USE_MCFS
man_MANS = mc.1 mcedit.1 mcserv.8 man_MANS = mc.1 mcedit.1 mcview.1 mcserv.8
else else
man_MANS = mc.1 mcedit.1 man_MANS = mc.1 mcedit.1 mcview.1
endif endif
pkgdata_DATA = mc.hlp pkgdata_DATA = mc.hlp

96
doc/mcview.1.in Normal file
View File

@ -0,0 +1,96 @@
.TH mcview 1 "19 January 2003"
.SH NAME
mcview \- Internal file viewer of GNU Midnight Commander.
.SH USAGE
.B mcview
[-bcCdfhstVx?] file
.SH DESCRIPTION
.LP
mcview is a link to
.BR mc ,
the main GNU Midnight Commander executable. Executing GNU Midnight
Commander under this name requests staring the internal viewer and
opening the
.I file
specified on the command line.
.SH OPTIONS
.TP
.I "\-b"
Force black and white display.
.TP
.I "\-c"
Force color mode on terminals where
.B mcview
defaults to black and white.
.TP
.I "\-C <keyword>=<FGcolor>,<BGcolor>:<keyword>= ..."
Specify a different color set. See the
.B Colors
section in mc(1) for more information.
.TP
.I "\-d"
Disable mouse support.
.TP
.I "\-f"
Display the compiled-in search paths for Midnight Commander files.
.TP
.I "\-t"
Used only if the code was compiled with S-Lang and terminfo: it makes
the Midnight Commander use the value of the
.B TERMCAP
variable for the terminal information instead of the information on
the system wide terminal database
.TP
.I "\-V"
Displays the version of the program.
.TP
.I "\-x"
Forces xterm mode. Used when running on xterm-capable terminals (two
screen modes, and able to send mouse escape sequences).
.PP
.SH COLORS
The default colors may be changed by appending to the
.B MC_COLOR_TABLE
environment variable. Foreground and background colors pairs may be
specified for example with:
.PP
.nf
MC_COLOR_TABLE="$MC_COLOR_TABLE:\\
normal=lightgray,black:\\
selected=black,green"
.fi
.PP
.SH FILES
@prefix@/share/mc/mc.hlp
.IP
The help file for the program.
.PP
.I @prefix@/share/mc/mc.ini
.IP
The default system-wide setup for GNU Midnight Commander, used only if
the user's own ~/.mc/ini file is missing.
.PP
.I @prefix@/share/mc/mc.lib
.IP
Global settings for the Midnight Commander. Settings in this file
affect all users, whether they have ~/.mc/ini or not.
.PP
$HOME/.mc/ini
.IP
User's own setup. If this file is present, the setup is loaded from
here instead of the system-wide startup file.
.PP
.SH LICENSE
This program is distributed under the terms of the GNU General Public
License as published by the Free Software Foundation. See the built-in
help of the Midnight Commander for details on the License and the lack
of warranty.
.SH AVAILABILITY
The latest version of this program can be found at
ftp://ftp.gnome.org/mirror/gnome.org/stable/sources/mc/ and on the
mirrors listed on the GNOME site http://www.gnome.org/.
.SH SEE ALSO
mc(1), mcedit(1)
.PP
.SH BUGS
Bugs should be reported to mc-devel@gnome.org