urxvt-9.21, w/ all plugins enabled, dated Dec. 31, 2014

Miscellaneous tools
Post Reply
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

urxvt-9.21, w/ all plugins enabled, dated Dec. 31, 2014

#1 Post by musher0 »

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. ... ost#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/Att ... 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: Select all

#!/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!) :)

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
Attachments
Two_urxvt-9.21_Terminals.jpg
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.
(52.8 KiB) Downloaded 828 times
Last edited by musher0 on Mon 30 Mar 2015, 23:50, edited 3 times in total.
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

#2 Post by musher0 »

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:
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
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Griot
Posts: 131
Joined: Fri 12 Sep 2014, 18:10
Location: Serbia

#3 Post by Griot »

Hello, musher0.

Just tried this .pet but it doesn't work with Precise 5.71/PAE kernel.
Typing

Code: Select all

ldd --version
spits this out:

Code: Select all

ldd --version
ldd (Ubuntu EGLIBC 2.15-0ubuntu10.4) 2.15
Am I missing something? :?
Thanks!

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

#4 Post by musher0 »

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

#5 Post by musher0 »

Hello again, Griot.

There you go! :)

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! :D

musher0
Attachments
urxvt-9.21-for-PuppyPrecise-5.4.3-and-above.jpg
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? :-)
(74.34 KiB) Downloaded 749 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Griot
Posts: 131
Joined: Fri 12 Sep 2014, 18:10
Location: Serbia

#6 Post by Griot »

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

So, it looks like this.

Image

Cheers! :Ice_Cold_Beer:

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

#7 Post by musher0 »

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... ?
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Griot
Posts: 131
Joined: Fri 12 Sep 2014, 18:10
Location: Serbia

#8 Post by Griot »

Hi, musher0.

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

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

User avatar
Griot
Posts: 131
Joined: Fri 12 Sep 2014, 18:10
Location: Serbia

#9 Post by Griot »

Hi, musher0.
Griot wrote:...I'll give it a shot later.
MUCH later, huh?. :?

I've been playing around with this script but it seems I'm stupid when
it comes to scripting. :oops:
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.

Image

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

Code: Select all

#!/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.

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

#10 Post by musher0 »

Hello, Griot.

When I change the TABS line to

Code: Select all

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 *

Image

For reference, here is a list of the 16 available colors for the urxvt tabs:
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
[url]file://localhost/usr/share/X11/rgb.txt[/url]. (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! :)
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Griot
Posts: 131
Joined: Fri 12 Sep 2014, 18:10
Location: Serbia

#11 Post by Griot »

Hello, musher0.

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

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

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

#12 Post by musher0 »

Griot wrote:Hello, musher0.

Thank you for the tips/info. Tomorrow is my D-day for this. :lol:
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!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

rochr4
Posts: 2
Joined: Thu 22 Jun 2017, 10:35

flags / update

#13 Post by rochr4 »

My first post, Hello forum!

Request as in topic.

Thank You.

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

#14 Post by musher0 »

Hello rochr4.

Welcome to the Kennels! :)

I hope you will find what you need and have an enjoyable experience on
our Puppy forum.

You will find the urxvt-9.22 you requested in this Internet directory:

https://augras.eu/documents/ws-default/ ... s_généraux

second file from the bottom.

Once you've highlighted the file, a download icon will appear at the top
right of the page. Just click on that icon to start the download. One double-
clicks on the downloaded archive to install the program.

Please note that you will need glibc 2.24 or higher on your Puppy for this
version of urxvt to run. To know which glibc your Puppy is using, type

Code: Select all

ldd --version
in a terminal.

I compiled it for and on DpupStretch-7.0_a, with the --all parameter, IIRC.

Any questions, please ask. I will try to provide you with an answer.

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

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#15 Post by belham2 »

musher0 wrote:
You will find the urxvt-9.22 you requested in this Internet directory:

https://augras.eu/documents/ws-default/ ... s_généraux

second file from the bottom.

Hi Musher (or should I call you the "Vladimir-Putin-Russia-Mother-Country-Hater...hahahahahha, just joking ya :wink: ),

I went to your link at augras, and downloaded the urxvt-9.2.2.. Gracias!

rochr4
Posts: 2
Joined: Thu 22 Jun 2017, 10:35

Welcome to the Kennels!

#16 Post by rochr4 »

Thanks musher0!

I am on precise, my glibc is 2.15 ,
I compiled rxvt-unicode-9.22 with --enable-everything flag and I am running urxvt tabbed with unicode smoothly with Your script.

The question, is " &>/dev/null " at the end of two lines still required in rxvt-unicode-9.22 ? I run without it.

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

#17 Post by musher0 »

Good to hear.

But which script ? :) ( I have written a few! )

About the /dev/null thing, check the contents of file /tmp/xerrs.log. If you
have lots of garbage there related to urxvt, you need the &>/dev/null.

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

Post Reply