Package: ssh-tools
Version: 1.7-2
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
I was using sshping to feed into a network monitoring script and
needed no color.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Using the flag -n removes the color but did not remove the RESET
sequence ESC[0m
* What was the outcome of this action?
ugly escape sequence on non ANSI terminals
* What outcome did you expect instead?
all color changing ANSI sequences to be removed.
I did end up fixing the problem, but idk how to submit a patch file
line 284 needs this change
< unset -v RED GREEN YELLOW BLUE MAGENTA CYAN WHITE BOLD
---
> unset -v RED GREEN YELLOW BLUE MAGENTA CYAN WHITE BOLD RESET
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: 12.6
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500,
'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-23-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ssh-tools depends on:
ii openssh-client 1:9.2p1-2+deb12u3
Versions of packages ssh-tools recommends:
ii colordiff 1.0.20-1
ssh-tools suggests no packages.
-- no debconf information