dkl wrote:To see the Screen error, I suppose you'd have to compile with -e, or use ScreenRes as a function and check its result.
Oh right! I had forgotten about that. Gablea you definitely should re-compile and turn on the runtime checking stuff. That should help you pin down the problem. Excellent point about the ScreenRes function returning a success or failure value! Gablea give that a try and let us know what it says.
Gablea wrote:if there was anything in th /var/log/messages file i would have said but when I use sudo nano /var/log/messages I get a lank file with the words ** NEW FILE ** show up.
Well unless you tell me I can't know. I wonder if this version of Debian is only using the systemd journal and not writing logs anymore. I have Debian 8.4 on my laptop and it definitely has a syslog in /var/log/messages. To view logs with systemd you can run "journalctl" to dump the last 10 messages, or run "journalctl -f" to continuously list them while you plug in the hardware. However...
And Yes the keyboard works fine inside the Plan CLI of Debian as well as XFCE desktop.
Hmm, so it should work just fine without the desktop environment. Very strange. The kiosks I ran in the past were bare X sessions with no desktop running and even no window manager, and I had usb keyboards and usb card reader wedges working just fine with them. So I'm not sure what's going on. Could be that the keyboard focus isn't working properly with the FB window, which would mean you may need to run a Window manager such as "metacity" to allow the keyboard focus to work right.
I have even tried to reinstall 8.2 (as that worked fine) but debian installed 8.5 (even though I was using 8.2 installer)
And the result of reinstalling 8.2 was?
petan wrote:For low HW and safe running services you need OS fully supported
maybe take a look on FreeBSD, what I found quickly
Unfortunately you didn't look to see whether FreeBASIC even works on FreeBSD. I suspect it does, but would require compiling it from source, bootstrapping it from a Linux machine probably since there is no existing FB compiler on FreeBSD to compile itself with. Besides that, using FreeBSD is just changing one set of problems for another. And Linux runs just fine on older hardware or light-weight specs. FreeBSD has no inherent advantage over it in this area.