Page 1 of 3

skins

Posted: Wed 15 Feb 2017, 09:46
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?

Posted: Wed 15 Feb 2017, 10:39
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.

Posted: Wed 15 Feb 2017, 12:46
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. :)

Posted: Wed 15 Feb 2017, 18:48
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.

Posted: Wed 15 Feb 2017, 18:59
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.

Posted: Wed 15 Feb 2017, 19:53
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.

Posted: Wed 15 Feb 2017, 20:01
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.

Posted: Wed 15 Feb 2017, 22:55
by tlchost
could ypu produce an sfs version that will play in 32 bit Tahr 6.0.6?
Thanks

Posted: Thu 16 Feb 2017, 08:43
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!

Posted: Thu 16 Feb 2017, 10:53
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.

Posted: Fri 17 Feb 2017, 10:50
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

Posted: Fri 17 Feb 2017, 15:17
by musher0
Good to know. My pleasure.

Thanks for your report, tlchost.

Posted: Sat 18 Feb 2017, 15:23
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.

Posted: Sat 18 Feb 2017, 16:38
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.

256 colors

Posted: Sun 19 Feb 2017, 14:12
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.

Posted: Sun 19 Feb 2017, 14:22
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.

Re: 256 colors

Posted: Sun 19 Feb 2017, 15:46
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

Re: 256 colors

Posted: Mon 20 Feb 2017, 09:13
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:

Posted: Tue 21 Feb 2017, 00:49
by Colonel Panic
Thanks fpr this one! I've installed it and am using it now (in EmSee Ultron).

Posted: Tue 21 Feb 2017, 02:28
by musher0
@Colonel Paniic:

My pleasure!


@foxpup:

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


BFN