[email protected]
[Top] [All Lists]

Re: multiple configs

Subject: Re: multiple configs
From: Keith Roberts
Date: Sun, 29 Nov 2009 11:42:11 +0000 GMT
On Sat, 28 Nov 2009, Yury V. Zaytsev wrote:

To: /dev/rob0 <[email protected]>
From: Yury V. Zaytsev <[email protected]>
Subject: Re: multiple configs

On Sat, 2009-11-28 at 13:42 -0600, /dev/rob0 wrote:
On Sat, Nov 28, 2009 at 02:08:53PM -0500, MK wrote:
Is it possible to start mc with an alternate .ini file?  Judging
by the man page, I suspect not, but I have to ask.
I found out with a simple experiment:
    $ mkdir mc-test # not strictly necessary but it helps
    $ HOME=$HOME/mc-test mc
What about creating a hard link in the .mc/ directory to the
required configuration file in same directory.
Name the hard-link 'ini' and point it mc-ini-whatever?

I tried this and it works. The only thing is when you edit and save the ini file in using mc itself, using the 'hard link' the following message appears:
┌────────────────── Warning ───────────────────┐
│  File has hard-links. Detach before saving?  │
│                                              │
│         [ Yes ]  [ No ]  [ Cancel ]          │

Kind Regards,

Keith Roberts


All email addresses are challenge-response protected with
TMDA [http://tmda.net]

Where will you spend Eternity?
Mc mailing list
<Prev in Thread] Current Thread [Next in Thread>