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 20 Sep 2017, 05:34
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 2 of 3 [37 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
foxpup


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

PostPosted: Wed 15 Feb 2017, 05:46    Post subject: skins  

Quote:
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.

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


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

PostPosted: Wed 15 Feb 2017, 06:39    Post subject:
Subject description: /etc/mc corrected to /usr/etc/mc, sorry.
 

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
~~~~~~~~~~
« 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: 232
Location: europa near northsea

PostPosted: Wed 15 Feb 2017, 08:46    Post subject:  

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. Smile
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Wed 15 Feb 2017, 14:48    Post subject:  

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
~~~~~~~~~~
« 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: 232
Location: europa near northsea

PostPosted: Wed 15 Feb 2017, 14:59    Post subject:  

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


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

PostPosted: Wed 15 Feb 2017, 15:53    Post subject:  

foxpup wrote:
Quote:
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
~~~~~~~~~~
« 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: 10793
Location: Gatineau (Qc), Canada

PostPosted: Wed 15 Feb 2017, 16:01    Post subject:  

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

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
~~~~~~~~~~
« 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 
tlchost

Joined: 05 Aug 2007
Posts: 2050
Location: Baltimore, Maryland USA

PostPosted: Wed 15 Feb 2017, 18:55    Post subject:  

could ypu produce an sfs version that will play in 32 bit Tahr 6.0.6?
Thanks
Back to top
View user's profile Send private message Visit poster's website 
musher0


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

PostPosted: Thu 16 Feb 2017, 04:43    Post subject:  

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

Hi tlchost.

There you go! Smile

https://my.pcloud.com/publink/show?code=XZvaRdZiuFmmG5trRJcOQAfYNVo0SzIhnI7

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

Enjoy!
mc4818-on-tahrpup606.jpg
 Description   
 Filesize   79.94 KB
 Viewed   169 Time(s)

mc4818-on-tahrpup606.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: 10793
Location: Gatineau (Qc), Canada

PostPosted: Thu 16 Feb 2017, 06:53    Post subject:
Subject description: Dir. for mc file associations scripts slightly different in Puppy Linux
 

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.
mc-file-assoc.JPG
 Description   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.
 Filesize   89.17 KB
 Viewed   154 Time(s)

mc-file-assoc.JPG

mc.ext_Puppy-0.1.pet
Description  Please install this small pet to have our provided Midnight Commander
4.8.18 associate file types correctly in Puppy Linux.
pet

 Download 
Filename  mc.ext_Puppy-0.1.pet 
Filesize  5.95 KB 
Downloaded  49 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 
tlchost

Joined: 05 Aug 2007
Posts: 2050
Location: Baltimore, Maryland USA

PostPosted: Fri 17 Feb 2017, 06:50    Post subject:  

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

thanks very much...seems to work fine in bootable usb tahr 6.0.6
Back to top
View user's profile Send private message Visit poster's website 
musher0


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

PostPosted: Fri 17 Feb 2017, 11:17    Post subject:  

Good to know. My pleasure.

Thanks for your report, tlchost.

_________________
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: 10793
Location: Gatineau (Qc), Canada

PostPosted: Sat 18 Feb 2017, 11:23    Post subject:
Subject description: Neat trick!
 

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/show-terminal-in-midnight-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
~~~~~~~~~~
« 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: 10793
Location: Gatineau (Qc), Canada

PostPosted: Sat 18 Feb 2017, 12:38    Post subject:  

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:
Quote:
### 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/midnightcommander-set-vi-as-default-editor-viewer.html

IHTH.

_________________
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: 232
Location: europa near northsea

PostPosted: Sun 19 Feb 2017, 10:12    Post subject: 256 colors  

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.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [37 Posts]   Goto page: Previous 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.0467s ][ Queries: 14 (0.0045s) ][ GZIP on ]