Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!sri-spam!nike!ll-xn!mit-amt!mit-eddie!genrad!decvax!mcnc!rti-sel!dg_rtp!meissner From: meissner@dg_rtp.UUCP (Michael Meissner) Newsgroups: net.unix,net.unix-wizards Subject: Re: boxes in curses Message-ID: <640@dg_rtp.UUCP> Date: Wed, 15-Oct-86 09:58:27 EDT Article-I.D.: dg_rtp.640 Posted: Wed Oct 15 09:58:27 1986 Date-Received: Thu, 16-Oct-86 22:08:24 EDT References: <2245@elroy.UUCP> Reply-To: meissner@dg_rtp.UUCP (Michael Meissner) Distribution: net Organization: Data General (Languages @ Research Triangle Park, NC.) Lines: 21 Keywords: A nifty solution Xref: mnetor net.unix:5880 net.unix-wizards:8266 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