🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Perl + Curses

#7015
From: Emiliano Diaz
Date: Wed, 09 Apr 2003 14:58
28 lines
1547 bytes
Estoy probando un modulo cpan ( Curses:UI ), y en las paginas del manual (
man Curses::UI ) dice un ejemplo :

           use Curses::UI;
           my $cui = new Curses::UI;
           my $win = $cui->add('window_id', 'Window');

           # The hard way.
           # -------------
           my $dialog = $win->add(
               'mydialog', 'Dialog::Basic',
           -message   => 'Hello, world!'
           );
           $dialog->focus;
           $win->delete('mydialog');


El problema es que, se ve que me dibuja la ventana, pero desaparece al
instante...
Que codigo me falta para "ver" la ventana que se esta dibujando...
Gracias....

--
--
Saludos, Emiliano
ICQ:34013175
Rosario-Santa Fe
Argentina.
Technical Details
Message-ID: <b71cct$9pmjg$1@ID-97810.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!200.80.203.58!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f86c8,164fa0ae57fa2d94,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-04-09 07:57:35 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!200.80.203.58!not-for-mail
From: "Emiliano Diaz" <emitodiazNOSPAMPLEASE@hotmail.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Perl + Curses
Date: Wed, 9 Apr 2003 11:58:45 -0300
Lines: 30
Message-ID: <b71cct$9pmjg$1@ID-97810.news.dfncis.de>
NNTP-Posting-Host: 200.80.203.58
X-Trace: fu-berlin.de 1049900254 10279536 200.80.203.58 (16 [97810])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4920.2300
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300