Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!usc!snorkelwacker!mit-eddie!attctc!vector!holston!barton From: barton@holston.UUCP (Barton A. Fisk) Newsgroups: comp.unix.xenix Subject: Re: Xenix clear screen function.. Summary: try this on the ansi console Message-ID: <5677@holston.UUCP> Date: 8 Feb 90 17:51:46 GMT References: <153@mnopltd.UUCP> <4185@helios.TAMU.EDU> <25CFA32B.1493@marob.masa.com> Organization: Barton A. Fisk & Co. Lines: 14 In article <25CFA32B.1493@marob.masa.com>, daveh@marob.masa.com (Dave Hammond) writes: > In article <4185@helios.TAMU.EDU> jfrench@photon.UUCP (Jeff French) writes: > >In article <153@mnopltd.UUCP> gatech!stiatl!mnopltd!neal writes: > Alternatively, on the console and other ANSI terminals (vt100, vt220, ...) > you can echo the 6 char sequence ESC [ H ESC [ J to clear the screen > and move the cursor home. > On the ansi console it's easier to just enter echo "\f\c". This can be put into a script called clear in /usr/bin and should clear the screen and move the cursor home. I used this on my old version of xenix 2.1. -- Barton A. Fisk | UUCP: {attctc,texbell}vector!holston!barton PO Box 1781 | (PSEUDO) DOMAIN: barton@holston.UUCP Lake Charles, La. 70602 | ---------------------------------------- 318-439-5984 | "Let him who is without sin cast the first stone"-JC