Skip to content

VPE Programming Topics

Sam Habiel edited this page Oct 18, 2017 · 1 revision

VPE Proramming Topics

CHUI VT100 codes and VPE Variables

Reverse Video

  • Reverse Video (RV) On: esc[7m
  • RV Off: esc[0m

Position Cursor: esc[{dy+1};{dx+1}H (remove parens)

Blanking:

  • Cur to EOS: esc[J
  • TOS to Cur: esc[1J
  • Cur to EOL: esc[K
  • SOL to Cur: esc[1K

Cur on/off

  • Cur On: esc[?25h
  • Cur Off: esc[?25l

Scroll Region

  • Index: escD: Move cursor one line down and auto scroll
  • Rev Index: escM: Move cursor one line up and auto scroll
  • Insert: esc[1L
  • Scroll Region: esc[{top};{bot}r

Scroll Variables:

  • S1 = 2; S2 = IOSL-2
  • HD = 1
  • HD(1) = "=====..."
  • FT = 2
  • FT(1) = "=====..."
  • FT(2) = "<> ESC-H = Scroll Help"
  • GAP = S2-S1+1
  • SL = S2-S1+1
  • BOT,LNCNT,TOP = 1
  • HLN = 1
  • HSY? = S1-1
Clone this wiki locally