Midnight Commander, versions 4.8.18 to 4.8.22

Filemanagers, partitioning tools, etc.
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Midnight Commander, versions 4.8.18 to 4.8.22

#1 Post by musher0 »

Edit, Nov. 15, 2017 --
MC-4.8.19 is available from this post.
Edit, Dec. 1, 2017 --
MC-4.8.20 is available from this post.
Edit, Jan. 6, 2019 --
V. 4.8.22 has arrived in this post.
musher0

~~~~~~~~~~~~~~~~~~~
Hello all.

Here is the ever popular Midnight Commander (aka "mc"), v. 4.8.18,
latest as of this writing.

It comes in two pet archives:
-- the executable, also containing about a dozen skins and a desktop file:
http://augras.eu/puppy_linux/?dir=mushe ... stFichiers
available as a pet or sfs archive;
-- and the localization files (NLS pet).

Compiled on Slim-Slacko-6, a Slacko 6 puplet. Its glicbc is 2.17, so it
should run on any Puppy with an equal or greater glibc version.

(Paragraph edited:)
The mc.desktop file calls a little launching script. It provides urxvt as an
independent and partially transparent support for mc, making it into just
another window.

Some Puppies may require additional libraries. They are offered in the
3rd post below. Once you have installed mc, please check if you need any
of them with

Code: Select all

ldd /usr/bin/mc | grep not
before running mc.

Any constructive feedback welcome.

Enjoy! :)

~~~~~~~~~
PS. 1 --
A minor thing: if you don't like the white console to appear behind the
mc window, you can edit line
Terminal=true
of the mc.desktop file to
Terminal=false
PS. 2 --
Midnight Commander's file association scripts do not work OOTB on
Puppy. To get them to work, please install the pet archive provided

below, +/- at the middle of page 2.
~~~~~~~~~
Attachments
mc-4.8.18.jpg
With modarcon16 skin. The window manager used here is wmx.
(68.93 KiB) Downloaded 1560 times
Last edited by musher0 on Sun 06 Jan 2019, 16:35, edited 12 times in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

Hello again people.

Here are two other screenshots and a link to a useful how-to for mc:
http://klimer.eu/2015/05/01/use-midnigh ... like-a-pro.

BFN.
Attachments
mc-4.8.18(2).JPG
With "solarized" skin
(45.57 KiB) Downloaded 1428 times
mc-4.8.18(3).JPG
With "gotar" skin, showing the Options panel
(72.09 KiB) Downloaded 1402 times
Last edited by musher0 on Wed 15 Feb 2017, 07:31, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3 Post by musher0 »

Hello again.

As mentioned, some Puppies may require add'l libraries to run mc. Once
you have installed mc, please check if you need any of them with

Code: Select all

ldd /usr/bin/mc | grep not
before running it.

The libraries you may need for Midnight Commander are attached. (Not
all Puppies need them, some Puppies have some of those libs already.)

Also possibly the slang package from
http://slackware.cs.utah.edu/pub/slackw ... i486-3.txz
This one, not any libslang library package, because the slang headers in
/usr/include are also needed, and this package has them.

That should be it. It's unlikely, but please let me know if your Puppy
would need other libs to run mc.

BFN.
Attachments
libssh2-1.4.3-alt2.i586.pet
(69.75 KiB) Downloaded 681 times
gpm-1.20.7-7-i686.pet
"General Mouse" utility for CLI programs
(170.5 KiB) Downloaded 715 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#4 Post by foxpup »

Thanks musher0 for this classic!
I didn't have a dual pane installed yet.
I installed it in Tahr, no missing deps (but I 've installed libs for other apps before, so I am not sure if some are missing in the original Tahr).

Was there a reason for not putting the mc.sh in the pet?

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#5 Post by Galbi »

Thanks musher0 for this .pets, very complete.

No missing deps in Pupjibaro Wheezy.

Saludos.
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#6 Post by musher0 »

foxpup wrote:(...)
Was there a reason for not putting the mc.sh in the pet?
Yes. I had a bird-brain episode... :roll:

Edit: I have updated and re-uploaded the main pet. It now includes the
launch script. I apologize for any inconvenience.
Last edited by musher0 on Wed 15 Feb 2017, 07:16, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#7 Post by musher0 »

Galbi wrote:Thanks musher0 for this .pets, very complete.

No missing deps in Pupjibaro Wheezy.

Saludos.
Good to know.
Thanks, Galbi.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

extra info

#8 Post by foxpup »

musher0 wrote: Yes. I had a bird-brain episode... :roll:
???Okay

I installed the other pets/txz anyway. They had some dependencies that I had to resolve with ... links:
libpcre.so.1 (to libpcre.so.3)
libncursesw.so.6 (to libncursesw.so.5.9)
libcrypto.so.10 (to libcrypto.so.1.0.0)

The above libs I could not find in deb or txz packages, not yet anyway.
[edit] I also had to install libncursesw5; I took it from debian jessie.
Everything works fine again.
Last edited by foxpup on Sun 19 Feb 2017, 11:50, edited 1 time in total.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Re: extra info

#9 Post by musher0 »

foxpup wrote:
musher0 wrote: Yes. I had a bird-brain episode... :roll:
???Okay

I installed the other pets/txz anyway. They had some dependencies that I had to resolve with ... links:
libpcre.so.1 (to libpcre.so.3)
libncursesw.so.6 (to libncursesw.so.5.9)
libcrypto.so.10 (to libcrypto.so.1.0.0)

The above libs I could not find in deb or txz packages, not yet anyway.
Everything works fine again.
Hi Foxpup.

I meant that I forgot to put it in the pet archive! As in absent-
mindedness! ;)

So in Tahrpup you sort of had the libs, but you had to provide links to
the proper file names?

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#10 Post by musher0 »

Edit: I have updated and re-uploaded the main pet. It now includes the
launch script. I apologize for any inconvenience.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

libs

#11 Post by foxpup »

So in Tahrpup you sort of had the libs, but you had to provide links to
the proper file names?
Yes, the versions of the missing libs are not to be found in the repos of debian, ubuntu and slackware. But on the fora they say to link, maybe temporarely, because it could be the libs get compiled later, so better to document this actions.

I am not sure these additional libs are essential anyway. mc ran fine without them too, at first sight.
But I installed them because the slang header from the tzx lacks in tahr. What is this header for?

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#12 Post by foxpup »

musher0 wrote:Edit: I have updated and re-uploaded the main pet. It now includes the
launch script. I apologize for any inconvenience.
Brain works properly again :) Maybe it really needs a holiday.

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

skins

#13 Post by foxpup »

All the skins are light on dark.
Are there none black/dark on white/light? Or is it not possible form some reason?

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Re: skins

#14 Post by musher0 »

foxpup wrote:All the skins are light on dark.
Are there none black/dark on white/light? Or is it not possible form some reason?
Hi foxpup.

It's no doubt possible. There used to be many sites with mc themes/skins,
and you can't find them anymore. I don't know what happened to them.

In any case, here are a few directions you may wish to explore:

-- please find attached a screenshot of what I got simply by
switching the colors on line 70 of the modarcon16 skin in directory
/usr/share/mc/skins.

-- this article may help you create or edit a skin:
https://ajnasz.hu/blog/20080101/midnigh ... r-coloring

-- there are reports that the look of mc changes quite a bit if one can
activate 256 colors in the terminal program. And then of course one
can use 256 colors themes.

IHTH.
Attachments
modarcon16-rev.ini.zip
Unzip in /usr/share/mc/skins.
(1.72 KiB) Downloaded 549 times
mc-white_bg.JPG
(65.73 KiB) Downloaded 1421 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#15 Post by musher0 »

Hi foxpup.

Here is another experiment obtained by switching the top two lines and
colors of the [Core] section of the gotar skin.

This is getting interesting!!! ;)

BFN.
Attachments
mc-white_bg(1).JPG
gotar skin, reversed
(50.57 KiB) Downloaded 1369 times
gotar-rev.ini.zip
(1.01 KiB) Downloaded 558 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

skins

#16 Post by foxpup »

This is getting interesting!!!
Yes it is! Looks good.

I do not have time to try myself at the moment, just peeping from time to time.
I come back to this when I do have time.
there are reports that the look of mc changes quite a bit if one can
activate 256 colors in the terminal program. And then of course one
can use 256 colors themes.
I already noticed I could not use these skins. Any idea how to do this?

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#17 Post by musher0 »

Hello all.

The pet containing the mc executable I made available yesterday
(Valentine's Day 2017) had the /etc/mc directory at the wrong place.
Sorry about that. The wrong place in the hierarchy of directories prevented
the sfs.ini from loading and had an impact on the colors of some skins.

I just made available a new, correctly structured, pet. If you downloaded
the pet of the executable yesterday (Valentine's Day 2017) please erase it
and download the new one from the initial (1st) post of this thread.

Thanks.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#18 Post by foxpup »

hey musher0, must be spring, these birds in your head and all...
Today is a wonderfull 15°C, allmost springlike day here, on the other side of the Atlantic. :)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#19 Post by musher0 »

Hello foxpup and all.

About 256 support, I just found this. which appears to come from a
serious programmer.

He says that urxvt compiled OOTB supports only 88 colors. One has to apply
a 256 color patch to the code and recompile it to get the full 256 colors.

Unfortunately, I do not know how to patch code.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#20 Post by foxpup »

Unfortunately, I do not know how to patch code.
Me neither.
musher0, I would expect you had to do some patching when building your Puduan. But I do not know what it involves to build a puppy.

Post Reply