-
- Downloads
modtermios: Add "termios" unix module, subset of CPython's.
Also provides setraw() function from "tty" module (which in CPython is implemented in Python). The idea here is that 95% of "termios" module usage is to set raw mode to allow access to normal serial devices. Then, instead of exporting gazillion termios symbols, it's better to implement it in C, and export minimal number of symbols (mostly baud rates and drain values).
Showing
- unix/Makefile 4 additions, 0 deletionsunix/Makefile
- unix/modtermios.c 155 additions, 0 deletionsunix/modtermios.c
- unix/mpconfigport.h 2 additions, 0 deletionsunix/mpconfigport.h
- unix/mpconfigport.mk 3 additions, 0 deletionsunix/mpconfigport.mk
- unix/qstrdefsport.h 11 additions, 0 deletionsunix/qstrdefsport.h
unix/modtermios.c
0 → 100644
Please register or sign in to comment