Curses: Drawing Boxes -- sending control chars

Chris Bertin chris at cetia.UUCP
Mon Sep 12 22:25:26 AEST 1988


In article <806 at riddle.UUCP>, domo at riddle.UUCP (Dominic Dunlop) writes:
> ... So, if you feed tic a
> terminal description containing an acsc=... capability, you should get
> prettier boxes when you use the curses box() function.  Admittedly, this is
> all theory: I've never had to do it myself in anger -- although I've spent
> plenty of time persuading applications authors that they should be doing
> it, rather than...
> 

There is only one problem with this new alternate character stuff: the
semi-graphics '|' and '-' will be used only if you draw your box with
'|' and '-' (or NULLS) but the corners will always be done using the
semi-graphics, even if you try to erase the box using spaces
(box(win, ' ', ' ')).

Chris
-- 
Chris Bertin	| CETIA
		| 150, Av Marcelin Berthelot, Z.I. Toulon-Est
+33(94)212005	| 83088 Toulon Cedex, France
Ext: 239	| inria!cetia



More information about the Comp.unix.questions mailing list