Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Aug 2017, 02:39
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Midnight Commander, v. 4.8.18
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [37 Posts]   Goto page: 1, 2, 3 Next
Author Message
musher0


Joined: 04 Jan 2009
Posts: 10664
Location: Gatineau (Qc), Canada

PostPosted: Tue 14 Feb 2017, 14:41    Post subject:  Midnight Commander, v. 4.8.18
Subject description: Ever popular file manager
 

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:
https://my.pcloud.com/publink/show?code=XZfWFdZt5I7pajuI28uLmwmT4XOVpuuhF5y

Notes:
-- Anglophones and Francophones only need this one
-- The pet of the executable I made available yesterday (Valentine's Day,
ha ha...) was incomplete. If you downloaded it on Valentine's Day 2017,
please get rid of it and download the correct one above. I apologize for
any inconvenience.

The above pet archive is also available as an sfs, from here.

-- and the locale files:
https://my.pcloud.com/publink/show?code=XZg60dZv8b6SD4uk75IoAFJfh905X26NQhy

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
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:
ldd /usr/bin/mc | grep not
before running mc.

Any constructive feedback welcome.

Enjoy! Smile

~~~~~~~~~
PS. 1 --
A minor thing: if you don't like the white console to appear behind the
mc window, you can edit line
Quote:
Terminal=true
of the mc.desktop file to
Quote:
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.
~~~~~~~~~
mc-4.8.18.jpg
 Description   With modarcon16 skin. The window manager used here is wmx.
 Filesize   68.93 KB
 Viewed   372 Time(s)

mc-4.8.18.jpg


_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)

Last edited by musher0 on Thu 16 Feb 2017, 07:07; edited 6 times in total
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10664
Location: Gatineau (Qc), Canada

PostPosted: Tue 14 Feb 2017, 15:30    Post subject:  

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-midnight-commander-like-a-pro.

BFN.
mc-4.8.18(2).JPG
 Description   With "solarized" skin
 Filesize   45.57 KB
 Viewed   265 Time(s)

mc-4.8.18(2).JPG

mc-4.8.18(3).JPG
 Description   With "gotar" skin, showing the Options panel
 Filesize   72.09 KB
 Viewed   267 Time(s)

mc-4.8.18(3).JPG


_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)

Last edited by musher0 on Wed 15 Feb 2017, 03:31; edited 1 time in total
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10664
Location: Gatineau (Qc), Canada

PostPosted: Tue 14 Feb 2017, 16:13    Post subject:  

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:
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/slackware/slackware-14.1/slackware/l/slang-2.2.4-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.
libssh2-1.4.3-alt2.i586.pet
Description 
pet

 Download 
Filename  libssh2-1.4.3-alt2.i586.pet 
Filesize  69.75 KB 
Downloaded  35 Time(s) 
gpm-1.20.7-7-i686.pet
Description  "General Mouse" utility for CLI programs
pet

 Download 
Filename  gpm-1.20.7-7-i686.pet 
Filesize  170.5 KB 
Downloaded  41 Time(s) 

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
foxpup


Joined: 29 Jul 2016
Posts: 204
Location: europa near northsea

PostPosted: Tue 14 Feb 2017, 16:57    Post subject:  

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?
Back to top
View user's profile Send private message 
Galbi


Joined: 21 Sep 2011
Posts: 918
Location: Bs.As. - Argentina.

PostPosted: Tue 14 Feb 2017, 17:46    Post subject:  

Thanks musher0 for this .pets, very complete.

No missing deps in Pupjibaro Wheezy.

Saludos.

_________________
Remember: "pecunia pecuniam parere non potest"
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10664
Location: Gatineau (Qc), Canada

PostPosted: Tue 14 Feb 2017, 18:54    Post subject:  

foxpup wrote:
(...)
Was there a reason for not putting the mc.sh in the pet?

Yes. I had a bird-brain episode... Rolling Eyes

Edit: I have updated and re-uploaded the main pet. It now includes the
launch script. I apologize for any inconvenience.

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)

Last edited by musher0 on Wed 15 Feb 2017, 03:16; edited 1 time in total
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10664
Location: Gatineau (Qc), Canada

PostPosted: Tue 14 Feb 2017, 18:55    Post subject:  

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

No missing deps in Pupjibaro Wheezy.

Saludos.
Good to know.
Thanks, Galbi.

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
foxpup


Joined: 29 Jul 2016
Posts: 204
Location: europa near northsea

PostPosted: Tue 14 Feb 2017, 21:52    Post subject: extra info  

musher0 wrote:

Yes. I had a bird-brain episode... Rolling Eyes

???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, 07:50; edited 1 time in total
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10664
Location: Gatineau (Qc), Canada

PostPosted: Tue 14 Feb 2017, 22:54    Post subject: Re: extra info  

foxpup wrote:
musher0 wrote:

Yes. I had a bird-brain episode... Rolling Eyes

???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! Wink

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

BFN.

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10664
Location: Gatineau (Qc), Canada

PostPosted: Wed 15 Feb 2017, 03:17    Post subject:  

Edit: I have updated and re-uploaded the main pet. It now includes the
launch script. I apologize for any inconvenience.

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
foxpup


Joined: 29 Jul 2016
Posts: 204
Location: europa near northsea

PostPosted: Wed 15 Feb 2017, 03:34    Post subject: libs  

Quote:
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?
Back to top
View user's profile Send private message 
foxpup


Joined: 29 Jul 2016
Posts: 204
Location: europa near northsea

PostPosted: Wed 15 Feb 2017, 03:40    Post subject:  

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 Smile Maybe it really needs a holiday.
Back to top
View user's profile Send private message 
foxpup


Joined: 29 Jul 2016
Posts: 204
Location: europa near northsea

PostPosted: Wed 15 Feb 2017, 03:43    Post subject: skins  

All the skins are light on dark.
Are there none black/dark on white/light? Or is it not possible form some reason?
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10664
Location: Gatineau (Qc), Canada

PostPosted: Wed 15 Feb 2017, 05:00    Post subject: Re: skins  

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/midnight-commander-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.
modarcon16-rev.ini.zip
Description  Unzip in /usr/share/mc/skins.
zip

 Download 
Filename  modarcon16-rev.ini.zip 
Filesize  1.72 KB 
Downloaded  32 Time(s) 
mc-white_bg.JPG
 Description   
 Filesize   65.73 KB
 Viewed   260 Time(s)

mc-white_bg.JPG


_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10664
Location: Gatineau (Qc), Canada

PostPosted: Wed 15 Feb 2017, 05:29    Post subject:  

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!!! Wink

BFN.
mc-white_bg(1).JPG
 Description   gotar skin, reversed
 Filesize   50.57 KB
 Viewed   249 Time(s)

mc-white_bg(1).JPG

gotar-rev.ini.zip
Description 
zip

 Download 
Filename  gotar-rev.ini.zip 
Filesize  1.01 KB 
Downloaded  28 Time(s) 

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 3 [37 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1849s ][ Queries: 14 (0.0045s) ][ GZIP on ]