C. Writing Termcap Descriptions : Commands for Advanced Features (UNIX and VMS Environments) : Commands to Optimize Cursor Movement (UNIX and VMS)
 
Share this page                  
Commands to Optimize Cursor Movement (UNIX and VMS)
These commands generally improve the way the forms system moves the cursor around the form. They are usually optional.
Command
Description
am
This terminal has automatic margins. This Boolean command is important on forms that run to the edge of the screen.
do
Down one line. Inclusion of this command helps the forms system move the cursor faster.
sr
Scroll reverse. This command makes the form scroll backwards instead of jumping if you are moving up on a long form.
cs
Change scrolling region. This command improves the appearance of the cursor movements when scrolling on a long form. The forms system still works if this is not defined, but it does not look as nice. This command is very similar in form to the cm command; however, the cs command's parameters are the upper and lower limits of scrolling instead of the position on the screen. Otherwise, all the place markers and modifiers are the same. If you use the cs command, you must also include the sr command.
Example: vt100
cs=5\E[%2;%2r