shithub: riscv

Download patch

ref: b28c3db57884d406d5a39750fdc9e46baeb139af
parent: bc54898807d27e79ba9f1b595ef3e09e3da67522
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Aug 20 15:22:30 EDT 2017

vt: implement /dev/cons and /dev/consctl as a fileserver, winch, incremental redraw

we used to bind a pipe to /dev/cons and /dev/consctl with some
shared segment hack to pass tty info arround. now we implement
this as a fileserver.

add support for "winchon"/"winchoff" ctl message to enable interrupt
on window size change. (used by ssh)

keep track of fullscreen scrolls, avoiding redrawing the whole
screen each time.