Sorry, I'm a bit behind on mail.

On Sun 17 Nov 2024 at 10:50:31 (-0500), Chris Green wrote:
> I'm running Debian 12 on two systems, on both of them I use large
> terminal (xfce4) windows quite extensively and I use a light grey
> background in the terminal windows.  This means that the default X
> cursor isn't very visible when it's somewhere in one of the terminal
> windows and I often have trouble seeing it.
> 
> Alternatively a way to simply change the colour of the I-Beam would
> help, it's obviously designed to be most visible on a dark background.

  http://shallowsky.com/linux/x-cursor-themes.html has some good tips.
  I use these settings for a nice visible plus-sign cursor in .Xdefaults:

    ! XTerm*pointerShape: double_arrow works, but is confusing when you
    ! try to lengthen a given window vertically.
    XTerm*pointerShape:           plus
    XTerm*pointerColor:           blue
    XTerm*pointerColorBackground: red

> Please note this is the X/mouse cursor I'm talking about, not the text
> cursor that shows where you are entering text in a terminal window.

  Since I prefer black text on a white background, I found a blue cursor
  to be more visible:

    XTerm.VT100*cursorColor: blue

  Some other settings I've found useful:

    ! scrollback buffer lines - 65535 is max on most machines
    ! (64 is default)
    XTerm*saveLines:            20000

    ! Some OS versions get this wrong.
    XTerm.VT100*termName:                   xterm-color

    ! Xterm should do jump scrolling.  Normally, text is scrolled one
    ! line at a time; this option allows xterm to move multiple lines at
    ! a time so that it does not fall as far behind.  Its use is strongly
    ! recommended since it makes xterm much faster.
    XTerm*jumpScroll:                       true

    ! An xterm should be a login shell that honors .profile and
    ! generally initializes the shell environment the way you expect.
    ! I have no idea why the default is to not do this.
    XTerm*loginShell:                       true

    ! Xterm may scroll asynchronously, meaning that the screen does not
    ! have to be kept completely up to date while scrolling.  This allows
    ! xterm to run faster.
    XTerm*multiScroll:                      true

    ! Uncomment this to use color for underline attribute
    XTerm.VT100*colorULMode:                on
    XTerm.VT100*underLine:                  off

    ! Uncomment this to use color for the bold attribute
    XTerm.VT100*colorBDMode:                on

  Hope this helps.

-- 
Karl Vogel                      I don't speak for anyone but myself

Please whitelist *.playboy.com because one of the law firm partners who
signs the paychecks "likes to read the articles".
                        --Reddit "unusual IT support tickets", 5 Nov 2024

Reply via email to