🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #14203

RE: Borrar pantalla en C

#14203
From: colibr�_epil�ptico
Date: Sun, 03 Dec 2000 06:21
42 lines
2513 bytes
Se hace con la siguiente l�nea:
printf("%c[H%c[J",27,27);

EstEl <Enrique@imladris.org> escribi� en el mensaje de noticias
377609.nn.ln@127.0.0.1...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> A ver si puedo decir algo a DaVinci......
> > Ejem. Pregunta boba.
>
> Ejem... respuesta estupida :)
>
> > �C�mo borro la pantalla al estilo clear en un programita en C?. Se trata
de
> > no usar ncurses, sino las funciones habituales printf, etc y poder dejar
la
> > pantalla en blanco en un momento dado.
> >
> > �Una ayudita?... gracias.
>
> Metes x retornos de carros por pantalla donde X es mas que el numero de
> lineas que acepta la pantalla.
>
> (No me mireis asi, es lo que hace el clrscr en pascal... :D)
>
> - --
> Este mail esta en.......
> (      (     (    (   (  ( ((in Dolby Pro
)) )  )   )    )    )      )
>                   Enrique(EstEl en irc.unionlatina.org:#berta)
>                       Usuario registrado de Linux:140947
> Si no se oye la musica configura bien windows y reinicia un par de
veces...
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.4 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE6JqAjs2X9jHX1knURAsY4AKCs4zAo9WOMfmI6oLOvJDk8ZqgyagCgkVsD
> KBVJr+P64D0sSNgloI8qEJE=
> =mi+6
> -----END PGP SIGNATURE-----
Technical Details
Message-ID: <3a2982d9$1@filemon.telecable.es>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!news.rediris.es!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!news.bt.es!filemon.telecable.es!cm04498.telecable.es
References: <9043ut$s6b$1@kenobi.antakira.com> <377609.nn.ln@127.0.0.1>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,853705a9710f7ce4
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2000-12-02 15:21:18 PST
From: "colibr�_epil�ptico" <ruky@mixmail.com>
Newsgroups: es.comp.os.linux.programacion
Subject: RE: Borrar pantalla en C
Date: Sun, 3 Dec 2000 00:21:56 -0600
Organization: BT Tel. Netnews service (readers)
Lines: 44
Message-ID: <3a2982d9$1@filemon.telecable.es>
References: <9043ut$s6b$1@kenobi.antakira.com> <377609.nn.ln@127.0.0.1>
NNTP-Posting-Host: filemon.telecable.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: titan.bt.es 975798972 12804 212.89.0.4 (2 Dec 2000 23:16:12 GMT)
X-Complaints-To: abuse@bt.es
NNTP-Posting-Date: 2 Dec 2000 23:16:12 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
X-Original-NNTP-Posting-Host: cm04498.telecable.es
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!news.rediris.es!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!news.bt.es!filemon.telecable.es!cm04498.telecable.es