I have a program which displays incoming data which is delimited by a null character (
^A). I am accessing the server it is running on via PuTTY and When I open a log in a text editor these are visible, however the null characters seem to be skipped when displayed from standard output, and this makes the data very hard to interpret as it is impossible to distinguish where one field ends and the other begins, is there any way I can configure PuTTY to display SOMETHING when a null character is printed to standard output?
Edit: example in PuTTY (portions of FIX protocol if anyone is curious)
How a message looks in vi (^A shows up in blue making it much easier to read):
And ideally if i replace null with say a space it is finally somewhat understandable from a glance:
14=0 15=USD 17=801000096 20=0 22=1 29=1 30=O 31=158.927881 32=3200 37=0000000000 38=0 39=2