Bug 105875 - get the underlined text to be colored
Summary: get the underlined text to be colored
Status: CONFIRMED
Alias: None
Product: konsole
Classification: Applications
Component: emulation (show other bugs)
Version: 1.5
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-18 11:58 UTC by Godofredo Fdez.
Modified: 2012-09-06 19:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Adds 6 new profile properties for enabling/disabling and optionally coloring bolded and underlined text. (8.19 KB, patch)
2012-09-06 19:40 UTC, Christopher Schwaab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Godofredo Fdez. 2005-05-18 11:58:04 UTC
Version:           1.5 (using KDE KDE 3.4.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

----------------mail sent to konsole-devel@kde.org ------------------

Hi.

When I do "man man", how can I get the underlined text to be colored,
when using Konsole?
I've managed to find the place in the Konsole settings where I can
change the color for bold text, but not for underlined text.

I have been looking for it in google but... :-(

Thanks.

P.D.: in xterm it is possible (in .Xdefaults):

XTerm.VT100*colorULMode: on
XTerm.VT100*underLine: off
XTerm*VT100*colorUL: magenta

XTerm*VT100*colorBDMode: on
XTerm*VT100*colorBD: blue

------------------- Answer from "Kurt V. Hindenburg" <kurt.hindenburg@kdemail.net> ---------------

Hi,
 Please make a wish on bugs.kde.org.  It won't be forgotten that way... 
currently I'm not aware if this is possible.
  Regards,
   Kurt
Comment 1 Michael(tm) Smith 2007-01-05 04:44:20 UTC
*** This bug has been confirmed by popular vote. ***
Comment 2 Michael(tm) Smith 2007-01-05 04:45:52 UTC
+1 (well, actually, +20) from me on this.

Date: Thu, 4 Jan 2007 18:33:58 +0000
From: Robert Knight <robertknight@gmail.com>
To: konsole-devel@kde.org
Subject: Re: [Konsole-devel] color text instead of underline?

Hello,

Konsole doesn't provide any facility to do this currently, I suggest
filing a bug report on bugs.kde.org

Regards,
Robert.

On 04/01/07, Michael(tm) Smith <smith@sideshowbarker.net> wrote:
> Is it possible to cause Konsole to use a different color for
> underlined text (in addition to or instead of rendering it with a
> underline)?
>
>   --Mike
Comment 3 Jekyll Wu 2012-05-09 06:34:33 UTC
If I understand it correctly, those xterm options allow users to control the semantic of the underline attribute: 

   * draw text together with underline 
   * draw text using the different color specified by user, but no underline

Although I generally do not care about how the underline  atribute is processed, I myself prefer the rxvt-unicode way, which allows users to control the color used for drawing the underline itself.
Comment 4 Christopher Schwaab 2012-09-06 19:40:31 UTC
Created attachment 73710 [details]
Adds 6 new profile properties for enabling/disabling and optionally coloring bolded and underlined text.

Here's a braindead patch to get things started.  It just changes the way the bold and underline rendition flags are handled.  To test it out add something like the following to your profile

[Appearance]
EnableUnderline=false
ColorUnderlineMode=true
UnderlineColor=blue
ColorBoldMode=true
BoldColor=red
EnableBold=true