Log In  


Everything I type in Pico-8 comes out in bash, including pressing of the enter key. So if I accidentally enter a bash command, it gets executed. For example "reboot" in pico-8 not only reboots pico-8, but my raspberry -pi itself.

I'm not extremely experienced with Linux, but I've used enough linux software to think this should not be happening by default. In the meantime I am attempting to find a way to somehow capture the mouse and keyboard while a process is running so it is ignored. Tried "wait" from bash to no avail.

2


I found a workaround.

I removed the init.d script that I had tinkered with and instead I tried adding this to the end of my .bashrc script for the default pi user:

~/pico-8/pico8 > /dev/null

It doesn't prevent mouse clicks from falling through, but it DOES prevent keystrokes.

So with that, and booting in console mode (using sudo raspi-config), I can now use Pico-8 on my raspberry pi without having a bunch of stuff being typed or clicked when I exit Pico-8.

It still seems like this should be fixed, though.



[Please log in to post a comment]