C. Writing Termcap Descriptions : Commands for Advanced Features (UNIX and VMS Environments) : Commands Needed for Boxing Characters (UNIX and VMS)
 
Share this page                  
Commands Needed for Boxing Characters (UNIX and VMS)
Not all terminals have special boxing characters. If your terminal does not have them, hyphens (-) and vertical bars (|) are used instead. Using boxing characters, however, greatly improves the appearance of forms using table fields.
Command
Description
VT100 Example
ld
Initializes terminal to draw solid lines.
ld=\E)0
ls
Interprets subsequent characters for drawing solid lines.
ls=\016
le
Interprets subsequent characters as regular characters.
le=\017
qa through qk
Boxing characters; see the next table.
 
The table below describes the boxing characters qa through qk mentioned in the previous table:
Command
Description
VT100 Example
qa
Lower right corner of a box
qa=j
qb
Upper right corner of a box
qb=k
qc
Upper left corner of a box
qc=l
qd
Lower left corner of a box
qd=m
qe
Crossing lines
qe=n
qf
Horizontal line
qf=q
qg
Left T (stem points right)
qg=t
qh
Right T (stem points left)
qh=u
qi
Bottom T (like upside down T)
qi=v
qj
Top T (like a regular T)
qj=w
qk
Vertical line
qk=x