Emacs Block Cursor is opaque (Linux RH5.0, XFCom_3DLabs)

Emacs Block Cursor is opaque (Linux RH5.0, XFCom_3DLabs)

Post by James Cowni » Tue, 13 Oct 1998 04:00:00



I just started using a nice shiny new Linux box, but I have this problem
:-

In emacs (and as far as I can tell, only in emacs), the text block
cursor
comes out completely solid, so you can't see the character underneath.

This happens with both Emacs 19.31.1 and 20.2.1, and it only happens
when
displaying to the Linux box. If I use either of these with the display
pointing at a SUN, they're fine.

This makes me think that it's an X problem of some sort, but things like
xterms have a perfect block cursor which doesn't obscure the underlying
text...

Any ideas ?

TIA

-- Jim


Dolphin Interconnect Solutions  +44 117 9071438
http://www.dolphinics.com/toolworks

 
 
 

Emacs Block Cursor is opaque (Linux RH5.0, XFCom_3DLabs)

Post by Kevin Ivor » Tue, 13 Oct 1998 04:00:00



> In emacs (and as far as I can tell, only in emacs), the text block
> cursor
> comes out completely solid, so you can't see the character underneath.

This is almost definitely a problem of your X server. I had the same
problem with my Matrox card as well. This problem only occured in
16 or 24 bpp, I don't remember. Best is to get the newest X server
you can find, either XFree86 3.3.2 or XSuSE
  http://www.suse.de/XSuSE/XSuSE_E.html
(most recent version of XFCom_3DLabs: Version 4.30 as of September 12, 1998)

Hope this helps,
Kevin
--
  Kevin Ivory                           Tel: +49 5556 979 434
  Max-Planck-Institut fuer Aeronomie    Fax: +49 5556 979 240

D-37191 Katlenburg-Lindau, GERMANY      http://www.gwdg.de/~kivory2/

 
 
 

Emacs Block Cursor is opaque (Linux RH5.0, XFCom_3DLabs)

Post by James Cowni » Wed, 14 Oct 1998 04:00:00


Well, I believe that the problem is in X server, as Kevin suggested.

In absence of a fix for that (or the server sources, which are as yet
unreleased), here's what I did in case anyone else has the same problem.

In your .emacs add

;;; Use a red bar cursor until the X server is fixed
(setq default-frame-alist
      (append '((cursor-type . bar))
              '((cursor-color . "Red"))
              default-frame-alist))

That gets you a bright red vertical bar cursor, around which you can
still see the character at point.

Enjoy.

-- Jim


Dolphin Interconnect Solutions  +44 117 9071438
http://www.dolphinics.com/toolworks

 
 
 

1. gnu emacs 19.28/linux 1.1.73/X86Free-3.1: cursor is opaque

In all my X apps, the cursor is transparent (ie, you can see the text
under the cursor, which is a solid box).  In gnu emacs 19.28 it is
solid and opaque.

I looked in the src/x*.c files for clues as to how to fix this (I
looked for xor'ing options but found none).  If all apps behaved this
way, I'd say it's a server bug, but they don't.  It's only emacs, and
only the emacs that I built (the pre-compiled version of emacs 19.25
from the slackware distribution doesn't suffer this problem, but it
has other bugs which I want to correct).  I've looked through the .h
files in emacs and I can't find anything.

Anyone have an idea?  Thanks.
--
Kevin Layer, Franz Inc.         1995 University Avenue, Suite 275

Phone: (510) 548-3600           FAX: (510) 548-8253

2. NIC fault tolerance

3. Opaque cursor in emacs

4. Kernel compile error

5. No-blink patch and opaque block cursor...

6. Running multiple web servers for different orgs.

7. Block cursor -> underscore cursor in Xterm?

8. doubt regarding Cisco Certification Exams?

9. I am not able to compile Emacs 19.25 under Linux anymore

10. Block cursor on Linux console

11. IP masquerading on Linux RH5 blocks some web sites

12. Emacs cursor

13. Emacs has no cursor when running under enlightenment?