From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 4 Sep 1997 12:20:02 -0400 From: Eran Gabber eran@research.bell-labs.com Subject: [9fans] question Topicbox-Message-UUID: 618ea012-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19970904162002.YUMXexbFeG1_a3YPdJzYN6XlhnPg1CRGUnVjSIvJD8s@z> On Thu, 4 Sep 1997, Franklin Robert Araujo =?iso-8859-1?Q?Fran=E7a?= wrote: > Is there in Plan 9 a command like "clear" of UNIX or "clrscr" of DOS? > > Franklin. > The following program clears the current 8.5 window. It behaves much like Unix "clear". Enjoy. Eran ====== /* * Clear the window */ #include #include #include void main(int argc, char *argv[]) { binit(0, 0, 0); bitblt(&screen, screen.clipr.min, &screen, screen.clipr, Zero); bflush(); exits(""); }