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

#21 Post by musher0 »

foxpup wrote:
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.
Hi foxpup.

The answer to that question is yes and no.

Arranging programs, scripts and libraries into a big ensemble such as a
Puppy distro can be called "patching", I suppose, but not in the sense of
patching actual code.

In the case of urxvt, I would have to know the C language to make sure
I'm not breaking anything, and I don't. Since life only lasts a certain time,
one has to choose his battles! I'm beginning to know my way around the
(b)ash interpreter language, but C is a a specialty in itself.

That said, if we're patient enough and we search hard enough, I'm sure
we'll find a ready-made 256 colors urxvy somewhere!

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

#22 Post by musher0 »

foxpup wrote: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. :)
Nah, not Spring, not yet! Not here anyway!

I gather you'd be located in Italy or Spain where Spring starts early?

I probably have what we call here "cabin fever". We got hit yesterday
with a second big snow storm in a week! So people here at this time are
only leaving the house for absolute necessities, such as work or doing
the groceries.

But even 40 centimeters of snow will eventually melt!

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

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#23 Post by tlchost »

could ypu produce an sfs version that will play in 32 bit Tahr 6.0.6?
Thanks

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

#24 Post by musher0 »

tlchost wrote:could ypu produce an sfs version that will play in 32 bit Tahr 6.0.6?
Thanks
Hi tlchost.

There you go! :)

https://my.pcloud.com/publink/show?code ... Vo0SzIhnI7

This sfs was created and tested on TahrPup-6.0.6. Please see screenshot.

Enjoy!
Attachments
mc4818-on-tahrpup606.jpg
(79.94 KiB) Downloaded 559 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

#25 Post by musher0 »

Hello again all.

I tried to use the default file associations provided with mc, but they don't
work OOTB.

The problem was that in the mc config files, the association scripts were
listed as being in /usr/bin/libexec/mc, whereas in Puppy they should be
in /usr/libexec/mc.

Once the directory path is edited, the mc file association scripts use
Puppy's regular xdg-open main script for this kind of operations. Which
means we're back in the race, the files are associated with the proper
program, jpg's are shown in Puppy's default image viewer, and so on.

To get these file associations to work, please install the attached pet
archive, which provides the corrective. (If you ever need it, the original
mc.ext file has been renamed to /root/.config/mc/mc.ext.orig.)

Enjoy!

~~~~~~~~~~~
P.S. -- I'll continue testing, but if on your side you find weird bugs like this
with this compilation of mc, I'd be grateful if you report them below. By
co-operating, we'll all benefit. TIA.
Attachments
mc-file-assoc.JPG
With this modification, simply double-click on a picture (for example) in
your mc panel list, and it will show in your default image viewer. Same
goes for pdf, html, gnumeric, vob files, etc. But hit F3 for txt files.
(89.17 KiB) Downloaded 551 times
mc.ext_Puppy-0.1.pet
Please install this small pet to have our provided Midnight Commander
4.8.18 associate file types correctly in Puppy Linux.
(5.95 KiB) Downloaded 515 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#26 Post by tlchost »

musher0 wrote:
tlchost wrote:could ypu produce an sfs version that will play in 32 bit Tahr 6.0.6?
Thanks
Hi tlchost.

There you go! :)
thanks very much...seems to work fine in bootable usb tahr 6.0.6

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

#27 Post by musher0 »

Good to know. My pleasure.

Thanks for your report, tlchost.
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

#28 Post by musher0 »

Hello all.

I suspect a number of you mc enthusiasts know this already, but you can
access the terminal without pain from mc by doing Ctrl-o (that's letter "o",
not number zero).

Source: http://superuser.com/questions/635826/s ... -commander

Once your job in the terminal is finished, type Ctrl-o again and you're
back in mc with the usual files panels.

As a reminder, the command line at the bottom of the mc panels is
always available if it's only a short command you need to run.

IHTH.
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

#29 Post by musher0 »

Hello again.

If you don't like mc's internal viewer or editor, open
file /root/.config/mc/mc.ext, go at the bottom and
edit as follows:
### Default ###

# Default target for anything not described above
default/*
# Open=
# View=
Open=%var{EDITOR:joe} %f
View=%var{VIEWER:less} %f

### EOF ###
(Replace joe and less with your preferred editor and viewer of course.)

Source: https://www.cyberciti.biz/tips/midnight ... iewer.html

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

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

256 colors

#30 Post by foxpup »

Hey musher0

I've been fiddling with mc again.
I just got 256 colors support installing rxvt-unicode-256color package. I took it from debian jessie, as I always do for Tahr.
I had to add libperl5.20 as well. ncurses-term_5.9 was mentionned as dep, but not reported as such by the ppm. I added it anyway because I had to add libncursesw5 before. (I edited a previous message about the 3 links and added this.)
The 256color skins are very nice, dark on white.

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

#31 Post by foxpup »

musher0 wrote: Nah, not Spring, not yet! Not here anyway!

I gather you'd be located in Italy or Spain where Spring starts early?
No, not around the Med, I live near the Northsea.
Wednesday was a rare day. Cold and foggy days are normal now. Spring is not near here neither.
But even 40 centimeters of snow will eventually melt!
Well, here we have to wait for a decade to see that amount of snow.

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

Re: 256 colors

#32 Post by musher0 »

foxpup wrote:Hey musher0

I've been fiddling with mc again.
I just got 256 colors support installing rxvt-unicode-256color package. I took it from debian jessie, as I always do for Tahr.
I had to add libperl5.20 as well. ncurses-term_5.9 was mentionned as dep, but not reported as such by the ppm. I added it anyway because I had to add libncursesw5 before. (I edited a previous message about the 3 links and added this.)
The 256color skins are very nice, dark on white.
Hi foxpup!

That's great news!

Would you have the URL's for those packages, please?
And a screen shot, perhaps? I'm eager to see the result.

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

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

Re: 256 colors

#33 Post by foxpup »

musher0 wrote: Would you have the URL's for those packages, please?
And a screen shot, perhaps? I'm eager to see the result.
I just take them from the debian packages site.
For rxvt-unicode-256color you find links here: https://packages.debian.org/jessie/rxvt ... e-256color

I cannot find it in the slackware packages. Maybe the patch is already in the rxvt package from slackware and you just have to enable it in .terminfo? To be honnest, I do not know if I make any sense here. I've not used slack up till now.

Some screenshots:
Attachments
gray-orange-blue256.jpg
It's not spectacular, but the color choice is more delicate.
(71.4 KiB) Downloaded 1121 times
modarin256-defbg-thin.jpg
This one is very nice with the desktop shining through.
(67.75 KiB) Downloaded 1166 times

User avatar
Colonel Panic
Posts: 2171
Joined: Sat 16 Sep 2006, 11:09

#34 Post by Colonel Panic »

Thanks fpr this one! I've installed it and am using it now (in EmSee Ultron).
Gigabyte M68MT-52P motherboard, AMD Athlon II X4 630, 5.8 GB of DDR3 RAM and a 250 GB Hitachi hard drive running Ubuntu 16.04.6, MX-19.2, Peppermint 10, PCLinuxOS 20.02, LXLE 18.04.3, Pardus 19.2, exGENT 200119, Bionic Pup 8.0 and Xenial CE 7.5 XL.

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

#35 Post by musher0 »

@Colonel Paniic:

My pleasure!


@foxpup:

Thanks for the URL of the 256 colors urxvt and for the screenshots!


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

Re: 256 colors

#36 Post by musher0 »

foxpup wrote:(...) I cannot find it in the slackware packages. Maybe the patch is already in the rxvt package from slackware and you just have to enable it in .terminfo? To be honnest, I do not know if I make any sense here. I've not used slack up till now.(...)
Sometimes one can use a deb package in a slackware environment and provide the
missing dependencies if any.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

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

Re: 256 colors

#37 Post by foxpup »

musher0 wrote: Sometimes one can use a deb package in a slackware environment and provide the missing dependencies if any.
I guessed so: I occasionally installed something from slack or even took a lib from a rpm.

But when I googled about urxvt 256colors I got the impression that rxvt in slackware is compiled differently and the 256 colors just have to be turned on. The deb for 256 colors has the same source as plain rxvt. But as I said, I am not at home in slack.

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

#38 Post by musher0 »

Edited Nov. 19 2017.
~~~~~~~~~~~~~~~~


Hello all.

MC-4.8.19 is available as archive mc-4.8.19_exec.pet from
http://augras.eu/puppy_linux/?dir=mushe ... stFichiers.
Built on and for xenialPup-7. Should work on DPupStretch-7 also.
(Above paragrah edited Febr. 23, 2018.)

For those of you who know French, there is a discussion about it starting here.

BFN.
Last edited by musher0 on Fri 23 Feb 2018, 19:37, edited 2 times in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
s-kami
Posts: 138
Joined: Thu 30 Apr 2009, 11:56
Location: Hungary
Contact:

mc-4.8.20-i486.pet 30-Nov-2017 10:38 2.4M

#39 Post by s-kami »

New version, made by nocsak on LX7 Puppy - precise series
S-lang dependency there
mc-4.8.20-i486.pet 30-Nov-2017 10:38 2.4M

http://skamilinux.hu/nocsak/pet_LX7/midnight_commander/
[b]Hungarian Puppy Linux HQ[/b]
[url]http://skamilinux.hu[/url]
[img]https://skamilinux.hu/phpBB3/styles/prosilver/theme/images/site_logo.gif[/img]

hamoudoudou

Midnight commander has spanish commands.

#40 Post by hamoudoudou »

one could believe all commands are in English but he is wrong. Midnight commanders has spanish commands.So people can undestand easier how to practice.
Replace old Topic 2013 here
s-kami provides list of commands and explanations if needed.

Post Reply