User:Legalize/VCFMW Exhibit/ANSI Demo

From Terminals
Jump to: navigation, search

VT100

  • Clear screen ESC [ 2 J
  • Goto line 6 ESC [ 5 ; 32 H
  • Figlet -c "DEC\nVT100" # 12 lines
  • Pause
    • # Scroll lines of text "into" center region
    • Cursor (5, 0)
    • Line printer scroll
    • Cursor (17, 0)
    • Line printer scroll
    • Cursor (4, 0)
    • Line printer scroll
    • Cursor (18, 0)
    • Line printer scroll
    • ...repeat until screen filled
    • dec_top_bottom_margin(0, 5)
    • Scroll down
    • home()
    • Line printer scroll
    • dec_top_bottom_margin(17, 23)
    • Scroll up
    • cursor(23, 0)
    • line printer scroll
    • ...repeat until font begins repeating