Pregunta

When I do a printk with "bad" characters, sometimes I scrambles my screen,

enter image description here

Is this unavoidable when printing them?

¿Fue útil?

Solución

Type reset and Enter on your command line to get it fixed again. If you don't see it anymore, you might have to type it blindly, but it works often. Depending on how you set up your environment, there are characters that can't be printed without messing up your command line.

You can try to print hex values %x. Like this it is usually much easier to find a logic behind the data.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top