🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Cursor.

#11025
From: Mario Teijeiro Otero
Date: Tue, 08 Jan 2002 23:33
37 lines
1835 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jmp wrote:

> Hola,
> 
> Existe alguna funci�n en C (linux) para ocultar el cursor ?
> 
> Gracias.
> jmp

En algunos scripts que hice tengo:

        CURSOR_OFF=`tput civis`
        CURSOR_ON=`tput cnorm`

Creo recordar que hab�a alguna manera de decirle a tput que te 
diera las secuencias de escape, as� que mira en la man, y lo
metes en un printf.

Saludos


- -- 
"Yo uso software libre" (declaraci�n a petici�n de Richard M. Stallman)

Mario Teijeiro Otero (emeteo) mailto: mteijeiro at escomposlinux dot org
clave: correo con Asunto: "[PGPKEY]"     Usr. Reg. 122438               
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8O4G8MKsc+XeZcdwRAumbAJ440dA8su4uwK/x1LYodjwqu4xmbACfU5kd
QnoDXnI8BjRtN+rp82Sx3t4=
=56mt
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <1kvf1a.9rk.ln@asimovi.localdomain>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!213-99-131-223.uc.nombres.ttd.ES!not-for-mail
References: <a1f9qc$8pq$1@talia.mad.ttd.net>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,e088d416f2531ff2
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-01-09 11:45:49 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!213-99-131-223.uc.nombres.ttd.ES!not-for-mail
From: Mario Teijeiro Otero <emeteo@escomposlinux.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Cursor.
Date: Wed, 09 Jan 2002 00:33:20 +0100
Lines: 38
Message-ID: <1kvf1a.9rk.ln@asimovi.localdomain>
References: <a1f9qc$8pq$1@talia.mad.ttd.net>
NNTP-Posting-Host: 213-99-131-223.uc.nombres.ttd.es (213.99.131.223)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8Bit
X-Trace: fu-berlin.de 1010605547 28299935 213.99.131.223 (16 [119866])
X-Orig-Path: asimovi.localdomain!nobody
User-Agent: KNode/0.7.0