[net.micro] PC Curses

vlv@drux1.UUCP (Vaughn Vernon) (04/30/85)

Does anyone have a Unix curses library available for PC's?

I know that the Lattice 'C' people have one but I would rather not
use that compiler or be locked into compiler dependant things such
as bdos() etc.

I guess what I need then is a curses with source and documentation
so that I can adapt the libraries to the compiler of my choice(real-
izing that I will have to call the BIOS or 0xb000 or 0xb800 to display
my screens as any one package would).

				Thanks in advance,

				Vaughn Vernon
				AT&T ISL
				Denver, CO
				drux1!vlv

	"And now for something completely different ..."

hutch@sdcsvax.UUCP (Jim Hutchison) (05/02/85)

Not a PC CURSES, but I have ported dpy.  It is not ported to PC/MS DOS,
but it will work just fine under PC/I and system III clones.  It is simpler
than Curses, and works well for most applications.  It is also very fast.

If you need an MS/PC DOS version, the only concerns are with the io control.
Not really much to worry about, just adopt a convention for input of non-echoed
character-at-a-time that can be in a cbreak-like mode. O.k. if that was not
clear, pass all characters (control included, ^C your choice) , no buffering,
no echo of input (e.g. NOECHO | CBREAK on 4.2, or ~ECHOxxx | ~ICANON with
VMIN = 1 and VTIME = 1 on PC/IX).

-=-
/*
    "When you are dying, a wombat is better than no company at all."


	Jim Hutchison	UUCP:	sdcsvax!hutch
				sdcsvax!sdemu!raven!hutch
				sdcsvax!wizard!hutch

			ARPA:	hutch@sdcsvax

    < Ofcourse these statements are only mine, not my employers. >
*/
-- 
-=-
/*
    "When you are dying, a wombat is better than no company at all."


	Jim Hutchison	UUCP:	sdcsvax!hutch
				sdcsvax!sdemu!raven!hutch
				sdcsvax!wizard!hutch

			ARPA:	hutch@sdcsvax

    < Ofcourse these statements are only mine, not my employers. >
*/