Newsgroups: comp.unix.sysv386 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!uw-beaver!stowe.cs.washington.edu!pauld From: pauld@stowe.cs.washington.edu (Paul Barton-Davis) Subject: Re: SCO's curses Message-ID: <1991Apr11.172057.1648@beaver.cs.washington.edu> Sender: news@beaver.cs.washington.edu (USENET News System) Reply-To: pauld@cs.washington.edu (Paul Barton-Davis) Organization: Computer Science & Engineering, U. of Washington, Seattle References: <1991Mar22.211749.13292@robobar.co.uk> <1991Apr11.022708.11563@sobeco.com> Date: Thu, 11 Apr 91 17:20:57 GMT its probably the fact that chtype is a long, not a char, and stores character attributes in one half, and the character value in the other. the curses.h header is pretty dumb about this, in that you can redefine chtype to be char or long yourself, despite the fact that the library has already been built with one type throughout. this also causes problems with the scrdump format - if anyone has been able to read a curses screen dump on a V/386 system, let me know how they did it, because the manual page does not match the format I found. it also refers to "chtype" despite the fact that the user has no idea of how chtype was defined when the libraries were built. -- Paul Barton-Davis UW Computer Science Lab ``to shatter tradition makes us feel free''