Nov-18-2017, 08:38 AM
i want a print()-like function that modifies most non-printable characters (exceptions would include common output formatting characters like newline). it should convert things into their common forms like chr(3) becomes '^C' or at least '\003'. i would also want a CLI filter to get this kind of output on other commands. instances of this should each have a means the modify the mapping (including extract and restore). maybe i want chr(9) to output a raw tab in some cases or a '\t' or a '^i' string in other cases. i can see it being a class generator that would be the core of many other tools.