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.

P#49883 2018-03-02 18:40 ( Edited 2018-03-04 14:39)

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.

P#49884 2018-03-02 19:09 ( Edited 2018-03-03 15:01)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-18 22:36:57 | 0.004s | Q:8