From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: clear screen in bash ? Date: Mon, 10 Jan 2000 12:23:42 +0200 Organization: NetVision Israel Lines: 24 Message-ID: References: <851meg$4h AT cs DOT vu DOT nl> <9g5h7ssb3sghlqvp4qd2drcvsiq73eic2q AT 4ax DOT com> NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news.netvision.net.il 947500022 5332 199.203.121.2 (10 Jan 2000 10:27:02 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 10 Jan 2000 10:27:02 GMT X-Sender: eliz AT is In-Reply-To: <9g5h7ssb3sghlqvp4qd2drcvsiq73eic2q@4ax.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 9 Jan 2000, Damian Yerrick wrote: > >> alias cls='command.com /c cls' > > > >Or just write a simple DJGPP program `cls.exe' that calls `clrscr'. > > Wouldn't that be a waste? DJGPP has to switch into protected mode. When Bash is your interactive shell, you are in protected mode already, even when you are sitting at the prompt. > It would be much more efficient CPU-and disk-wise to write it in > Borland C++. I try not to advise people to use proprietary tools. If they want a tiny 16-bit program, they can always use djasm. > The "hello world is huge" topic has been discussed here > many times. I fail to see how the size is relevant here. You launch much larger programs in Bash for almost anything, even "dir". Why should another 40K worth of an .exe file matter?