pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/50490 (ccmake doesn't work)



The following reply was made to PR pkg/50490; it has been noted by GNATS.

From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/50490 (ccmake doesn't work)
Date: Thu, 28 Jul 2016 10:38:47 +0100

 Even more curious: essentially replicating the trivial ccmake code:
 
 #include <curses.h>
 #include <stdlib.h>
 #include <unistd.h>
 
 int main()
 {
         int x,y;
 
         if (initscr() == NULL) {
                 fprintf(stderr, "terminal setup failed\n");
                 exit(1);
         }
         noecho();
         cbreak();
         getmaxyx(stdscr, y, x);
         endwin();
         printf("read x=%d, y=%d\n", x, y);
 
         return 0;
 }
 
 $ ~/NetBSD/cmake/cursestest
 read x=80, y=51
 
 which is correct.
 


Home | Main Index | Thread Index | Old Index