On 2014-05-22 16:02, Valentin Hauner wrote:
On 05/22/2014 03:41 PM, Marcus Hähnel wrote:
Sorry. Forgot to reply to the previous mail. Is this for a 64-bit or 32-bit system?
No problem. It's a 32-bit system, I'm compiling into ./bin/x86_586.
You need a terminal to do input. fbterminal is one that provides what you need. It does not work from the serial line out of the box as far as I know.
Please have a look at the x86-fb.* example in l4/conf/examples and start the client using the same method. This will allow it to receive keyboard input. Instead of the ex_spectrum... example use fbterminal to start with mag using (for example) the following lines:
local c = { fb = mag_caps.svc:create(L4.Proto.Goos, "g=800x600"), term = l:new_channel():svr() }; l:start({ caps = c }, "rom/fbterminal");
And then start the clntsrv-client in the terminal using (again, for example):
l:startv({ caps = { calc_server = calc_server}, log = c.term:m("ro") }, "rom/ex_clntsrv-client");
Best regards,
- Marcus Haehnel
l4-hackers@os.inf.tu-dresden.de