Chapter 1
The CRT unit.

This chapter describes the CRT unit for Free Pascal, both under DOS LINUX and WINDOWS. The unit was first written for DOS by Florian klämpfl. The unit was ported to LINUX by Mark May1, and enhanced by Michaël Van Canneyt and Peter Vreman. It works on the LINUX console, and in xterm and rxvt windows under X-Windows. The functionality for both is the same, except that under LINUX the use of an early implementation (versions 0.9.1 and earlier of the compiler) the crt unit automatically cleared the screen at program startup.

There are some caveats when using the CRT unit:

This chapter is divided in two sections.


 1.1 Types, Variables, Constants
 1.2 Procedures and Functions
   AssignCrt
   CursorBig
   ClrEol
   ClrScr
   CursorOff
   CursorOn
   Delay
   DelLine
   GotoXY
   HighVideo
   InsLine
   KeyPressed
   LowVideo
   NormVideo
   NoSound
   ReadKey
   Sound
   TextBackground
   TextColor
   TextMode
   WhereX
   WhereY
   Window