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 Sat 29 Aug 2015, 13:14
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
urxvt-9.21, w/ all plugins enabled, dated Dec. 31, 2014
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
musher0


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

PostPosted: Wed 21 Jan 2015, 18:11    Post subject:  urxvt-9.21, w/ all plugins enabled, dated Dec. 31, 2014
Subject description: For Precise Pups from 5.4.3 and above, and slacko-6.0b and above.
 

Edit, 28 Jan. 2015, 8:30 p.m.
For a compile compatible with Puppy Precise 5.4.3 and above, please go below, to:
http://murga-linux.com/puppy/viewtopic.php?p=824722&sort=lastpost#824722
~~~~~~~~~~~~~~
Hello, folks.

http://www13.zippyshare.com/v/K3HY0uNw/file.html is where you'll find
urxvt-9.21_pet.zip, which contains the executable and the man files in separate *.pet
archives.

Compiled on Puppy slacko-6.0b. You're welcome to test it on other recent Puppies that
have or support a glibc version of 2.17 or higher. (Edit, Jan. 29, 2015 :
typo corrected: 0.17 to 2,17. Thanks to griot for catching this.)


This compile enables you to have a tabbed terminal similar to mrxvt, but with UTF-8
code for your language.

The source was made available on New Year's Eve, so it's quite recent.
http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-9.21.tar.bz2

For more info: http://software.schmorp.de/pkg/rxvt-unicode.html

The script to obtain the urxvt terminal in the picture below:
Code:
#!/bin/sh
# $MBINS/console-hdr.sh
####
# Variables
Geom="g 88x22+240+140" # position
CLR="bg black -fg snow -tr -tint AntiqueWhite1 -sh 51" # couleurs
FNT="fn xft:Monaco:pixelsize=15:antialias=true:hinting=true" # fonte
TABS="pe tabbed -tabbar-bg 7 -tab-fg 15 -tab-bg 0" # taquets
ICN="icon /usr/share/pixmaps/puppy/terminal.svg" # icône

# Action
# urxvt -cd /root -b 18 -sr -T "Terminal urxvt" -$ICN -$Geom -$FNT -$CLR -$TABS &>/dev/null
# Alternately, this simpler command line can be enough for your use:
urxvt -sr -g 88x22  -pe tabbed -tabbar-bg 7 -tab-fg 15 -tab-bg 0 &>/dev/null


At variable TABS, you see the code coloring for the tabs and the number of tabs.
Depending on your use, you may be happŷ with the simpler, "alternate" line.

To get the most our of your "Rxvt-Unicode", type "man urxvt" or "urxvt --help | more".
(Yeah, with "| more" ! Because urxvt has screenfuls of config possibilities!) Smile

Finally, you may wish to type "bash prompt" in a search engine to learn how to set up
an urxvt prompt. (It's really another subject altogether.)

Enjoy!

musher0
Two_urxvt-9.21_Terminals.jpg
 Description   The bottom terminal is the one obtained with the alternate line in the script above.
You can fiddle with the color and transparency in the .Xresources file or in a script.
 Filesize   52.8 KB
 Viewed   302 Time(s)

Two_urxvt-9.21_Terminals.jpg


_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)

Last edited by musher0 on Mon 30 Mar 2015, 19:50; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
musher0


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

PostPosted: Sat 24 Jan 2015, 19:02    Post subject:  

Hello again, people.

I forgot to explain why I added the &>/dev/null at the end of the command line in the
script above.

I researched it a bit, and the need for it seems to arise from an oversight on the part of
one of the perl contributors to one of the urxvt plug-ins. The programmer knows about
it now, but he won't fix it until the next version, unfortunately.

So adding &>/dev/null at the end of an urxvt command is a necessary but temporary
solution.

If you don't use it, your xerrs.log file will fill up in no time with this message:
Quote:
In '(?...)', splitting the initial '(?' is deprecated in regex; marked by <-- HERE in m/( ? <-- HERE <= [0-9] ) _ (?= [0-9] ) / at /usr/share/perl5/utf8_heavy.pl line 247.

ad nauseam...

BFN.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Griot


Joined: 12 Sep 2014
Posts: 117
Location: Serbia

PostPosted: Thu 29 Jan 2015, 14:41    Post subject:  

Hello, musher0.

Just tried this .pet but it doesn't work with Precise 5.71/PAE kernel.
Typing
Code:
ldd --version
spits this out:
Code:
ldd --version
ldd (Ubuntu EGLIBC 2.15-0ubuntu10.4) 2.15


Am I missing something? Confused
Thanks!
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Thu 29 Jan 2015, 18:19    Post subject:  

Hello, Griot.

My error. I should have written glibc-2.17 instead of 0.17 in my opening post.
Thanks for catching my typo.

And you're right: since this urxvt-9.21 was compiled on slacko-6.0b, which uses
glibc-2.17, it means that this particular compilation of urxvt has a glibc too "high" to
run on a Precise Puppy. I apologize for any inconvenience.

I'm not promising anything, but give me a couple of days and I'll try to come up with
a Precise-compatible compilation.

Thanks again for your "falcon" eye!

BFN.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
musher0


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

PostPosted: Thu 29 Jan 2015, 21:26    Post subject:  

Hello again, Griot.

There you go! Smile

urxvt-9.21_PP543_pets.zip
-- http://www46.zippyshare.com/v/BrzGapAx/file.html -- Valid for at least the
next 30 days, maybe more, depending on the popularity of the downloads.

I compiled this one on Puppy Precise 5.4.3, which has a glibc version of 2.15, i.e. the
same as your Puppy Precise 5.7.1.

The zip archive contains two files: the installation of the "man" *.pet archive therein
is optional.

N.B.: the script that I provided in my initial post works with this compile too.

Enjoy! Very Happy

musher0
urxvt-9.21-for-PuppyPrecise-5.4.3-and-above.jpg
 Description   The larger terminal is the tabbed terminal; the smaller reddish one displays the
version and the available commands. Screen capture taken on Puppy Precise 5.4.3.
And note the title, eh? :-)
 Filesize   74.34 KB
 Viewed   205 Time(s)

urxvt-9.21-for-PuppyPrecise-5.4.3-and-above.jpg


_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Griot


Joined: 12 Sep 2014
Posts: 117
Location: Serbia

PostPosted: Fri 30 Jan 2015, 12:26    Post subject:  

Hello, musher0.
Sorry for the delayed response, those time zones... Confused
'Give me a couple of days...' That was WARP 9 speed of compiling,
thank you very much! Wink

So, it looks like this.



Cheers! :Ice_Cold_Beer:
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Fri 30 Jan 2015, 12:53    Post subject:  

Hi, Griot.

My pleasure!

You know you can use the tabs if you want to, eh? Simply by calling urxvt with
the little script in the first post.

BFN.

musher0

~~~~~~~~
Your wm looks nice. It is... ?

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Griot


Joined: 12 Sep 2014
Posts: 117
Location: Serbia

PostPosted: Fri 30 Jan 2015, 13:03    Post subject:  

Hi, musher0.

Yes, I saw the script and I'll give it a shot later.
Thanks for the reminder. Wink

WM is radky's FbBox 1-0 (Open Box with Fbpanel).
You can check it here: http://www.murga-linux.com/puppy/viewtopic.php?t=92982
Back to top
View user's profile Send private message 
Griot


Joined: 12 Sep 2014
Posts: 117
Location: Serbia

PostPosted: Fri 06 Feb 2015, 18:04    Post subject:    

Hi, musher0.

Griot wrote:
...I'll give it a shot later.

MUCH later, huh?. Confused

I've been playing around with this script but it seems I'm stupid when
it comes to scripting. Embarassed
Other that this one, I can't get no other combination
of colors. BG/FG and cursor colors are still the same, no matter what numbers are into play. Same for the tabs BG/FG colors.



My 'modified' script (only numbers in TABS and bottom line are changed)

Code:
#!/bin/sh
# $MBINS/console-hdr.sh
####
# Variables
Geom="g 88x22+240+140" # position
CLR="bg black -fg yellow -tr -tint AntiqueWhite1 -sh 51" # colors
FNT="fn xft:Monaco:pixelsize=15:antialias=true:hinting=true" # font
TABS="pe tabbed -tabbar-bg 1 -tab-fg 11 -tab-bg 0" # tabs
ICN="icon /usr/share/pixmaps/puppy/terminal.svg" # icon

# Action
# urxvt -cd /root -b 18 -sr -T "Terminal urxvt" -$ICN -$Geom -$FNT -$CLR -$TABS &>/dev/null
# Alternately, this simpler command line can be enough for your use:
urxvt -sr -g 88x22  -pe tabbed -tabbar-bg 1 -tab-fg 11 -tab-bg 0 &>/dev/null


Suggestions, please. Thanks.
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Fri 06 Feb 2015, 18:50    Post subject:  

Hello, Griot.

When I change the TABS line to
Code:
TABS="pe tabbed -tab-fg 15 -tabbar-bg 7"
# 1 red # 4 blue # 7 grey # This parameter not used => # -tab-bg 0"

(with a few color codes thrown in !)

I get *



For reference, here is a list of the 16 available colors for the urxvt tabs:
Quote:
color0 (black) = Black
1 (red) = Red3
2 (green) = Green3
3 (yellow) = Yellow3
4 (blue) = Blue3
5 (magenta) = Magenta3
6 (cyan) = Cyan3
7 (white) = AntiqueWhite
8 (bright black) = Grey25
9 (bright red) = Red
10 (bright green) = Green
11 (bright yellow) = Yellow
12 (bright blue) = Blue
13 (bright magenta)= Magenta
14 (bright cyan) = Cyan
15 (bright white) = White

(Source: https://wiki.frugalware.org/index.php/Rxvt-unicode, middle of the page; in date of today, 17:28,)

The color names above, to the right of the = sign, are the color names from file
file://localhost/usr/share/X11/rgb.txt. (This file will show in another tab in
your web browser if you right click on the file link.) This file is used by graphic
program gcolor2 if there is a symbolic link from /usr/share/X11/rgb.txt to
/root/.rgb.txt .

I hope this helps. BFN.

musher0

~~~~~~~~~
NOTE
* This is the first time that I've used the pclinuxos photo sharing service at:
http://myphotos.mypclinuxos.com Very nice service!
Using it is a great idea to lighten the load off the Puppy forum! Smile

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Griot


Joined: 12 Sep 2014
Posts: 117
Location: Serbia

PostPosted: Sat 07 Feb 2015, 10:15    Post subject:  

Hello, musher0.

Thank you for the tips/info. Tomorrow is my D-day for this. Laughing
I'll post results here.
Cheers!

P.S. Off topic, your post here is really helpful, especially for a
noob like me. :thumbup:
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Sat 07 Feb 2015, 14:04    Post subject:  

Griot wrote:
Hello, musher0.

Thank you for the tips/info. Tomorrow is my D-day for this. Laughing
I'll post results here.
Cheers!

P.S. Off topic, your post here is really helpful, especially for a
noob like me. :thumbup:


My pleasure!

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0662s ][ Queries: 12 (0.0061s) ][ GZIP on ]