🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Thread en un script bash

#13217
From: TvX
Date: Fri, 09 Mar 2001 16:23
38 lines
2276 bytes
Hola,
>	eso lo tiene zsh
>
>     periodic
>          If the parameter PERIOD is set, this function  is  exe-
>          cuted every PERIOD seconds, just before a prompt.
>
Vale, pero supongo que no tendr� que reconvertir el script �no? La
sintaxis es parecida a la de bash?

>#!/bin/sh
>
>ReadKey()
>{
>	Oldstty=`stty -g`
>	stty -icanon -echo min 1 time 0
>	dd bs=1 count=1 2>/dev/null
>	stty $Oldstty
>}
>key=`ReadKey`
Bien, el script este s� que est� pensado, me recuerda a los felices d�as
del spectrum, cuando con 48 ks se hac�an virguer�as. La verdad es que no
lo entiendo, pero no te voy a pedir que me lo expliques, ya he
averiguado algo con man bash.

Bueno, muchas gracias, me has sido de una gran ayuda y ya est�
solucionado.
Saludines.

-- 
---------------------------------------------------------
    \|/ En breve: "La cocina de la Vir"...  _O)   __/\__
   (.~.)            #19043                  /\\   \    /
__oO(_)Oo__ ___    ____ ____  ___           \_V   /_/\_\
\__    ___/ \   \ /   / \   \/  / Intermautas del mundo,
  |    |     \   Y   /   \     /        �Unios!
  |____|       \___/     /__/\ \ <nospamrojo@iname.com>
------------------------------\/-------------------------
Technical Details
Message-ID: <slrn9ai0sn.24n.tovaritx@su27.tovaritx.red>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!134.222.94.5!npeer.kpnqwest.net!news!su27.tovaritx.red!tovaritx
References: <slrn9aevu3.212.tovaritx@su27.tovaritx.red> <98871c$nrj$1@news.unizar.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,6c1786098beee5a2
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-03-09 08:34:51 PST
From: tovaritx@tovaritx.red (TvX)
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Thread en un script bash
Date: 9 Mar 2001 16:23:52 GMT
Organization: Red Tovaritx. Servicio de news.
Lines: 38
Message-ID: <slrn9ai0sn.24n.tovaritx@su27.tovaritx.red>
References: <slrn9aevu3.212.tovaritx@su27.tovaritx.red> <98871c$nrj$1@news.unizar.es>
Reply-To: nospamrojo@iname.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: news@su27.tovaritx.red
NNTP-Posting-Date: 9 Mar 2001 16:23:52 GMT
User-Agent: slrn/0.9.6.3 (Linux)
NNTP-Posting-Host: 212.73.36.199
X-Original-NNTP-Posting-Host: 212.73.36.199
X-Trace: 9 Mar 2001 17:34:45 +0100, 212.73.36.199
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!134.222.94.5!npeer.kpnqwest.net!news!su27.tovaritx.red!tovaritx