Display non-printing chars in terminal emulator on windows
Solution 1
Hercules setup can do this. If you ignore all of the product specific odds and ends it's a very flexible generic serial & network terminal program.
Right click in the main display window and select special chars->hexadecimal. All non printing characters will show up as {HEX value}
If you then right click again and select Hex enable all of the data including printable characters will now be displayed as hex. Ones that represent printable characters will be in black, ones that represent non-printables will be grey.
Solution 2
take HTERM, it displays chars and optionally hex, dec or bit values.
Related videos on Youtube
Toby
Updated on September 18, 2022Comments
-
Toby almost 2 years
On a windows PC I'd like to be able to find an approach to see incoming data on a serial port, as it comes in (i.e. rather than logging to a file and then converting and viewing the file after the fact).
I have been using PuTTY with a font (Compendium Arcana) that displays characters as hex values, but values that equate to ASCII non-printing hex values do not show (e.g. space still shows as a space, and ASCII SOH [0x01h] does not display at all)
Is it possible to make PuTTY, or any other terminal emulator, display these characters as they arrive?
PS: I could probably live with spaces being displayed, or indeed any actual character being displayed, rather than nothing being displayed. this would mean I could at least tell the difference between one character and another.
-
jiggunjer over 7 yearssounds like a limitation of the font. If it uses ascii encoding it should display every ascii character as a unique hex number.
-
Toby over 7 years@jiggunjer Have you a suggestion for a font that manages this? Based on my experimentation I had the opinion that it was down to the terminal - it interprets the command type codes as commands instead of as data to be displayed (e.g. 0x07h sounds the bell) but most command codes don't actually do anything these days :-\
-
jiggunjer over 7 yearsmaybe you can test by saving a file with the command characters and then
cat
the file. Printing should just print. -
Jeter-work over 7 yearsHe's in Windows.
cat
is not available, and the Windows equivalent will have the same issue.
-
-
Toby over 7 yearsFor others that might be looking, while obviously developed for in-house use, this does the job just as well as Termite. Likewise it is pretty lightweight and portable but also allows other comms such as UDP and TCP and so forth, though it does forget some settings on a program restart (e.g. the HEX Enable option). Very happy to have found both of these!