https://github.com/seebaer1976/linuxcnc/blob/4ba291cf23b3a973feef15eb02148dcb5a6c9813/nc_files/remap_lib/python-stdglue/stdglue.py
https://github.com/seebaer1976/linuxcnc/blob/4ba291cf23b3a973feef15eb02148dcb5a6c9813/nc_files/remap_lib/python-stdglue/stdglue.py