Article View: gnu.epoch.misc
Article #867How to change cursor/pointer colors?
From: Iain A F Fleming
Date: Tue, 08 Jun 1993 10:51
Date: Tue, 08 Jun 1993 10:51
55 lines
2628 bytes
2628 bytes
>
> i can't seem to find how to do this by looking through
> the info pages. i am running epoch 4.2 on a sparc10 running 4.1.3,
> and using olvwm 3.3 as the window manager.
>
From my epoch-setup file:
;; --Our foreground colour is (offwhite)
(foreground "#ffe6db")
(foreground "#ffe6db" (epoch::minibuf-screen))
(push '(foreground . "#ffe6db") epoch::screen-properties)
;; --Our background colour is black
(background "black")
(background "black" (epoch::minibuf-screen))
(push '(background . "black") epoch::screen-properties)
;; --Use uparrow intead of pencil
(cursor-glyph 68)
(cursor-glyph 68 (epoch::minibuf-screen))
(push '(cursor-glyph . 68) epoch::screen-properties)
;; --Use a red pointer, to match all the other windows
(cursor-color "red")
(cursor-color "red" (epoch::minibuf-screen))
(push '(cursor-color . "red") epoch::screen-properties)
;; --Use a yellow cursor, to be visible
(cursor-background "yellow")
(cursor-background "yellow" (epoch::minibuf-screen))
(push '(cursor-background . "yellow") epoch::screen-properties)
;; --Use a red letters inside yellow cursor, to be visible
(cursor-foreground "red")
(cursor-foreground "red" (epoch::minibuf-screen))
(push '(cursor-foreground . "red") epoch::screen-properties)
;; --Use reverse video for highlighting
(setq motion::style (make-style))
(set-style-foreground motion::style "red")
(set-style-background motion::style "yellow")
(set-style-underline motion::style (background))
;; (set-style-background-stipple
;; motion::style (make-bitmap 4 4 "\167\273\335\356"))
hope this helps.
(BTW, it in the FAQ)
--
Iain A F Fleming Numerical Algorithms Group Ltd Oxford UK OX2 8DR
iainf@nag.co.uk tel: +44.865.511245 x255 fax: +44.865.310139
** Fortran-90: The Future of Fortran Here Today **
["No more good must be attempted than the people can bear" -Solon]
Technical Details
Message-ID:
<16112.9306080849@nags2.nag.co.uk>Path:
arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uknet!bnr.co.uk!bnrgate!nott!torn!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!nag.co.UK!iainfReferences:
<1993Jun07.210431.21378@news.mentorg.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,27e0c47f9f8d2490 X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1993-06-08 03:59:56 PST Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uknet!bnr.co.uk!bnrgate!nott!torn!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!nag.co.UK!iainf From: iainf@nag.co.UK (Iain A F Fleming) Newsgroups: gnu.epoch.misc Subject: How to change cursor/pointer colors? Date: 8 Jun 1993 06:51:23 -0400 Organization: GNUs Not Usenet Lines: 56 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <16112.9306080849@nags2.nag.co.uk> References: <1993Jun07.210431.21378@news.mentorg.com>