Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!sci.ccny.cuny.edu!phri!marob!daveh From: daveh@marob.masa.com (Dave Hammond) Newsgroups: comp.unix.xenix Subject: Re: Xenix clear screen function.. Message-ID: <25CFA32B.1493@marob.masa.com> Date: 7 Feb 90 04:25:14 GMT References: <153@mnopltd.UUCP> <4185@helios.TAMU.EDU> Reply-To: daveh@marob.masa.com (Dave Hammond) Organization: ESCC, New York City Lines: 19 In article <4185@helios.TAMU.EDU> jfrench@photon.UUCP (Jeff French) writes: >In article <153@mnopltd.UUCP> gatech!stiatl!mnopltd!neal writes: >>->Does my Xenix '286 ver. 2.1.1 have a "clear screen" funtion that I am >>->overlooking? Under MS/DOS the command is "cls", and on SunOS it's "clear". >>try 'tput clear'... wasn't that obvious?... >The problem is that ver 2.1.1 doesn't support "tput". It is not an option >from the command line of any shell I've tried. On the console screen only, you can echo a Control-L to clear the screen and move the cursor home. 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. -- Dave Hammond daveh@marob.masa.com uunet!masa.com!marob!daveh