shithub: rc

ref: b37f3b14f650cdee89f44378fa3b5dd2b5daf567
dir: /vtb/

View raw version
#!/bin/rc
# 2025-12-19T18:54:48-05:00
rfork e
scr=(`{cat /dev/draw/new >[2]/dev/null})
w=$scr(11)
h=$scr(12)
switch($h){
case 2*
	font=/lib/font/contrib.bit/hugevga/unicode.font
case 14*
	#font=/lib/font/bit/pelm/unicode.12.font
	font=/lib/font/bit/fixed/unicode.10x20.font
case *
	font=/lib/font/bit/fixed/unicode.9x15.font
}
vt -2b -f $font