Re: Mc Digest, Vol 67, Issue 20



Hello,

I've been lurking in this mailing list for some time now and would like to proceed on some of this now. Is this an acceptable means to introduce a question? I really do not understand the mechanics of it, being new to mailing lists.

Again my first question is "how do I use this medium to post a question?" Thanks for your comment and cheers, ----- Original Message ----- From: <mc-request gnome org>
To: <mc gnome org>
Sent: Sunday, November 29, 2009 3:47 PM
Subject: Mc Digest, Vol 67, Issue 20


Send Mc mailing list submissions to
mc gnome org

To subscribe or unsubscribe via the World Wide Web, visit
http://mail.gnome.org/mailman/listinfo/mc
or, via email, send a message with subject or body 'help' to
mc-request gnome org

You can reach the person managing the list at
mc-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Mc digest..."


Today's Topics:

  1. Re: multiple configs (Yury V. Zaytsev)
  2. Re: How to change the defaults for file highlighting?
     (Andrew Borodin)
  3. Re: How to change the defaults for file highlighting?
     (Theodore Kilgore)
  4. Re: How to change the defaults for file highlighting?
     (Yury V. Zaytsev)
  5. Re: How to change the defaults for file highlighting?
     (Theodore Kilgore)
  6. Re: How to change the defaults for file highlighting?
     (Yury V. Zaytsev)
  7. Re: multiple configs, and --program-prefix (MK)
  8. Re: multiple configs, and --program-prefix (Yury V. Zaytsev)
  9. Re: How to change the defaults for file highlighting?
     (Theodore Kilgore)
 10. Re: How to change the defaults for file highlighting?
     (Yury V. Zaytsev)


----------------------------------------------------------------------

Message: 1
Date: Sun, 29 Nov 2009 13:44:11 +0100
From: "Yury V. Zaytsev" <yury shurup com>
To: MK <halfcountplus intergate com>
Cc: mc gnome org
Subject: Re: multiple configs
Message-ID: <1259498651 7347 4 camel mypride>
Content-Type: text/plain

On Sat, 2009-11-28 at 19:46 -0500, MK wrote:

I just have this feeling I would do a little less ctrl-t if they were,
 for example, different colors.  I might be wrong, but it's worth a
 try.  Also different listing modes might be useful.

The only justification I would be convinced with is e.g. using different
color schemes for mc's running from different user accounts (blue for
main, red for root, green for limited users etc.), but this is already
possible.

Create a ticket with the justification on the trac if Rob's suggestion
of using the HOME hack does not work for you, we shall see what the
others have to say about this.

--
Sincerely yours,
Yury V. Zaytsev



------------------------------

Message: 2
Date: Sun, 29 Nov 2009 16:33:43 +0300
From: Andrew Borodin <aborodin vmail ru>
To: mc gnome org
Subject: Re: How to change the defaults for file highlighting?
Message-ID: <web-882845400 box vrn ru>
Content-Type: text/plain;charset=koi8-r

On Sat, 28 Nov 2009 15:04:29 -0600 (CST) Theodore Kilgore wrote:
one feature which from my perspective is both useless and irritating,
especially since I became used to the opposite behavior for the
previous ten years of constant desktop use of MC.

It's controversial issue. Something is useless for you, but that is
useful for me. Previous ten years I used 2-step way to select all stuff
in a directory: 1st step to select files and 2nd step to select
directories. Now I can do that by one action.

If there is such an option, I have not succeeded in finding it.

Since 11/18/2009 all options of "Select/Unselect group" dialog are
saved in 'select_flags' ini option (see http://www.midnight-commander.org/ticket/1776).

--
Andrew


------------------------------

Message: 3
Date: Sun, 29 Nov 2009 12:35:12 -0600 (CST)
From: Theodore Kilgore <kilgota banach math auburn edu>
To: Andrew Borodin <aborodin vmail ru>
Cc: mc gnome org
Subject: Re: How to change the defaults for file highlighting?
Message-ID:
<alpine LNX 2 00 0911291202390 2017 banach math auburn edu>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed



On Sun, 29 Nov 2009, Andrew Borodin wrote:

On Sat, 28 Nov 2009 15:04:29 -0600 (CST) Theodore Kilgore wrote:
one feature which from my perspective is both useless and irritating,
especially since I became used to the opposite behavior for the
previous ten years of constant desktop use of MC.

It's controversial issue. Something is useless for you, but that is
useful for me. Previous ten years I used 2-step way to select all stuff
in a directory: 1st step to select files and 2nd step to select
directories. Now I can do that by one action.


Andrew,

And now what I became accustomed to do with one action I have to do with
two :(

Most of the time, I want to deal with files, not with subdirectories. So
from my point of view this is an irritating inconvenience. Worse. If I do
not look twice, I ended up doing something that I really did not want to
do, at all, and there may or may not be a way to undo it. Worst-case
example:

I intend to delete a bunch of files and not at all to delete recursively
the subdirectories. So, based upon years of habit, I highlight the files
in order to delete them with F8. Oops. I forgot. They changed the way it
works. I don't know why, but they did. The subdirectories are gone, too!

Luckily, I have not done this very often, and not to anything important.
But the very idea that it _might_ happen is a recurring nightmare.

I mentioned what I think is an apt comparison some time ago: We own two
cars with control mechanisms for the windshield wipers and the headlights
which operate in a dangerously opposite manner. Now, the two cars are made
by two different manufacturers. And each has its own idea about how to
design things. So that is their excuse. But we don't have one.




If there is such an option, I have not succeeded in finding it.

Since 11/18/2009 all options of "Select/Unselect group" dialog are
saved in 'select_flags' ini option (see http://www.midnight-commander.org/ticket/1776).


Thanks for the reference. However, two questions:

1. Precisely to which version of the code does this patch pertain? I see
there "4.70" and "4.70-pre4"

2. How will things be different after the patch, exactly? What happens
right now is:

First time I open MC and do a highlighting, it by default marks
everything, including directories. Then I have to tick the box for Files
only, and it gets remembered for the entire session. I mean, if I later on
do a highlighting again, my previous choice is remembered, though not
recorded anywhere that I can find.

So from what I understand you have now made this more permanent by
providing a tie-in to the ini file?

If so, then that's great. We can all be happy.

Theodore Kilgore


------------------------------

Message: 4
Date: Sun, 29 Nov 2009 19:26:04 +0100
From: "Yury V. Zaytsev" <yury shurup com>
To: mc gnome org
Subject: Re: How to change the defaults for file highlighting?
Message-ID: <1259519164 28688 1 camel mypride>
Content-Type: text/plain

On Sun, 2009-11-29 at 12:35 -0600, Theodore Kilgore wrote:

So from what I understand you have now made this more permanent by
providing a tie-in to the ini file?

If so, then that's great. We can all be happy.

Yes, from now on you should be able to specify a default of your liking
in the ini-file.

--
Sincerely yours,
Yury V. Zaytsev



------------------------------

Message: 5
Date: Sun, 29 Nov 2009 13:39:12 -0600 (CST)
From: Theodore Kilgore <kilgota banach math auburn edu>
To: "Yury V. Zaytsev" <yury shurup com>
Cc: mc gnome org
Subject: Re: How to change the defaults for file highlighting?
Message-ID:
<alpine LNX 2 00 0911291323400 2068 banach math auburn edu>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed



On Sun, 29 Nov 2009, Yury V. Zaytsev wrote:

On Sun, 2009-11-29 at 12:35 -0600, Theodore Kilgore wrote:

So from what I understand you have now made this more permanent by
providing a tie-in to the ini file?

If so, then that's great. We can all be happy.

Yes, from now on you should be able to specify a default of your liking
in the ini-file.


Yuri,

Thanks. Now if someone can specify exactly which code version this is and
exactly where to get it?


Theodore Kilgore



------------------------------

Message: 6
Date: Sun, 29 Nov 2009 20:34:57 +0100
From: "Yury V. Zaytsev" <yury shurup com>
To: Theodore Kilgore <kilgota banach math auburn edu>
Cc: mc gnome org
Subject: Re: How to change the defaults for file highlighting?
Message-ID: <1259523297 28688 4 camel mypride>
Content-Type: text/plain

On Sun, 2009-11-29 at 13:39 -0600, Theodore Kilgore wrote:

Thanks. Now if someone can specify exactly which code version this is and
exactly where to get it?

[Midnight-Commander]
select_flags = ...


/* selection flags */
typedef enum {
   SELECT_FILES_ONLY = 1 << 0,
   SELECT_MATCH_CASE = 1 << 1,
   SELECT_SHELL_PATTERNS = 1 << 2
} select_flags_t;


--
Sincerely yours,
Yury V. Zaytsev



------------------------------

Message: 7
Date: Sun, 29 Nov 2009 15:03:42 -0500
From: MK <halfcountplus intergate com>
To: mc gnome org
Subject: Re: multiple configs, and --program-prefix
Message-ID: <20091129150342 ddfd3386 halfcountplus intergate com>
Content-Type: text/plain; charset=US-ASCII

My problem w/ rob0's method is that, as Yuri points out, the subshell now thinks ~ is something it is not, which for starters means copying or symlinking .bashrc, etc.

I could not find a configure option for this, so in the src/ directory of the tarball I tried this:

perl -pi -e's/\.mc/.mc2/g' *.*

and then compiled normally and ran make, but not make install -- I just renamed the executable "mc2" (nb. I do not use the internal editor!) and copied into /usr/local/bin next to the original mc.

I used the same source for both -- which brings up another question or issue. I was going to use the latest 4.7, configured --program-prefix=2, but after the make, all the binaries still had the normal name. Does "make install" add the prefixes? It does not appear to me from the Makefile that it will, so I did not try.

mc2 appears to run fine and it uses ~/.mc2 as it's config directory. Yay! I suppose it may take a few days to see if it will work out, but I don't think there will be a problem.

I think this would be a nice option and very easy to impliment as a command line option -- I could write a patch for it myself, if that is desired and allowed (who should I talk to?).

--
MK <halfcountplus intergate com>
C/perl/web programmer


------------------------------

Message: 8
Date: Sun, 29 Nov 2009 21:16:07 +0100
From: "Yury V. Zaytsev" <yury shurup com>
To: MK <halfcountplus intergate com>
Cc: mc gnome org
Subject: Re: multiple configs, and --program-prefix
Message-ID: <1259525767 28688 7 camel mypride>
Content-Type: text/plain

On Sun, 2009-11-29 at 15:03 -0500, MK wrote:

I could not find a configure option for this, so in the src/ directory of the tarball I tried this:

CFLAGS='-DMC_USERCONF_DIR=\".mc2\"' is your friend.

I think this would be a nice option and very easy to impliment as a
 command line option -- I could write a patch for it myself, if that is
 desired and allowed (who should I talk to?).

Join the discussion:

http://www.midnight-commander.org/ticket/1851

--
Sincerely yours,
Yury V. Zaytsev



------------------------------

Message: 9
Date: Sun, 29 Nov 2009 15:52:47 -0600 (CST)
From: Theodore Kilgore <kilgota banach math auburn edu>
To: "Yury V. Zaytsev" <yury shurup com>
Cc: mc gnome org
Subject: Re: How to change the defaults for file highlighting?
Message-ID:
<alpine LNX 2 00 0911291516290 2189 banach math auburn edu>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed



On Sun, 29 Nov 2009, Yury V. Zaytsev wrote:

On Sun, 2009-11-29 at 13:39 -0600, Theodore Kilgore wrote:

Thanks. Now if someone can specify exactly which code version this is and
exactly where to get it?

[Midnight-Commander]
select_flags = ...


/* selection flags */
typedef enum {
   SELECT_FILES_ONLY = 1 << 0,
   SELECT_MATCH_CASE = 1 << 1,
   SELECT_SHELL_PATTERNS = 1 << 2
} select_flags_t;

Yuri,

Sorry, that is not exactly what I meant.  I meant where do I get it? Which
version, precisely? An rc version? The main development tree? OK with me
whichever one it is. Just point me in the right direction.

The thing is, we all have to specialize. I am more or less a consumer of
what you are producing, though, I hope, a somewnat informed one.

OTOH, if you have a still camera or a webcam, or, perhaps occasionally
some other piece of USB hardware, it is quite possible that you are using
some of _my_ code in order to make it work. If so, then you probably are
willing to consume without developing incurable urges to participate
actively. And I totally understand.

So, as I said, which version of the code do I go and get?

To share with you one of my current concerns ought to put the matter in
perspective. Does anyone on this list know someone who owns a Genius Smart
300 camera? The user who helped me develop the stillcam support a couple
of years ago was a student in Zurich. He has apparently gone home to
Yerevan, or otherwise departed for parts unknown. I have lost contact with
him and I need to find someone else to test the kernel code which is
supposed to make it work in webcam mode.

Theodore Kilgore


------------------------------

Message: 10
Date: Sun, 29 Nov 2009 22:47:14 +0100
From: "Yury V. Zaytsev" <yury shurup com>
To: mc gnome org
Subject: Re: How to change the defaults for file highlighting?
Message-ID: <1259531234 28688 19 camel mypride>
Content-Type: text/plain

On Sun, 2009-11-29 at 15:52 -0600, Theodore Kilgore wrote:

Sorry, that is not exactly what I meant. I meant where do I get it? Which
version, precisely? An rc version? The main development tree? OK with me
whichever one it is. Just point me in the right direction.

I guess it should be in -pre4 tarball already, but, of course, in latest
master git branch as well.

The thing is, we all have to specialize. I am more or less a consumer of
what you are producing, though, I hope, a somewnat informed one.

I am no better informed than you, I'm not a coder, but rather a
packager. I've just searched the trac, git and the source code to gather
this information for you.

--
Sincerely yours,
Yury V. Zaytsev



------------------------------

_______________________________________________
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc


End of Mc Digest, Vol 67, Issue 20
**********************************





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