🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #474

Re: PC Curses (1.4) and Colo[u]rs

#474
From: Frotz
Date: Wed, 21 Mar 1990 03:21
58 lines
3318 bytes
eastick@me.utoronto.ca (Doug Eastick) writes:

] I'm using PC Curses (by Bjorn) and TC 2.0. I want to give each window
] a unique colo[u]r.  Curses.h mentions that colo[u]r #defines should go
] in there, but nothing else. 

I am working on a program that uses this (with colors) and it looks sharp.

] My guess is that I use wattron().  The TC colour functions don't seem
] to do anything because curses bypasses the way TC sets the colour.

In the 1.5 release the call will be wattron( win, F_YELLOW|B_BLUE );.
Naturally, this causes some problems with subsequent calls like
wattron( win, A_STANDOUT );.  The 1.5 wattron() and cousins attempt to
do something rational. 

Bjorn (unless things have changed) will be unable to work on PCcurses
for a few months.  I submitted my major 1.3 hacks to him for release
as 1.4.  About that time, uunet went down for about 3 weeks (or at
least mail was delayed for 22+ days in or around uunet).  Bjorn,
having not heard from me, released 1.4 in January.  My 1.3+ finally
got to him via FedEx after 1.4 hit the net.  I am in the process of
merging my 1.3+ with his 1.4 release and will be releasing it as 1.5
(with master source going back to Bjorn).  Here is a short list of
the major features added to 1.3+:

+	Direct Video Writes or BIOS Video Writes.  (Rough speed ratio: 2.5:1)
+	EGA/VGA Support (80x43 or 80x28/80x50).
+	Resizable windows.  (WINDOW* _resize_win(...);).
+	Inclusion of X/Open pads (windows of len x wid not attached to the
				  screen).
+	Full reliance on C (No assembly modules).
+	With the exception of four functions, it support the X/Open spec.
+/-	Only tested with Turbo C 2.0
+	Added Alt key (etc) support.
+	Canonical Attributes are augmented with F_[B]<color> and B_[B]<color>
-	I am doing this in my ___copious___ spare time (NIL).  It may take
	a while to get it to the net.  Also, I want to try to protect
	Bjorn a little more than he might like, so there might be a 
	small delay there.

	Basically, commercial/share developers must send in there
	modifications of the library if they wish to use it.  Non-
	Exclusive Cross Licenses will be negotiated.  (Digital Research,
	Inc. did this and it was a real hassle to get to the point of
	saying that "Hey what we need it a Cross License!"  This is
	an attempt to minimize the time needed here.  I see no problems
	with educational sites.
-	ETA to the net: 1-2 months.

	[Bjorn, If you see this, let me know what you think...]

-- Frotz@Digital Research, Incorporated		amdahl!drivax!frotz
	 Graphics Business Unit			(408) 647-6570 (msg)
	 70 Garden Court, B15			(408) 649-3896
	 Monterey, California  93940		Ask for John Fa'atuai

[This is News.  This is your brain on News.  Any questions?]
Technical Details
Message-ID: <P8JGL5W@drivax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!brutus.cs.uiuc.edu!apple!sun-barr!newstop!sun!amdahl!drivax!frotz
References: <1990Mar19.091914.19742@me.toronto.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!brutus.cs.uiuc.edu!apple!sun-barr!newstop!sun!amdahl!drivax!frotz
From: frotz@drivax.UUCP (Frotz)
Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc.programmer
Subject: Re: PC Curses (1.4) and Colo[u]rs
Keywords: how?
Message-ID: <P8JGL5W@drivax.UUCP>
Date: 21 Mar 90 03:21:44 GMT
References: <1990Mar19.091914.19742@me.toronto.edu>
Sender: frotz@drivax.UUCP
Reply-To: frotz@drivax.UUCP
Distribution: alt,comp
Organization: Digital Research, Monterey CA
Lines: 58