Patching WordStar for use with a VT-100 Terminal

Patching WordStar for use with a VT-100 Terminal

Created: 26th Aug 2026

The following is a complete set of the patches to customise Wordstar 3 for the VT100 terminal as derived from WordStar Dcumentation (Appendix E of the Wordstar Installation Guide and the VT100 User Guide section 3, Programmer Information).

p>

Patch areas;

IDTEX   018F 20                ;' DEC VT-100 Terminal '
        0190 56
        0191 54
        0192 2D
        0193 31
        0194 30
        0195 30
        0196 20
        0197 54
        0198 65
        0199 72
        019A 6D
        019B 69
        019C 6E
        019D 61
        019E 6C
        019F 20
        01A0 20
        01A1 20
        01A2 20
        01A3 20
        01A4 20
        01A5 20
        01A6 20
        01A7 20
        01A8 20
        01A9 20
        01AA 20
        01AB 20
        01AC 20
        01AD 20
        01AE 20

Screen Size (80 cols x 24 rows)

HITE    0248 18
WID     0249 50

Cursor Positioning


CLEAD1  024A 02                ; 2 characters
        024B 1B                ; Esc
        024C 5B                ; [
        024D 00
        024E 00
        024F 00
        0250 00
        0251 00
        0252 00
   
CLEAD2  0253 01                ; 1 character
        0254 3B                ; semi-colon
        0255 00
        0256 00
        0257 00
   
CTRAIL  0258 01                ; 1 character
        0259 48                ; 'H'                
        025A 00
        025B 00
        025C 00
   
CB4LFG  025D 00                ; line before col in esc sequence
   
LINOFF  025E 01
   
COLOFF  025F 01
   
ASCUR   0260 02                ; Ascii digits for col and line rather than binary ones.
   
ERAEOL  026D 04                ; 4 characters
        026E 1B                ; erase to EOL
        026F 5B
        0270 30
        0271 4B
        0272 00
        0273 00
   
LINDEL  0274 04                ; 4 characters
        0275 1B                ; delete line
        0276 5B
        0277 32
        0278 4B
        0279 00
        027A 00
   
LININS  027B 00                ; insert line (not supported)
        027C 00
        027D 00
        027E 00
        027F 00
        0280 00
        0281 00
        0282 00
        0283 00
   
IVON    0284 04                ; 4 characters
        0285 1B                ; inverse video
        0286 5B
        0287 37
        0288 6D
        0289 00
        028A 00
   
IVOFF   028B 04                ; 4 characters
        028C 1B                ; normal video
        028D 5B
        028E 30
        028F 6D
        0290 00
        0291 00
   
TRMINI  0292 08                ; 8 characters
        0293 1B                ; VT100 no options
        0294 5B
        0295 30
        0296 63
        0297 1B                ; cls
        0298 5B 
        0299 32 
        029A 4A

TRMUNI  029B 08                ; 8 characters
        029C 1B                ; turn off bold
        029D 5B 
        029E 30 
        029F 6D
        02A0 1B                ; cls
        02A1 5B 
        02A2 32 
        02A3 4A