This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hiding cursor on text terminals


On 7 January 2013 18:24, Damian Rodriguez Sanchez wrote:
> I have compiled a Linux ncurses gcc application on Cygwin. Everything works
> fine except for curs_set(0) calls which do not hide the cursor on text mode
> terminals (they work on X though). Does anybody know of a way to achieve
> this, even if it's not a portable solution?

What terminals have you tried running it in? There's a DEC control
sequence called DECTCEM for hiding or showing the cursor, which is
implemented in mintty (the default Cygwin terminal), xterm, rxvt, and
presumably others.

However, it isn't implemented in the Cygwin console layer used when
running a Cygwin program in a console window. (It could probably be
implemented in the Cygwin DLL using Windows' SetConsoleCursorInfo()
function.)

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]