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