ESP32-MPY-Jama icon indicating copy to clipboard operation
ESP32-MPY-Jama copied to clipboard

repl issues on linux (ubuntu)

Open ThinkTransit opened this issue 3 years ago • 5 comments

Hi,

The repl display does not appear to show underscores _ maybe this is a problem on my machine.

Also the repl does not accept input when there is no >>> prompt. For example if you try import webrepl_setup it is impossible to complete the setup, repl is not recognising input.

image

ThinkTransit avatar Apr 12 '23 02:04 ThinkTransit

Hello @ThinkTransit and thank you for using 🙂

I didn't understand the problem with the underscores, they work like any other characters though. (Do you are on Linux? Try the "Browse" to check yours files "boot.py" or "_boot.py" ?)

Concerning the "Input" mode of the REPL, in fact, the terminal does not support it because it is not directly linked to the same REPL as the default one of the serial UART but to the raw mode...

jczic avatar Apr 12 '23 11:04 jczic

Hi @jczic,

Sorry I should have been clearer. What I meant is that the underscores aren't visible in the repl, until after you press enter.

It's a very strange issue, maybe it is a problem with my computer. See here. Recording 2023-04-12 at 22 53 40

ThinkTransit avatar Apr 12 '23 12:04 ThinkTransit

Oh yes, it's just the fonts that are out of sync on your system apparently :( Hmm, at first sight, the fonts do not necessarily load correctly on Ubuntu :/

jczic avatar Apr 12 '23 13:04 jczic

Thanks yes I'm using linux, ubuntu with kde desktop. I'm running with -g gtk otherwise I get a blank window.

I can test a different system font?

ThinkTransit avatar Apr 12 '23 13:04 ThinkTransit

Let's say no, there is only one font that is specifically charged from this folder: https://github.com/jczic/ESP32-MPY-Jama/tree/master/src/content/ressources/font

jczic avatar Apr 12 '23 15:04 jczic