Article View: comp.std.c
Article #3814Re: Clearing the screen
From: Stephen Baynes
Date: Tue, 22 Aug 1995 07:37
Date: Tue, 22 Aug 1995 07:37
22 lines
1405 bytes
1405 bytes
KENNETH MILES (kenneth.miles@almac.co.uk) wrote: : The problem is that I can't find any command to clear the screen apart : from the ANSI escape sequence but for this to work ANSI has to be : loaded. Within the scope of this newsgroup the only language feature that can be used for clearing the screen is to print a form feed [ putchar( '\f' ) ]. However the ANSI C standard does not require that the output device respond in any useful way. Using the ANSI escape sequence as you have tried is also a good way of clearing the screen. However it is up to you to ensure you are using a conforming display. Anything beyond that is OS or hardware specific and you will need to make your request in the apropriate newsgroup. -- Stephen Baynes baynes@mulsoc2.serigate.philips.nl Philips Semiconductors Ltd Southampton My views are my own. United Kingdom
Technical Details
Message-ID:
<DDpBuA.ME5@ukpsshp1.serigate.philips.nl>Path:
arc1-ca.pugleaf.net!phcoms4.seri.philips.nl!panther!baynesReferences:
<8AF94F5.02B5002528.uuout@almac.co.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!phcoms4.seri.philips.nl!panther!baynes From: baynes@ukpsshp1.serigate.philips.nl (Stephen Baynes) Subject: Re: Clearing the screen Sender: news@ukpsshp1.serigate.philips.nl (account for localnews) Message-ID: <DDpBuA.ME5@ukpsshp1.serigate.philips.nl> Date: Tue, 22 Aug 1995 07:37:22 GMT References: <8AF94F5.02B5002528.uuout@almac.co.uk> Organization: Philips Semiconductors, Southampton, UK X-Newsreader: TIN [version 1.2 PL2]