Вопрос

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

enter image description here

Is this unavoidable when printing them?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top