Written by

Retired
Question Brian Downing · Feb 20, 2018

How to disable the visible cursor in COS

I want to disable / turn off the visible cursor and then re-enable from with a Cache MUMPS (COS) routine.
Can anyone advise please ?
I am using the free Intersystems Cache installation (CachePCkit V2017.1) on Windows 10 for my own use & personal development.

Comments

John Murray · Feb 20, 2018

Many terminals, including the one with Cache, will respond to specific escape-sequences to hide and show the cursor. For example:

w ! w $c(27),"[?25l" w "Cursor hidden" h 5 w ! w $c(27),"[?25h" w "Cursor shown" h 5 w !

0