Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3C623FCD.2030601@maxi-tip.cz> Date: Thu, 07 Feb 2002 09:50:21 +0100 From: Igor Bujna Organization: =?ISO-8859-2?Q?S=E1zkov=E1=20kancel=E1=F8?= Maxi-tip a.s. User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: cs, en-us MIME-Version: 1.0 To: Christopher Faylor Subject: Bug in ncurses??? Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Hi , i have this test program in ncurses: ----------------------------------------------- #include int main(int argc, char **argv) { int ch,i; WINDOW *win[2]; initscr(); raw(); keypad(stdscr, TRUE); noecho(); cbreak (); /* When i this routines remove, on screen is nothing. WHY??? */ refresh(); win[0] = newwin(LINES, COLS / 2, 0, 0); win[1] = newwin(LINES, COLS / 2, 0, COLS / 2); for (i = 0; i < 2; i++) { wborder(win[i], '|', '|', '-', '-', '+', '+', '+', '+'); wprintw(win[i], "Ahoj!"); wrefresh(win[i]); } ch = getch(); refresh(); for (i = 0; i < 2; i++) delwin(win[i]); endwin(); return 0; } -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/