mcview man page

Adam Byrtek 'alpha' alpha at student.uci.agh.edu.pl
Tue Jan 14 22:00:34 UTC 2003


mcview man page attached (mostly for Debian package of mc I'm
polishing up - Debian policy strongly recommends manpage for every
binary). It is based mainly on mcedit(1). 

Andrew could you check it and put this into cvs if it's good?

-- 

  _.|._ |_  _.    : Adam Byrtek, alpha@(irc.pl|debian.org)
 (_|||_)| |(_|    : gg 1802819, pgp 0xB25952C0
     |            : jid alpha.pl(at)jabber.org
-------------- next part --------------
.TH mcedit 1 "14 January 2003"
.\"SKIP_SECTION"
.SH NAME
mcedit \- Midnight Commander's internal file viewer.
.\"SKIP_SECTION"
.SH USAGE
.B mcview
file [-bcCdfhstVx?]
.SH DESCRIPTION
.LP
Mcedit is a link to 
.B mc,
the Midnight Commander, forcing it
to immediately start its internal viewer and open
.I file
.\".\"DONT_SPLIT"
.SH OPTIONS
.TP
.I "\-b"
Forces 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>= ..."
Used to specify a different color set, where 
.I keyword 
is one of normal, selected, marked, markselect, errors,
reverse menu, menusel, menuhot, menuhotsel and gauge. The colors
are optional and are one of black, gray, red, brightred, green,
brightgreen, brown, yellow, blue, brightblue, magenta,
brightmagenta, cyan, brightcyan, lightgray and white.
See the 
.B Colors 
section in 
.B mc.1
for more information.
.TP
.I "\-d"
Disables mouse support.
.TP
.I "\-f"
Displays the compiled-in search paths for Midnight Commander files.
.TP
.I "\-t"
Used only if the code was compiled with Slang 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
\fBMC_COLOR_TABLE\fP environment variable. Foreground and
background colors pairs may be specified for example with:
.PP
.nf
MC_COLOR_TABLE="$MC_COLOR_TABLE:\\
editnormal=lightgray,black:\\
editbold=yellow,black:\\
editmarked=black,cyan"
.fi

.PP
.SH FILES
@prefix@/share/mc/mc.hlp
.IP
The help file for the program.
.PP
@prefix@/share/mc/mc.ini
.IP
The default system-wide setup for the Midnight Commander, used only if
the user lacks his own ~/.mc/ini file.
.PP
@prefix@/share/mc/mc.lib
.IP
Global settings for the Midnight Commander.  Settings in this file are
global to any Midnight Commander, it is useful to define site-global
.\"LINK2
terminal settings.
.\"Terminal databases"
.PP
$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
.\"SKIP_SECTION"
.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 at gnome.org


More information about the mc-devel mailing list