Re: screen clearing in ANSI C
- From: "David T. Ashley" <dta@xxxxxxxx>
- Date: Mon, 27 Nov 2006 20:07:48 -0500
"Ben Pfaff" <blp@xxxxxxxxxxxxxxx> wrote in message
news:87mz6cmpw0.fsf@xxxxxxxxxxxxxxxxxxx
"David T. Ashley" <dta@xxxxxxxx> writes:
"Leslie Kis-Adam" <dfighter@xxxxxxxxxxx> wrote in message
news:ek7s1a$fjk$1@xxxxxxxxxxxxxxxxxx
Hi everyone!
Does anyone know, if it is possible to clear the screen in ANSI C?
If it is,then how?
Any help would be appreciated.
I don't know about ANSI ... but in the *nix world most shell programs
emulate the VT100 ... the following program will clear the screen.
This is exactly why off-topic questions should not receive
answers: often, the given "answers" are wrong.
Non-sequitur: even if the question were on-topic, there is no guarantee I
would have answered it correctly.
Additionally, my answer is "right". The short program will clear the screen
using Putty and probably also using SSH Secure Shell.
I also pointed the original poster to VTXXX materials ... a starting point.
I'm not sure there is a single method that will clear the screen on all
platforms.
In the Unix world, the shell has nothing to do with terminal
emulation.
That is like claiming that traffic lights have nothing to do with
automobiles ...
The shell (bash or similar) usually [ultimately] interacts with the user via
some kind of terminal emulator ... terminal emulation comes into it quite
quickly unless you only output and input sequential lines of text.
http://en.wikipedia.org/wiki/Unix_shell
.
- Follow-Ups:
- Re: screen clearing in ANSI C
- From: Mark McIntyre
- Re: screen clearing in ANSI C
- From: Walter Roberson
- Re: screen clearing in ANSI C
- References:
- screen clearing in ANSI C
- From: Leslie Kis-Adam
- Re: screen clearing in ANSI C
- From: David T. Ashley
- Re: screen clearing in ANSI C
- From: Ben Pfaff
- screen clearing in ANSI C
- Prev by Date: Re: screen clearing in ANSI C
- Next by Date: Re: Build-in sqrt()?
- Previous by thread: Re: screen clearing in ANSI C
- Next by thread: Re: screen clearing in ANSI C
- Index(es):
Relevant Pages
|
|