[net.unix-wizards] boxes in curses

meissner@dg_rtp.UUCP (Michael Meissner) (10/15/86)

In article <2245@elroy.UUCP>  alan@elroy.UUCP (Alan S. Mazer) writes:
> Brian Raymor gave me a good solution to my earlier posting about drawing
> decent boxes, and since several people expressed interest, here is what he
> suggested.
> 
> Basically what you need to do is to skip using box() and define your own
> function which draws a box (or border) using highlighted spaces.  This should
> look pretty clean and curses will maintain it should it be clobbered.
> 
> If you want actual code and he doesn't mind my distributing it, send mail and
> I'll forward it.
> 
> -- Alan

    I have one minor nit about highlighted spaces -- it would only work on
terminals which highlight with reverse video (as opposed to highlighting with
dim, bold, or underlines).  But given that caveat, it sounds like a nifty
solution.

	Michael Meissner, Data General
	...{ decvax, ucbvax, ihnp4 }!mcnc!rti-sel!dg_rtp!meissner