emu is a console app
There's also a route that could use qemu as a user app. :>
I tried running
bind /dev/eia0 /dev/cons
while() {
auth/factotum
echo host user
resp = `{read}
cpu -h $resp(1) $resp(2)
}
But after it gets your credentials it sends \r instead of \n when
pressing enter
Then I found consolefs which looks like it does the right thing but I
didn't have the heart to try it out on what is probably a waste of time
just to post it here.
There's an idea there that I'm sure could get you xterm <> cpu <> node
without writing too much more code :)