- Terminal engine rewritten for VT220: scroll regions, IL/DL/ICH/DCH/ECH, SU/SD, origin mode, insert mode, tab stops, DEC special graphics with G0/G1 and SO/SI, DECSC/DECRC, DECSTR, RIS, DECALN, DECLL LEDs - Replies to DA, secondary DA, DSR and CPR over the UART - 16-colour SGR (256-colour and RGB approximated), bold, underline, blink, reverse and conceal; cells are now 18 bits - Smooth scrolling (SW8 or DECSCLM): the region slides per frame and rows are moved during vertical blanking; XON/XOFF holds the host back - Keyboard: DECCKM, keypad application mode, F5-F12, VT220 Home/End, Alt as ESC prefix - basys3 terminfo entry (vt220 + 16 colours, 30 lines) - Flash script reboots the FPGA from flash after programming - Testbench covers replies, modes, attributes, editing and smooth scroll Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
617 B
Plaintext
21 lines
617 B
Plaintext
# terminfo for the Basys 3 FPGA terminal: a VT220 with 16 ANSI colours,
|
|
# underline, blink, 30 lines.
|
|
# tic -x -o ~/.terminfo terminfo/basys3.ti then export TERM=basys3
|
|
basys3|Basys 3 FPGA VT220 terminal with ANSI colour,
|
|
lines#30, cols#80,
|
|
colors#16, pairs#256,
|
|
op=\E[39;49m,
|
|
setaf=\E[%?%p1%{8}%<%t3%p1%d%e9%p1%{8}%-%d%;m,
|
|
setab=\E[%?%p1%{8}%<%t4%p1%d%e10%p1%{8}%-%d%;m,
|
|
invis=\E[8m,
|
|
rmso=\E[27m, rmul=\E[24m,
|
|
sgr0=\E[m\017\E(B,
|
|
kbs=\177,
|
|
khome=\E[1~, kend=\E[4~,
|
|
kf5=\E[15~,
|
|
indn=\E[%p1%dS, rin=\E[%p1%dT,
|
|
cnl=\E[%p1%dE, cpl=\E[%p1%dF,
|
|
hpa=\E[%i%p1%dG, vpa=\E[%i%p1%dd,
|
|
cbt=\E[Z,
|
|
use=vt220,
|