attached is a patch that adds a new cursor. It should propably be done
differently but it works as I want it to and would like to share it
with you nevertheless.
The current box cursor suffers from the problem that its background
color is fixed. If I set it to a bright color I have a problem with
bright backgrounds, and if I set it to a dark color it's the same
problem with dark backgrounds. Unfortunately I often find myself
having different background colors when using different CLI
The solution is to do the same thing as other terminal programs (e.g.
KDE's konsole) do: the cursor just inverts the character. So the
character where the cursor on has the character foreground as
background and the characters background as foreground. If the window
is inactive a border in the same color as the character is printed
What's missing in this patch is the changes to the PreferencePanel. I
think it got converted by my XCode on Leopard to a new format (I'm
more of a Linux guy who loves vim, mc and make :-) and am not very
familiar with XCode yet... at least I managed to implement what I
wanted pretty quickly). All you have to do is to enhance the cursor
radio buttons by a new element (I made it two rows and two colums) and
give the new element the tag "3".