Re: Is a color console possible under wscons?

Peter Bex <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
On Fri, Apr 27, 2007 at 08:26:26AM -0700, mowestusa wrote:
> One of the programs I wanted to run from the console
> is wyrd, a calendar program that is CLI ncurses based
> and uses remind.
> 
> When trying to start it throws up the error:
> Fatal error: exception Failure("Your terminal emulator
> does not support color.")"

Try setting the environment variable $TERM to one of 'wsvt25', 'ansi'
or, if all else fails, 'screen' or 'xterm'.

In Bourne shells, this is done with
export TERM=wsvt25
In CSH-derivatives, this is done with
setenv TERM wsvt25

> Currently I believe wscons has given me 4 virtual
> terminals and all of them are running what I believe
> is the default 80x25 in vt100 or vt220.

This is correct.

> Is there anyway to get a "full screen" virtual
> terminal and in color?

You can also use the recently added VESA framebuffer support, but
I believe you will need NetBSD 4.0 BETA or -CURRENT for that.

This information has been added to the NetBSD Guide's section on wscons
during the recent Documentation Hackathon.  See
http://www.netbsd.org/guide/en/chap-cons.html#chap-cons-wscons-wsdisplay

Hope this helps,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
							-- Donald Knuth
signature.asc (application/pgp-signature, 478 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iQEVAwUBRjI12dOrBFwYag3gAQIsYAgApVMTy5LZiszApJKcgFFY/9C2GZgtj/7t
lhLUeHYyA4cjFZI3S3F284Efy65G3YQvLmKRr0mEBpCStZeQt3r2CBHrFpnKiZ1B
MirkHjHS01MKOClVvVq4VeO1wXI5DieCyBU8MXwkApDp5JFnAheuS1VPGdjA2/3E
gAbJb/9JNb+GJjyhLgT46zHaztCp/zrrkCIibYz6TDqnSJV1DRsIcIyf0xdvRugu
qEx5D0A1xTZ1K3S+I08o9cNCXxbCY/wt5r1yx2JY43EuoWcyGv3vaHwG2ogNtZsF
L+nhJAsBYnULeuZvVUl6MeacnrqoqEVB/O/6DS1OQjUttgZqGsBs8g==
=rhtH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.