From owner-freebsd-current Wed Apr 15 14:48:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA23378 for freebsd-current-outgoing; Wed, 15 Apr 1998 14:48:43 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from top.worldcontrol.com (surf52.cruzers.com [205.215.232.52]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA23332 for ; Wed, 15 Apr 1998 21:48:29 GMT (envelope-from brian@litzinger.com) From: brian@litzinger.com Received: (qmail 14679 invoked by uid 100); 15 Apr 1998 21:49:24 -0000 Message-ID: <19980415144921.A14661@top.worldcontrol.com> Date: Wed, 15 Apr 1998 14:49:21 -0700 To: freebsd-current@FreeBSD.ORG Cc: freebsd-questions@FreeBSD.ORG Subject: attr_get() does not exist Mail-Followup-To: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The version of ncurses supplied with FreeBSD does not include the function attr_get(). At least as far as I can find. ncurses 4.1 and SLang's curses emulator both include it. The authors of mutt, my favorite mailer, may soon include the use of this function in mutt. (mutt 0.91, the latest release does not use it) I currently substitute ((stdscr)->_attrs) in place of attr_get(). Apparently, just about every other OS has the function. Have I missed something? If it really is missing mutt would probably have to add a facility to config to check for attr_get and if it didn't exist #define NO_ATTR_GET in config.h and modify the code appropriately. I suspect they aren't going to want to do this. Another solution is to simply build mutt with the SLang package. -- Brian Litzinger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message