🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.programowanie
Article #60227

ncurser - prosze o pomoc

#60227
From: Rafał
Date: Wed, 26 Oct 2005 12:06
16 lines
1499 bytes
po wpisaniu takiego coś:
---------------------------------------
    printf("tekst1\n"); sleep(5);
    initscr(); clear(); noecho(); cbreak();
    printw("tekst2\n");
    refresh(); sleep(5);
    echo(); nocbreak();
    endwin();

    printf("tekst3\n"); sleep(5);
---------------------------------------
wypisuje sie tekst1 i tekst2 ale po wywolaniu funkcji endwin()
ekran robi sie czarny nie nie wypisuje tekst3
co zrobić aby tekst3 sie wypisał ??????????

zależy mi na tym, bo po kawałku przerabiam duży program na ncurses
Technical Details
Message-ID: <djnrgh$ebd$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.silweb.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.silweb.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Rafał <U5UNTOrc@pulsarsc.com.pl>
Newsgroups: pl.comp.os.linux.programowanie
Subject: ncurser - prosze o pomoc
Date: Wed, 26 Oct 2005 14:06:32 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 18
Message-ID: <djnrgh$ebd$1@atlantis.news.tpi.pl>
NNTP-Posting-Host: pb86.siedlec.sdi.tpnet.pl
X-Trace: atlantis.news.tpi.pl 1130328402 14701 80.52.25.86 (26 Oct 2005 12:06:42 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Wed, 26 Oct 2005 12:06:42 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit