[SOLVED] xterm is being terrible customized in -current
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.
It just obvious. Xterm is almost unresponsive to its standard built in menu. With predefined fonts is completely useless for commands with long listings: eg. mail clients. It is supposed to be functional tool - so lets go back to its previous predefined settings - even konsole in KDE 4 is better customized - and what is important it allows easy done settings. If someone is looking for more nicer looking terminal emulator there is of course xfce-terminal. Do you believe that in fully maximized xterm on my 1200x800 screen is exactly 37 lines of input/output? In other words full screen terminal listing contains 37 lines. This almost VGA standard 24 lines on terminal. Manipulating font sizes does not help much - they are just being almost unreadable. Of course I can always switch to virtual console - and I often do - which ha 80 lines of input.
I have no idea what you are talking about. XTerm looks perfectly fine to me, also in fullscreen 1920x1024 resolution. Slackware-current has a new set of defaults for XTerm since January 2019 annd use Terminus as the default font, Do you have the correct app-defaults file installed?
And what do you mean with 'unresponsive'? I can not understand what you are hinting at, You mention 'mail client'. I use pine in a 1920x1024 pixels XTerm and my inbox has over 17,000 emails in it. Page-by-page scrolling is instantaneous, no visible delay when scrolling through the list with emails.
I was not precise enough. It is number of line per screen - on my listing of mail box there were all 37 lines on whole visible area. I hope you will agree it is definitely to few to work comfortable with long listings. I tried to help myself and I used menu to change font settings but none combination of settings was satisfactory. Even if I obtained greater number of lines text was difficult to read because font is set to bold and I can't change that through the menu. I am not complaining xterm does not work - but is poorly configured by default. On my Slackware 14.2 there is 61 lines per 1 screen. Just try seq n with correct n. So it is as twice as it offers xterm in -current. Of course problem is - what to consider default setting - shipped just with Slackware - versus custom. Because I can only make my own custom settings. So the question is: why default settings for xterm were changed? What was wrong with previous?
Previous settings were the upstream defaults. I pretty much never used xterm, and I'd have to say that was mostly because the stock settings with a white background and tiny fonts were mostly unreadable for me. So when GazL offered some improvements to the default settings, I had a look at them and agreed that they were an improvement and added them to the package.
If you don't agree, just do this and you'll be back at the old starting point:
The new settings were put in place on January 1st, so if they were truly "terrible" I'd have expected more torches and pitchforks by now ;-), but you or anyone else may feel free to weigh in here with their suggestions.
I agree that black small font on white background is difficult to read - myself I use green fonts on black which in full screen mode is quite readable and some apps just need densely packed lines. However this is can be done with simple command xterm -bg black -fg green. And it is easy to reconfigure xterm on fly with build in menu. Eg. to obtain large font. I was referring to xterm in 14.2. Now in -current when one starts xterm and use ctrl+rigth button menu - many option can't be changed - don't know - this comes from upstream or is it how xterm is being compiled for Slackware?
I agree that black small font on white background is difficult to read - myself I use green fonts on black which in full screen mode is quite readable and some apps just need densely packed lines. However this is can be done with simple command xterm -bg black -fg green. And it is easy to reconfigure xterm on fly with build in menu. Eg. to obtain large font. I was referring to xterm in 14.2. Now in -current when one starts xterm and use ctrl+rigth button menu - many option can't be changed - don't know - this comes from upstream or is it how xterm is being compiled for Slackware?
Other than the app-defaults, the only changes in how xterm is built on -current are the addition of --enable-regis-graphics and --enable-sixel-graphics. I don't think those build options would impact the crtl+right button menu. But I see in your previous comments that you were trying to disable bold fonts and not noticing an effect. Perhaps this is because the default font is terminus-bold.
Maybe it would be better if we specified the non-bold terminus font and then set XTerm*boldMode: true, so that it could be disabled through the menu?
Not everyone has good eyesight and I find the new defaults comfortable, and 37 lines more than sufficient, and there's always shift-keypad-minus if you need more columns/lines, but feel free to change it however you want. I'm quite content to customise it to my own needs, like I always have done.
The Xterm xresources I posted are just what suit me. I never expected Pat to adopt them as the defaults (not least because I turned off things like underline to more accurately emulate the linux virtual terminals).
I actually prefer the bold variant of terminus to the non-bold one, but like I said, I'm happy to go my own way, so do whatever keeps most people happy.
I use Dejavu sans mono with uxterm and tried the same with xterm, but it does not seem to care what i specify in .Xdefaults
anymore. Maybe I'm doing something wrong. Command line options work as usual though.
I do agree that xterm becomes beefy with default fonts. On a 1920x1080 it takes up most of the screen, On my 4k ist just perfect!
Pat, speaking of xterm. I noticed that the 'rep' feature has been added to xterm-256color/xterm-16color terminfo entries at some point along the way, so the customisation that we've been doing to the xterm-new def to add it is no longer of any use.
edit:
Code:
Sat Nov 2 18:52:12 UTC 2019
a/aaa_terminfo-6.1_20191026-x86_64-1.txz: Upgraded.
a/cryptsetup-2.2.2-x86_64-1.txz: Upgraded.
a/lvm2-2.03.06-x86_64-1.txz: Upgraded.
d/Cython-0.29.14-x86_64-1.txz: Upgraded.
l/ncurses-6.1_20191026-x86_64-1.txz: Upgraded.
Restore the --without-normal option to skip static libraries as used in 14.2.
Thanks to Richard Narron.
x/xterm-349-x86_64-2.txz: Rebuilt.
In /etc/app-defaults/XTerm, use terminus-medium instead of terminus-bold.
Thanks to igadoter.
Rogan, try setting the vt100.renderFont: true, otherwise it'll just use the bitmap fonts and ignore the ones specified in facename.¹
Also, use .Xresources not .Xdefaults which only gets used if there are no resources loaded into the Xserver's RESOURCE_MANAGER string.
----
¹ that's also a good way of switching back to ttf fonts for anyone who doesn't like the bitmap ones.
Thanks Gazl!
I did not know about the XTerm.VT100.renderfont thing. Is it a new option?. I've been scrolling through
that manpage som many times now I should have remembered it. I usually force .Xdefaults loading with xrdb
in .xinitrc but it's good to finally know the difference between .Xresouces and .Xdefaults.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.