Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!spool.mu.edu!mips!pacbell.com!tandem!zorch!ditka!zinn!siia!drd From: drd@siia.mv.com (David Dick) Newsgroups: comp.unix.aix Subject: Why does this fail? [repost] Summary: curses function inch() seems not work on RS/6000 Keywords: curses Message-ID: <1991Jun21.143411.21416@siia.mv.com> Date: 21 Jun 91 14:34:11 GMT Organization: Software Innovations, Inc. Lines: 39 The program at the end of this posting produces the following output when run on the three machines given: RESULTS-- ARIX (Motorola 68020): inch returned 'X' (0x58) IBM RS/6000: inch returned '' (0x0) IBM PS/2 (Intel something): inch returned 'X' (0x58) PROGRAM-- /* intst -- simple inch() test */ #include #include main() { int ch; initscr(); move(10,10); addch('X'); move(10,10); ch = inch(); endwin(); printf("inch returned '%c' (0x%0x)\n",ch,ch); } David Dick Software Innovations, Inc [the Software Moving Company (sm)]