C. Writing Termcap Descriptions : Commands for Advanced Features (UNIX and VMS Environments) : Commands Used to Program Video Attributes (UNIX and VMS)
 
Share this page                  
Commands Used to Program Video Attributes (UNIX and VMS)
The four basic modes are: underscore, blinking, reverse video, and high intensity. All the commands in the following table are combinations of the four basic modes:
Command
Description
VT100 Example
rv
Turns on reverse video.
rv=1\E[7m
bl
Turns on blinking mode.
bl=1\E[5m
bo
Turns on high intensity mode.
bo=1\E[1m
us
Turns on underscore mode.
us=2\E[4m
ea
Turns off all special display characteristics.
ea=1\E[m
za
Turns on reverse video, blinking high intensity, and underscore modes.
za=1\E[1;4;5;7m
zb
Turns on high intensity and underscore modes.
zb=1\E[1;4m
zc
Turns on high intensity and blinking modes.
zc=1\E[1;5m
zd
Turns on high intensity and reverse video modes.
zd=1\E[1;7m
ze
Turns on underscore and blinking modes.
ze=1\E[4;5m
zf
Turns on underscore and reverse video modes.
zf=1\E[4;7m
zg
Turns on blinking and reverse video modes.
zg=1\E[5;7m
zh
Turns on high intensity, blinking, and underscore modes.
zh=1\E[1;4;5m
zi
Turns on blinking, underscore, and reverse video modes.
zi=1\E[4;5;7m
zj
Turns on high intensity, blinking, and reverse video modes.
zj=1\E[1;5;7m
zk
Turns on high intensity, underscore, and reverse video modes.
zk=1\E[1;4;7m