Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!rpi!bu.edu!mirror!frog!cpoint!crackers!m2c!umvlsi!dime!aspasia!eli From: eli@aspasia.gang.umass.edu (Eli Brandt) Newsgroups: comp.lang.pascal Subject: Re: changing the cursor character in Turbo Pascal Keywords: cursor Message-ID: <18113@dime.cs.umass.edu> Date: 8 Aug 90 19:48:00 GMT References: <3979@rex.cs.tulane.edu> Sender: news@dime.cs.umass.edu Reply-To: eli@aspasia.CS.UMASS.EDU (Eli Brandt) Organization: University of Massachusetts, Amherst Lines: 21 In article <3979@rex.cs.tulane.edu> lang@rex.cs.tulane.edu (Raymond Lang) writes: > >How do you change the cursor character in Turbo Pascal version 3? > >What I want to do is change it to a space (i.e., make it invisible) >and then for certain parts of the program change it back to an >underline (make it visible again). > >Thanx in advance, > >Ray >lang@rex.cs.tulane.edu There are several ways to do this, none of which are really good. You can turn the cursor off on EGA/VGA by tweaking the hardware, but this doesn't work on CGA. You can move the cursor off-screen, but you may still get some cursor-flicker when you move it back on to print something. The method I prefer is to park it offscreen and then never move it back on - just write directly to video memory. Faster, too, particularly in v3.0 Eli