From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,797918e595dac88c,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1993-02-05 10:12:53 PST Newsgroups: comp.os.linux.announce Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!ira.uka.de!sol.ctr.columbia.edu!caen!batcomputer!db.TC.Cornell.EDU!mdw From: zmbenhal@netcom.com (Zeyd M. Ben-Halim) Subject: Announcing updated version of NCURSES (sysv-curses) Message-ID: <1993Feb5.073544.20630@tc.cornell.edu> Originator: mdw@db.TC.Cornell.EDU Keywords: ncurses 0.4 Sender: news@tc.cornell.edu Nntp-Posting-Host: db.tc.cornell.edu Organization: Cornell Theory Center Date: Fri, 5 Feb 1993 07:35:44 GMT I have uploaded version 0.4 of ncurses to tsx-11.mit.edu:pub/linux/sources/libs. Please don't let the low version number fool you. ncurses 1.0 will a totally sysv-compatible curses (for good or bad). But note that this will require changes to internal structures so don't distribute any binaries linked with ncurses. ncurses is a SYSV-compatible curses (screen management) package. It supports keypad() allowing access to function and arrow keys. It supports and uses Terminfo instead of termcap for terminal description. It has support for PC graphic characters (used in drawing boxes). It has color support similar to that in SYSV curses. Changes from ncurses0.3 to ncurses0.4 include: Addition of more KEY_* definitions. Addition of function prototypes. Addition of several missing functions. No more crashes if screen size is undefined (use SIGWINCH handler). added a handler to cleanup after SIGSEGV (hopefully never needed). changed SRCDIR from /etc/term to /usr/lib/terminfo. renamed compile/dump to tic/untic. New scrolling code. fixed bug that reversed the sense of nl() and nonl(). a few other fixes here and there. Also included are a few programs that you can use to test ncurses. Missing: Backgroung manipulation routines. Some color routines due to PC limitations. nodelay mode. fixing this and other problems with getch() will require structural changes. This will be done for 0.5. idlok() is ignored (unsued in Linux). Pads. screen read/write. Soft label routines. subwin routines behavior not quite that of SYSV (requires structure changes) And a few other minor functions. NB. PLEASE READ THIS BEFORE SENDING PATCHES: This is not intended as a flame (I'm very grateful for the people who did) BUT 1) most functions should be defined as returning int even though most of them don't return anything. Don't blame me, that's how sysv does it. 2) leave cosmetic changes to me. they simply make the patches larger and less comprensible. Don't assume all the changes you've made will be done. 3) don't fix things unless you know it's broke and YOU can fix it. Don't incorporate code from other sources. 4) I would be grateful for code the illustrates the behavior before and after any fixes, but I'll take your word(s). Any comments, bug reports, patches, additions are welcome. If you have a program that's having problems running with ncurses either send me a copy of it or tell where I can get a copy. Zeyd M. Ben-Halim zmbenhal@netcom.com -- Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu