beryllium-org / OS

Beryllium OS, a unix-like operating system for CircuitPython powered microcontrollers. (Formerly known as ljinux)
GNU General Public License v3.0
256 stars 17 forks source link

Can't backspace #95

Closed annonymous12343 closed 1 month ago

annonymous12343 commented 2 months ago

Hi! I installed this os on a marble pico and it works almost perfect, i just can't backspace. Im using the screen utility in kali linux.

bill88t commented 2 months ago

screen? The command? That's tested and known working. I just retested. Maybe your keyboard layout is at fault? Any unknown characters are ignored.

If the rest of the keyboard is working you can try to run the jcurses terminal training function to get me the binary value of your backspace key:

[board@tws3 | ~]> py
CircuitPython 9.1.0 on Beryllium 0.5.1
Board: lilygo_twatch_s3
Type "help", "copyright", "credits" or "license" for more information.
>>> term.training() # Press backspace once and wait after sending the command.
127

>>> ^D
[board@tws3 | ~]>

The terminal itself so long as it supports ANSI (which screen does support just fine), shouldn't matter. If you can get me the binary value and it doesn't conflict with anything else I'll add it in the binary table.

annonymous12343 commented 2 months ago

Idk what was the problem, but i switched to using putty and now it works. I also have a question. How can i initialize and use a fat32 sd card? The board im using has a sd card slot onboard. Thanks!

bill88t commented 2 months ago

Micro/CircuitPython mounts are very broken at the moment. They are not usable under Beryllium OS at the moment. (Look at: https://github.com/adafruit/circuitpython/issues/9045 and https://github.com/adafruit/circuitpython/issues/8409) I will implement my own solution very soon.

If you want the backspace fixed for screen, you can just send me the binary value that is produced from the training function.

bill88t commented 1 month ago

Closing, since there is nothing to work on this.