From owner-freebsd-questions Sun Jan 18 18:57:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA14235 for questions-outgoing; Sun, 18 Jan 1998 18:57:21 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from emu.sourcee.com (emu.sourcee.com [199.201.159.173]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA14197 for ; Sun, 18 Jan 1998 18:57:00 -0800 (PST) (envelope-from nrice@emu.sourcee.com) Received: (from nrice@localhost) by emu.sourcee.com (8.8.8/8.8.3) id VAA00487; Sun, 18 Jan 1998 21:56:25 -0500 (EST) Message-ID: <19980118215624.57801@emu.sourcee.com> Date: Sun, 18 Jan 1998 21:56:24 -0500 From: Norman C Rice To: Greg Lehey Cc: Matthew Hagerty , freebsd-questions@FreeBSD.ORG Subject: Re: NCurses and cons25 References: <3.0.1.32.19980118212901.006a7da8@wolfepub.com> <19980119131201.34993@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <19980119131201.34993@lemis.com>; from Greg Lehey on Mon, Jan 19, 1998 at 01:12:01PM +1030 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Mon, Jan 19, 1998 at 01:12:01PM +1030, Greg Lehey wrote: > 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 ^ I believe that should be % 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 -- Regards, Norman C. Rice, Jr.