prettyping does not handle Destination Host Unreachable output from ping
RootlessAgrarian opened this issue · comments
I've been documenting the intermittent failures of a radio p2p link, and prettyping is a nice way to see history. I haven't explored the features much yet, but I did notice this:
▁▁▁▁▁▁▁▁▁▁▁▁▁▁!▁▁▁▁▁▁▁▁▁▁▁▁▁▁!▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
▁▁▁▁▁!▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁!▁▁▁▁▁▁▁▁▁▁▁▁▁
▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁!!!!!!!!!!!!!!▁▁▁▁▁▁▁!!!!!!
7756/110390 ( 7%) lost; 0/ 0/1001ms; last: 0ms
20/ 60 (33%) lost; 0/ 0/ 0/ 0ms (last 60)
92 bytes from 192.168.100.204: Destination Host Unreachable
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 5400 7a91 0 0000 3f 01 19db 192.168.1.235 192.168.100.1
!!!!!!!!!!!!!!!█▁▁▁▁▁!▁▁!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!▁▁▁▁▁▁▁▁▁!▁▁▁▁▁▁▁▁▁▁▁▁!▁▁▁▁
▁▁▁▁▁▁▁!▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁!▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁!▁▁▁▁▁▁▁▁
The Host Unreachable output from ping causes a discontinuity in the output. Could we see a special symbol for this message -- like an X instead of a ! -- instead of this disruptive text?
also, I have yet to try all the flags and options but I would really like an option (maybe it already exists!) to start each line with a time stamp and show exactly 60 pings (1 minute) per line, to make it easier to scroll back and review history. it would of course be user's responsibility to size the xterm to make this work :-)
this is a very handy utility and I am pleased to have discovered it... many thanks to developer.