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.
I wonder of the new konsole thinks it fixed a 'bug'. I suspect xterm may be thought of 'doing things right'.
I tried your prompt on xterm(1), and it matches your 'bad' prompt. On Slackware 15.0, under konsole, it looks different and better, it has no underlines.
Try removing the ";4" from both occurrences of \033[0;92;4m
i.e.
PS1='\[\033[0;92m\]\342\224\214\342\224\200\[\033[0m\]\[\e[42m\] \u@\h \[\e[0;32m\]\[\e[102m\]$triangle\[\e[0;30m\]\[\e[102m\] \w \[\e[0;92m\]\[\e[40m\]$triangle\[\e[0m\]\[\e[40m\]\n\[\033[0;92m\]\342\224\224\342\224\200\342\224\200\[\033[0;92;1m\]▶ \[\033[0m\]'
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008
Original Poster
Rep:
Thank you all.
This is definitely a bug, though I doubt that anyone will bother. I am going to submit a bug report just to have clear conscience
Thank you GrazL for pointing out the solution, removing only 4 will leave arrow green so I also changed
\033[0;92;1m
to
\033[0;92;0m
or replace 4 with 2 (not bold) and it works too.
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008
Original Poster
Rep:
Quote:
Originally Posted by EllenAnderson
Is this fixed?
No, but there is easy workaround as I mentioned above by replacing bold font with normal font. So it is possible to use normal font until bold font is fixed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.