Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: Notesfiles $Revision: 1.6.2.17 $; site uiucdcs.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!inuxc!pur-ee!uiucdcs!hohensee
From: hohensee@uiucdcs.UUCP
Newsgroups: net.micro.pc
Subject: Re: Elementry "C" question for the PC
Message-ID: <24700095@uiucdcs.UUCP>
Date: Tue, 15-Jan-85 01:58:00 EST
Article-I.D.: uiucdcs.24700095
Posted: Tue Jan 15 01:58:00 1985
Date-Received: Wed, 16-Jan-85 04:58:54 EST
References: <1050002@acf4.UUCP>
Lines: 12
Nf-ID: #R:acf4:-105000200:uiucdcs:24700095:000:391
Nf-From: uiucdcs!hohensee    Jan 15 00:58:00 1985

The easiest way, really, is to set your PC up with an
ANSI device driver ... by including "DEVICE=ANSI.SYS" 
as a line in your CONFIG.SYS file.  This will open a
world of screen functions up to the programmer.  Check
out chapter 13 on Extended Keyboard functions in the DOS
manual.

Then to clear the screen simply:

#define ESCAPE 27
clear_screen()       {    printf("%d[2J", ESCAPE);    }