Date: Mon, 19 Jan 1998 13:12:01 +1030 From: Greg Lehey <grog@lemis.com> To: Matthew Hagerty <matthew@wolfepub.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NCurses and cons25 Message-ID: <19980119131201.34993@lemis.com> In-Reply-To: <3.0.1.32.19980118212901.006a7da8@wolfepub.com>; from Matthew Hagerty on Sun, Jan 18, 1998 at 09:29:01PM -0500 References: <3.0.1.32.19980118212901.006a7da8@wolfepub.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980119131201.34993>