🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CLS

#14946
From: Mario Teijeiro Otero
Date: Sun, 03 Sep 2000 12:12
26 lines
1757 bytes
Francisco Artese excribio el d�a Sat, 2 Sep 2000 19:24:16 -0300:

> Para borrar la pantalla en la terminal estoy haciendo esta chapuza
> 
> i=1
>   while [ $p -lt 35 ] ; do
>       i=`expr $i + 1`
>       echo -en "\\n"
>   done

si vas ha hacer frecuentemente una limieza de pantalla puedes hacer
CLEAR=`tput clear`
y luego cuando la quieras limpiar:
        echo $CLEAR
Por cierto, es  mucho m�s eficiente esta forma de sumar
i=$(($i + 1))
y comprobado .

-- 
 "Cria cuervos, y tendr�s m�s" 

====================================================================
Mario Teijeiro Otero           mailto:asimovi at teleline dot es         
Powered by Hispafuentes 7.0    clave: correo con Asunto: "[PGPKEY]"
Usr. Reg. 122438               o en http://www.terra.es/personal2/asimovi 
====================================================================
Technical Details
Message-ID: <17fto8.5k2.ln@asimovi.localdomain>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-east!sn-xit-uk!supernews.com!193.162.153.122.MISMATCH!news.tele.dk!130.133.1.3!fu-berlin.de!newsfeed.bcn.ttd.net!news.mad.ttd.net!asimovi.localdomain!nobody
References: <gmuro8.u04.ln@localhost.localdomain>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,49eaea88a11dbbc0
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2000-09-03 05:46:11 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-east!sn-xit-uk!supernews.com!193.162.153.122.MISMATCH!news.tele.dk!130.133.1.3!fu-berlin.de!newsfeed.bcn.ttd.net!news.mad.ttd.net!asimovi.localdomain!nobody
From: Mario Teijeiro Otero <asimoviQUITAESTO@teleline.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: CLS
Date: Sun, 3 Sep 2000 14:12:17 +0200
Organization: Telefonica Transmision de Datos
Lines: 27
Message-ID: <17fto8.5k2.ln@asimovi.localdomain>
References: <gmuro8.u04.ln@localhost.localdomain>
Reply-To: asimoviQUITAESTO@teleline.es
NNTP-Posting-Host: 212.170.163.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8Bit
User-Agent: KNode/0.3