Block Graphics Attribute

The terminal-based version implements an additional video attribute, #defined as BLK_GRAPH. When a terminal that supports block graphics is set to this attribute state, it will use its alternative block graphics character set. The block graphics characters are used by Vermont Views, when available, to draw single- and double-line borders, boxes and lines.

Note that if the terminal needs to use the block graphics character set, then block graphics characters can only be displayed correctly with the BLK_GRAPH attribute. If you use another attribute which does not force the terminal to use the block graphics character set, the terminal will not display the correct characters for boxes and lines. For this reason, if you select any of the pre-defined Vermont Views attributes for boxes, lines or borders, Vermont Views will override the attribute you selected and display the line with the BLK_GRAPH attribute. If you select an attribute that you have created yourself, you are responsible for ensuring that the termcap entries for that attribute turn the block graphics mode on and off correctly.


Home Contents Previous Next