cloud_kotta icon indicating copy to clipboard operation
cloud_kotta copied to clipboard

support or disable colorful ttys

Open LincolnBryant opened this issue 9 years ago • 0 comments

tty outputs have various escape codes for colorful output, probably bold and such as well. compare:

suggest either supporting this (by making the output rich text) or disabling colorful output by doing something like this in the job environment:

export TERM=xterm-old

compare the outputs of the following, for example:

#!/bin/bash
apt-get update
apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual apt-transport-https ca-certificates -y
#!/bin/bash
export TERM=xterm-old
apt-get update
apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual apt-transport-https ca-certificates -y

LincolnBryant avatar Dec 14 '16 17:12 LincolnBryant