From owner-freebsd-questions Sun Jan 18 18:42:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA12844 for questions-outgoing; Sun, 18 Jan 1998 18:42:36 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA12831 for ; Sun, 18 Jan 1998 18:42:15 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id NAA06790; Mon, 19 Jan 1998 13:12:01 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id NAA00959; Mon, 19 Jan 1998 13:12:01 +1030 (CST) (envelope-from grog) Message-ID: <19980119131201.34993@lemis.com> Date: Mon, 19 Jan 1998 13:12:01 +1030 From: Greg Lehey To: Matthew Hagerty Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NCurses and cons25 References: <3.0.1.32.19980118212901.006a7da8@wolfepub.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <3.0.1.32.19980118212901.006a7da8@wolfepub.com>; from Matthew Hagerty on Sun, Jan 18, 1998 at 09:29:01PM -0500 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Sun, Jan 18, 1998 at 09:29:01PM -0500, Matthew Hagerty wrote: > Greetings, > > I am trying to use NCurses-4.1 under FreeBSD 2.2.5 running on a > 486. Does this buy you anything? I thought our implementation was based on ncurses. > The package compiled fine, but when I try to run *any* of the test programs > that come with the package, I get to following error: > > Error opening terminal: cons25 > > I have had very little luck finding much information on using or > configuring curses or ncurses. Also, I can't seem to find any information > on how to set a terminal type. Depending on your shell, do: (Bourne shell and friends) $ TERM=cons25; export TERM (C shell and friends, I think) % setenv TERM=cons25 > Is there anything special about cons25 that makes it a better choice > for the console than say some VTxxx terminal type? Yes. It describes the terminal you're using :-) > I'm writing several programs in which I need full screen, color, > cursor, and key control. The programs will always be run from a > console in 80X25. OK. cons25 can do colour. Just grab the definition from /usr/share/misc/termcap and put it in the termcap file you're using. > Last, if this is getting posted to a list, how can I get on it? Send mail to majordomo@FreeBSD.org with the following text in the body. You can ignore the subject line. subscribe FreeBSD-questions Greg