debug: treat control charaters