public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Q: cursor color change in cygwin terminal
@ 2000-12-15  3:24 Josifovski Ljubomir-BLJ01Z
  2000-12-15  8:24 ` Charles S. Wilson
  0 siblings, 1 reply; 3+ messages in thread
From: Josifovski Ljubomir-BLJ01Z @ 2000-12-15  3:24 UTC (permalink / raw)
  To: 'cygwin@sourceware.cygnus.com'

Does cygwin terminal support cursor color change? 
Specifically, I'd like to change the colour of the cursor while in vim.

This is my terminfo entry:
$ infocmp
#       Reconstructed via infocmp from file: /usr/share/terminfo/c/cygwin
cygwin|ansi emulation for Cygwin,
        am, eo, mir, msgr, xon,
        colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64,
 
acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\
305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\37
6,
        bel=^G, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J,
        cnorm=\E[?25h, cr=^M, cub=\E[%p1%dD, cub1=\E[D,
        cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM,
        dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
        flash=\E[?5h\E[?5l$<200/>, home=\E[H, hpa=\E[%i%p1%dG,
        ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
        il1=\E[L, ind=^J, invis=\E[8m, kNXT=\E[6$, kPRV=\E[5$,
        kb2=\E[G, kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
        kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[[A,
        kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
        kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
        kf18=\E[32~, kf19=\E[33~, kf2=\E[[B, kf20=\E[34~,
        kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~,
        kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~,
        knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, op=\E[39;49m,
        rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E[10m, rmir=\E[4l,
        rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7,
        setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
 
sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%
;%?%p9%t;11%;m,
        sgr0=\E[0;10m, smacs=\E[11m, smir=\E[4h, smso=\E[7m,
        smul=\E[4m, tbc=\E[2g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c,
        u9=\E[c, vpa=\E[%i%p1%dd,

Is the terminfo entry the right place to look if the functionality is
supported?

thanks,

-- 
Ljubomir Josifovski
mailto:L.Josifovski@dcs.shef.ac.uk,blj01z@email.mot.com
http://www.dcs.shef.ac.uk/~ljupco


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Q: cursor color change in cygwin terminal
  2000-12-15  3:24 Q: cursor color change in cygwin terminal Josifovski Ljubomir-BLJ01Z
@ 2000-12-15  8:24 ` Charles S. Wilson
  0 siblings, 0 replies; 3+ messages in thread
From: Charles S. Wilson @ 2000-12-15  8:24 UTC (permalink / raw)
  To: Josifovski Ljubomir-BLJ01Z; +Cc: 'cygwin@sourceware.cygnus.com'

Josifovski Ljubomir-BLJ01Z wrote:

> Is the terminfo entry the right place to look if the functionality is
> supported?

Not with the precompiled vim package that setup installs for you.  It is
based on libtermcap (/etc/termcap) not libncurses (terminfo).  However,
if you compile vim yourself so that it links with libncurses, then yes.

--Chuck

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Q: cursor color change in cygwin terminal
@ 2000-12-15  7:11 Earnie Boyd
  0 siblings, 0 replies; 3+ messages in thread
From: Earnie Boyd @ 2000-12-15  7:11 UTC (permalink / raw)
  To: Josifovski Ljubomir-BLJ01Z, 'cygwin@sourceware.cygnus.com'

--- Josifovski Ljubomir-BLJ01Z <Ljubomir_Josifovski-BLJ01Z@email.mot.com>
wrote:
No, cursor color change isn't supported.
> 
> Is the terminfo entry the right place to look if the functionality is
> supported?
> 

Theoretically, yes.  However, it isn't necessarily correct.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         < http://earniesystems.safeshopper.com >         ---
--- Cygwin: POSIX on Windows < http://gw32.freeyellow.com/ > ---
---   Minimalist GNU for Windows < http://www.mingw.org/ >   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-12-15  8:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-15  3:24 Q: cursor color change in cygwin terminal Josifovski Ljubomir-BLJ01Z
2000-12-15  8:24 ` Charles S. Wilson
2000-12-15  7:11 Earnie Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).