SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
However, some commands; notably pstree, will spit out garbage instead of the ASCII styled lines (see the attached image).
I've also tried setting this to 0/1
Code:
Rxvt.utf8: 1
No success however. I'm using en_US / en_GB as my system locales if that is of any use. And the Tamsyn font works fine in other terminal emulators (xterm, konsole, xfce4-terminal, mate-terminal etc). Just seems to be rxvt doing this?
You can try running rxvt in a non-UTF8 locale to get tree, pstree to look right.
Code:
LANG=en_GB rxvt
Since Slackware made UTF-8 the default to support extended character sets, rxvt looks antiquated. I updated to urxvt from rxvt for UTF-8 support. One nice feature of urxvt is the ability to copy columns from output on a display.
Not a direct answer but... Why use a software released on 26 March 2003 (nearly 14 years ago)?
Use xterm.
Good point, but it's included in the default Slackware packages. No other reason than that really. Maybe it should be switched out for urxvt as a standard package?
You can try running rxvt in a non-UTF8 locale to get tree, pstree to look right.
Code:
LANG=en_GB rxvt
Since Slackware made UTF-8 the default to support extended character sets, rxvt looks antiquated. I updated to urxvt from rxvt for UTF-8 support. One nice feature of urxvt is the ability to copy columns from output on a display.
That's a woking solution! Thanks. I had forgotten Slackware switched to UTF-8 as default, and i just realised the standard rxvt doesn't support unicode... However i did try building rxvt-unicode a few times a while back and always get a build error about libharfbuzz?
That's a woking solution! Thanks. I had forgotten Slackware switched to UTF-8 as default, and i just realised the standard rxvt doesn't support unicode... However i did try building rxvt-unicode a few times a while back and always get a build error about libharfbuzz?
I guess the best option is to used rxvt-unicode, but how can i get this to compile on -current?
I can't test on current because I don't use it, but it works fine on 14.2 (harfbuzz-1.2.7-x86_64-1)
Maybe you can try to disable pixbuf "--disable-pixbuf" in the SlackBuild.
/usr/lib64/gcc/x86_64-slackware-linux/5.4.0/../../../../x86_64-slackware-linux/bin/ld: /usr/local/lib/libfreetype.a(autofit.c.o): undefined reference to symbol 'hb_font_destroy'
You have installed a broken freetype in /usr/local ?
I had no problems using the SlackBuild that Thom1b linked.
Some tips on using urxvt and getting the Home/End keys to work:
Edit /etc/inputrc as per http://www.linuxquestions.org/questi...ml#post5626083 Remember to logout and login for the changes to take effect.
I have these added to ~.Xresources
Code:
! Copied from 'man 7 uxrvt'. Use with -name URxvt
! Also need entries in /etc/inputrc (and logout and login to activate)
! Map Home key to line start for urxvt
URxvt.keysym.Home: \033[7~
! Map End key to line end for urxvt
URxvt.keysym.End: \033[8~
! Set the default font for urxvt
URxvt.font: -xos4-terminus-medium-*-*-*-16-*-*-*-*-*-*-*
! Set the default bold font for urxvt
URxvt.boldFont: -xos4-terminus-bold-*-*-*-16-*-*-*-*-*-*-*
! Set the default italic font for urxvt
URxvt.italicFont: -misc-dejavu sans mono-medium-o-*-*-17-*-*-*-*-*-*-*
! Set the default bold italic font for urxvt
URxvt.boldItalicFont: -misc-dejavu sans mono-bold-o-*-*-17-*-*-*-*-*-*-*
! Start tabbed terminals in uxrvt
! URxvt.perl-ext-common: default,tabbed
You have installed a broken freetype in /usr/local ?
Not that i'm aware of but looking at the error i posted that seems to be the case. I must have ran a make install on something a while ago which shipped freetype2 sources along with it.
I just cleaned up /usr/local/lib/ and /usr/local/include/ removing all the freetype2 folders and urxvt has now compiled!
Sorry for being a pain, i should have noticed that the first time around. But problem solved. Thanks for all the help and suggestions!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.