Re: where does mc find the files it needs?



hugo vanwoerkom wrote:
I have 3 versions of mc that all get there own
files in different places:

1. static mc that comes with mkpart so you can
boot a CD that can do rescue stuff with mc.
E.g.mc.ext is on /usr/lib/mc/ here.

2. mc 4.6.0 that has undelete with it. This is
the vanilla tarball: mc.ext is on
/usr/local/share/mc/

3. mc 4.6.0 that comes with the distro: debian
testing: it does not have undelete, the reason I
got the tarball too en it is not static, the
reason I cannot use it for mkpart. mc.ext is on
/etc/mc/

Question: the man page says that mc.ext is on
usr/local/share/mc unless $MC_DATADIR is set. But
I don't find that set anywhere. Where does mc
find its files so I can put a static mc on a
bootable CD that has everything I want?

Sorry for asking this here but the archive search
tool is not in the best of shapes....

whereis mc
mc: /usr/bin/mc /etc/mc /usr/lib/mc /usr/share/mc /usr/share/man/man1/mc.1.gz
ls -l /usr/bin/mc
-rwxr-xr-x    1 root     root       509752 Feb 17  2002 /usr/bin/mc

dpkg -L mc

/.
/usr
/usr/bin
/usr/bin/mc
/usr/bin/mcmfmt
/usr/share
/usr/share/doc
/usr/share/doc/mc
/usr/share/doc/mc/term
/usr/share/doc/mc/term/linux.ti
/usr/share/doc/mc/term/xterm.ad
/usr/share/doc/mc/term/xterm.ti
/usr/share/doc/mc/term/ansi.ti
/usr/share/doc/mc/term/vt100.ti
/usr/share/doc/mc/term/xterm.tcap
/usr/share/doc/mc/term/README.xterm.gz
/usr/share/doc/mc/changelog.gz
/usr/share/doc/mc/README.Debian
/usr/share/doc/mc/copyright
/usr/share/doc/mc/TODO.gz
/usr/share/doc/mc/FAQ.gz
/usr/share/doc/mc/changelog.Debian.gz
/usr/share/doc-base
/usr/share/doc-base/mc-FAQ
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/mcmfmt.1.gz
/usr/share/man/man1/mc.1.gz
/usr/share/man/man1/mcedit.1.gz
/usr/share/man/man8
/usr/share/man/man8/mcserv.8.gz
/usr/share/pixmaps
/usr/share/pixmaps/mc
/usr/share/mime-info
/usr/share/mc
/usr/share/mc/templates
/usr/lib
/usr/lib/mc
/usr/lib/mc/extfs
/usr/lib/mc/bin
/usr/lib/mc/bin/cons.saver
/usr/lib/mc/bin/mc.csh
/usr/lib/mc/bin/mc.sh
/usr/lib/mc/desktop-scripts
/usr/lib/mc/mc.hint.cs
/usr/lib/mc/mc.hint.hu
/usr/lib/mc/mc.hint.it
/usr/lib/mc/mc.hint.nl
/usr/lib/mc/mc.hint.pl
/usr/lib/mc/mc.hint.ru
/usr/lib/mc/mc.hint.uk
/usr/lib/mc/mc.hint.zh
/usr/lib/mc/cedit.menu
/usr/lib/mc/edit.indent.rc
/usr/lib/mc/edit.spell.rc
/usr/lib/mc/mc.hlp.hu
/usr/lib/mc/syntax
/usr/lib/menu
/usr/lib/menu/mc
/etc
/etc/mc
/etc/mc/mc.ext       << here
/usr/bin/mcview
/usr/bin/mcedit
/usr/lib/mc/mc.ext

Debian policy is to put all configurable files in /etc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]