On 2020-11-08 06:53 +0800, 積丹尼 Dan Jacobson wrote:

> Package: xterm
> Version: 361-1
> Severity: minor
>
> Lately when we paste with SHIFT+INSERT, the pasted text is in reverse
> video.

I presume you are using bash which added this feature in version 5.1, in
zsh it has been available for a few years.

> That's great, but that is the same color as our cursor, which "gets
> lost" due to it.

This can be irritating at first, although I have gotten used to it.

> So perhaps make the text a different color.
>
> (I'm using
> https://www.jidanni.org/comp/configuration/.Xresources
> https://www.jidanni.org/comp/configuration/ etc. settings.)

I have not looked at your settings, but xterm has command options and
resources to change the color of either the cursor or selected text.
>From the manpage:

,----
|  -cr color
|          This option specifies the color to use for text cursor.
|          The default is to use the same foreground color that is
|          used for text.  It sets the cursorColor resource according
|          to the parameter.
| 
|  -hm     Tells xterm to use highlightTextColor and highlightColor
|          to override the reversed foreground/background colors in a
|          selection.  It sets the highlightColorMode resource to
|          “true”.
| 
|  -selbg color
|          This option specifies the color to use for the background
|          of selected text.  If not specified, reverse video is
|          used.  See the discussion of the highlightColor resource.
| 
|  -selfg color
|          This option specifies the color to use for selected text.
|          If not specified, reverse video is used.  See the
|          discussion of the highlightTextColor resource.
`----

You might want to play with these options until you find some color
combination that suits you.

Cheers,
       Sven

Reply via email to