-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Junk/special characters in saved file #27
Comments
same here |
putty has an option called Printable output that corrects that same issue |
@madhusudhanarya same issue for me, I am using 1.0.174, have you fixed it? |
I'd really appreciate an option to strip out these formatting chars! |
These are ANSI escape codes and yes they should be cleaned from string before outputting to the log file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i have configured auto-save of the SSH terminal output to the file. When i check saved file, i see junk/special characters. Below is the snippet from the output file. you can see most of the strings are prefixed with ;5;27m and some has <0x07> or <0x1b>]0;
<0x1b>]0;root@linux1:~<0x07>[root@linux1 ~]# cd /tmp/
<0x1b>]0;root@linux1:/tmp<0x07>[root@linux1 tmp]# ls -ltr
total 144
drwxrwx--- 5 root mobile 4096 Feb 6 2020 ;5;27mmnt
drwx------ 2 root root 4096 Oct 3 09:45 ;5;27mpymp-rxus9z03
drwx------ 3 root root 4096 Oct 3 12:37 ;5;27msystemd-private-da67a60f646c4c3ea7ec9ca3bcd406b8-vgauthd.service-w9rzVs
drwx------ 3 root root 4096 Oct 3 12:37 ;5;27msystemd-private-da67a60f646c4c3ea7ec9ca3bcd406b8-vmtoolsd.service-UzNWJ1
drwx------ 3 root root 4096 Oct 3 12:37 ;5;27msystemd-private-da67a60f646c4c3ea7ec9ca3bcd406b8-rh-php73-php-fpm.service-KjElPt
drwx------ 3 root root 4096 Oct 3 12:37 ;5;27msystemd-private-da67a60f646c4c3ea7ec9ca3bcd406b8-httpd.service-YV17p6
drwx------ 3 root root 4096 Oct 3 12:37 ;5;27msystemd-private-da67a60f646c4c3ea7ec9ca3bcd406b8-ypbind.service-oHhI2I
drwx------ 3 root root 4096 Oct 3 12:38 ;5;27msystemd-private-da67a60f646c4c3ea7ec9ca3bcd406b8-ntpd.service-KrcPFu
-rw------- 1 arprasad tape 3809 Oct 7 15:39 krb5cc_15557_a0Se9S
-rw------- 1 macharya tape 3473 Oct 15 21:55 krb5cc_15558_6COJGi
<0x1b>]0;root@linux1:/tmp<0x07>[root@linux1 tmp]#
what could be the issue here?
The text was updated successfully, but these errors were encountered: