Hi all, attached is the patch that I tested on Android 5 (Cyanogenmod 12) and Android 4.4 (Cyanogenmod 11). It also still passed the tests on Windows. I submit this patch for consideration for 5.22.0 - it marks termios.h as unavailable on Android if ctermid() does not compile. The side-effect for other platforms is non-existent and building on Android currently doesn't pass all its tests. If this patch doesn't make it into 5.22.0, it should go into the section of known problems instead :-) I'll look at patching POSIX.xs for 5.23 so it can use the detection result(s) of Configure whether ctermid() exists and works. -maxThread Next