# $box-chars(5)

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## NAME

$box-chars - Characters used to draw lines

## SYNOPSIS

$box-chars "string"; Default is "`|+++++++++-`"

## DESCRIPTION

$box-chars is a fixed length string that defines the set of characters used to render lines to the screen. Osd(2), directory-tree(2), list-registry(2) and many macros use these characters as a platform independent method of drawing lines. The characters have fixed indices defined as follows:-

Index 0

Line joining north to south (vertical line).

Index 1

Line joining south to east.

Index 2

Line joining south to west.

Index 3

Line joining north to east.

Index 4

Line joining north to west.

Index 5

Line joining east to south to west.

Index 6

Line joining north to east to south.

Index 7

Line joining north to east to south to west.

Index 8

Line joining north to south to west.

Index 9

Line joining north to east to south.

Index 10

Line joining east to west.

## EXAMPLE

The $box-chars is typically platform dependent, it's setting is determined by the characters available in character set of the hosting platform. MS-DOS and Microsoft Windows environments might use a string such as:-

    "\xB3\xDA\xBF\xC0\xD9\xC2\xC3\xC5\xB4\xC1\xC4"

X-Windows environments might use a string such as:-

    "\x19\x0D\x0C\x0E\x0B\x18\x15\x0F\x16\x17\x12"

Both utilize platform specific characters.

## SEE ALSO

Osd(2), directory-tree(2), list-registry(2) $window-chars(5).

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>