[comp.unix.aix] Why does this fail?

drd@siia.mv.com (David Dick) (06/06/91)

The program at the end of this posting produces the following
output when run on the three machines given:

RESULTS--

	ARIX (Motorolo 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 <curses.h>
    #include <stdio.h>

    main()
    {
	int ch;

	initscr();
	move(10,10);
	addch('X');
	move(10,10);
	ch = inch();
	endwin();
	printf("inch returned '%c' (0x%0x)\n",ch,ch);
    }

jfh@rpp386.cactus.org (John F Haugh II) (06/11/91)

In article <1991Jun6.004449.21833@siia.mv.com> drd@siia.mv.com (David Dick) writes:
>The program at the end of this posting produces the following
>output when run on the three machines given:

You should contact Defect Support.  I reported this problem some time
back and there is probably a fix for it by now.

By the way - you should always mention version number.  The answer
to many problems may be as simple as "Upgrade to the newest level",
but without that level information there is no way to make that
determination.
-- 
John F. Haugh II        | Distribution to  | UUCP: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 255-8251 | GEnie PROHIBITED :-) |  Domain: jfh@rpp386.cactus.org
"If liberals interpreted the 2nd Amendment the same way they interpret the
 rest of the Constitution, gun ownership would be mandatory."