Path: utzoo!attcan!uunet!tektronix!percival!parsely!agora!ihf1!omepd!merlyn From: merlyn@intelob.biin.com (Randal L. Schwartz @ Stonehenge) Newsgroups: comp.unix.questions Subject: Re: clearing the terminal screen Keywords: setenv clear vt100 Message-ID: <4013@omepd.UUCP> Date: 21 Dec 88 20:57:20 GMT References: <7007@batcomputer.tn.cornell.edu> <1908@ogccse.ogc.edu> Sender: news@omepd.UUCP Reply-To: merlyn@intelob.biin.com (Randal L. Schwartz @ Stonehenge) Distribution: comp Organization: Stonehenge; netaccess via BiiN, Hillsboro, Oregon, USA Lines: 26 In-reply-to: schaefer@ogccse.ogc.edu (Barton E. Schaefer) In article <1908@ogccse.ogc.edu>, schaefer@ogccse (Barton E. Schaefer) writes: | Try using | | setenv CLEAR `clear | tr -d '\0'` | | I'm not positive that will work, but it has a fighting chance. :-) It's simpler than that: tr(1) deletes ALL nulls, regardless of your command line arguments. So, to use this undocumented feature: setenv CLEAR "`clear | tr`" Simple, eh? Disclaimer: I've given up my csh(1) guru card about six months ago (about the same time I gave up my vi(1) guru card and went to GNU Emacs). 'setenv' syntax should thus be checked carefully; use at your own risk. :-) (However, the trick about tr should allow me to renew my UN*X Guru Card, eh guys?) -- Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 on contract to BiiN Technical Information Services (for now :-), in a former Intel building in Hillsboro, Oregon, USA. or ...!tektronix!inteloa[!intelob]!merlyn SOME MAILERS REQUIRE GRRRRR! Standard disclaimer: I *am* my employer!