Re: changelog colored view ?
- From: Pavel Roskin <proski gnu org>
- To: raptor <raptor tvskat net>
- Cc: mc gnome org
- Subject: Re: changelog colored view ?
- Date: Wed, 22 Oct 2003 11:45:54 -0400 (EDT)
On Wed, 22 Oct 2003, raptor wrote:
does mcview support colored changelog view ?
No. mcview only highlights files that use backspaces, such as nroff
output. You can write a filter to convert ChangeLog to this format. For
example put this to the ~/.mc/bindings:
shell/ChangeLog
View=%view{nroff} sed -s $'/^[^ \t]/s/\([^ \t]\)/\\1\b\\1/g;s/^\t\*/\t_\b\*/' %f
It's a very primitive example and it's bash specific.
if yes how can I enforce it ? is there a command line option..
No. GNU Midnight Commander is an interactive program and should be
configured interactively. Command line options are only acceptable to
allow mc to start in exceptional cases, for troubleshooting and for
communicating with the calling program, e.g. command shell.
--
Regards,
Pavel Roskin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]