From: mdruiter AT cs DOT vu DOT nl Newsgroups: comp.os.msdos.djgpp Subject: Re: clear screen in bash ? Date: Thu, 6 Jan 2000 09:14:56 GMT Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Lines: 14 Message-ID: <851meg$4h@cs.vu.nl> References: <200001051525 DOT JAA17915 AT darwin DOT sfbr DOT org> <38742647 DOT DDFA40BB AT imrworldwide DOT com> NNTP-Posting-Host: galjas.cs.vu.nl User-Agent: tin/pre-1.4-19990927 ("Nine While Nine") (UNIX) (SunOS/5.5.1 (sun4u)) X-Poster-Key: sha1:Hhct4xNYXewkVb9gYCs5Nq0YYXE= Cancel-Lock: sha1:LOqjKEB8n0gAVdKASrgBWEcndto= To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Colin Forster wrote: > 1) alias cls='echo -n ^[[2J' # the ^[ is an esc (in vi I use ^V followed > by # ^[ where ^ is holding down the cntrl key) This (and the other options too) only works when ANSI.SYS has been loaded, which is not always true. alias cls='command.com /c cls' -- Groeten, *Michel* _http://www.cs.vu.nl/~mdruiter_ ____________ \ /====\ / "You know, Beavis, you need things that suck, \/ \/ to have things that are cool", Butt-Head.