Re: IA64 ncurses Library for NUE

From: Jeff V. Merkey (
Date: Fri Jun 16 2000 - 12:34:31 EST


I worked on the NUE and SKI stuff until 1 a.m. last night and got all of
out NWFS code running and built under IA64, and here's what I found was
busted in the NUE program with ncurses.

In the nue-fs.rpm file that comes with the NUE IA64 shell, the file
nucurses.h is symbolically linked to curses.h in /usr/include.


ncurses.h -> curses.h

Except that the curses.h file is missing from the distribution. rpm
--rebuild ncurses* works on RedHat 6.1, but does not work on RedHat 6.2
(which is what I use on my desktop).

You also have a bug in the initscr() function in your version of that does not map the keyboard properly to the terminal
type when keypad() is called. When ncurses terminates with the app,
endwin() is not reseting the terminal correctly, and you have to
manually type "reset".

Also, the HD ioctl calls are improperly implemented, and returns

linux-syscall: suspect ioctl 0x301

when you attempt to do a simply open() and ioctl(GET_DRIVE_GEOMETRY)

FYI. What's up there seems to work OK if you are using printf() and no
ioctl() function calls.



David Mosberger wrote:
> Hi Jeff,
> >>>>> On Wed, 14 Jun 2000 17:46:00 -0600, "Jeff V. Merkey" <> said:
> Jeff> Anyone know if ncurses has been ported to IA64? The SKI/NUE
> Jeff> IA64 simulator at doesn't have it, and the
> Jeff> NUE emulator does not include it in the IA64 rootfs image they
> Jeff> are distributing.
> Hmmh, I have to say I'm not sure we're talking about the same thing
> here. Ski/NUE has been released by HP and Intel and is available via
> a free download from If you have a
> slow Internet connection, you can order CD-ROM from the same URL. The
> CD-ROM is free, as well (even shipping is free).
> Jeff> The documentation states, ".... You now have everything
> Jeff> necessary to get started with serious IA64 development ...".
> Jeff> Wonder why ncurses was not included?
> Jeff> :-)
> But it is there:
> $ rpm -qlp nue-fs-1.0-1.i386.rpm | grep ncurses
> /nue/usr/include/ncurses.h
> /nue/usr/lib/libncurses.a
> /nue/usr/lib/
> /nue/usr/lib/
> /nue/usr/lib/
> /nue/usr/lib/libncurses_g.a
> /nue/usr/lib/libncurses_p.a
> Can you tell me why you think otherwise?
> In any case, like Jes explained, rebuilding the ncurses RPM inside NUE
> is easy so even if you have the need to recompile ncurses, you should
> be all set.
> On a related note: it's probably better to send such questsions to
> or to use the online forum at
> as we
> don't always have time to keep up with the high volume on
> linux-kernel.
> --david
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to
> Please read the FAQ at

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:12 EST