console: Fix handling of high-bit input and escapes

Python's standard file I/O for stdin runs it through numerous translations which
seriously breaks reading high-bit and escape characters. Stop using Python's I/O
routines and use standard syscalls for reading bytes instead.

Change-Id: Ib687388efef7a6897d742d4cd897ad78dd2970f5
1 file changed
tree: 6869f366f3337fdbbe6f90dc70eb3c53899ea13b
  1. debian/
  2. man/
  3. mdt/
  4. .gitignore
  5. CODE_OF_CONDUCT.md
  6. CONTRIBUTING.md
  7. LICENSE.txt
  8. MANIFEST.in
  9. README.md
  10. setup.py
README.md

MDT - The Mendel Development Tool

What is this?

MDT is a simple tool to aid in working with single board computers that the Mendel Linux distribution runs on. It consists of a whole bunch of pre-existing open source tooling, coupled with some simple wrappers written in python to ease their use.

It also provides an easy way to interact with these boards without having to fight with serial consoles, IP addresses, and other fiddly bits, reducing barrier to entry when working with these boards.

With minimal effort, MDT should also be portable to existing systems such as Debian and Ubuntu, if needed. This, however, is out of the scope of this project.