Slight difference in escape sequence filtering
Posted: Mon Jul 18, 2022 7:28 am
I noticed a small difference today in the escape sequence filtering. The code snippets below show a portion of the CoolTerm window and captured text of the same CoolTerm window. CoolTerm terminal settings are set to Raw Mode and Filter ASCII Escape Sequences. The receive settings include the Plain Text capture format.
You will notice at the timestamp 001658146583 the escape sequence in the captured text is not completely filtered out.
I've noticed some other odd behaviour. For instance, the prompt appears to be duplicated in this snippet (escape filtering turned on):
The "screen" utility displays the information correctly:
It would be great if CoolTerm could implement the same emulation that screen provides.
You will notice at the timestamp 001658146583 the escape sequence in the captured text is not completely filtered out.
Code: Select all
001658146223,s2=-9,s3=0
001658146333,s0=3,s1=2
001658146343,s2=-8,s3=0
001658146453,s0=3,s1=2
001658146463,s2=-8,s3=0
001658146483,t=2260,h=5424,p=9338
001658146573,s0=2,s1=2
001658146583,s2=-8,s3=0
001658146693,s0=3,s1=2
001658146703,s2=-8,s3=0
001658146783,t=2264,h=5431,p=9339Code: Select all
001658146223,s2=-9,s3=0
001658146333,s0=3,s1=2
001658146343,s2=-8,s3=0
001658146453,s0=3,s1=2
001658146463,s2=-8,s3=0
001658146483,t=2260,h=5424,p=9338
001658146573,s0=2,s1=2
001.[1;36m658146583,s2=-8,s3=0
001658146693,s0=3,s1=2
001658146703,s2=-8,s3=0
001658146783,t=2264,h=5431,p=9339I've noticed some other odd behaviour. For instance, the prompt appears to be duplicated in this snippet (escape filtering turned on):
Code: Select all
uart:~$ uart:~$ [00:40:21.029,846] <wrn> app: network unreachable
uart:~$ uart:~$ [00:40:41.132,965] <wrn> app: network unreachable
uart:~$ uart:~$ [00:40:51.133,605] <wrn> app: network unreachable
uart:~$ uart:~$ [00:42:41.133,605] <wrn> app: network unreachable
uart:~$ uart:~$ [00:42:51.132,934] <wrn> app: network unreachable
uart:~$ uart:~$ The "screen" utility displays the information correctly:
Code: Select all
[13:40:38.817,535] <wrn> app: network unreachable
[13:40:48.817,504] <wrn> app: network unreachable
[13:42:38.817,504] <wrn> app: network unreachable
[13:42:48.816,680] <wrn> app: network unreachable
uart:~$It would be great if CoolTerm could implement the same emulation that screen provides.