Skip to content

support or disable colorful ttys #25

@LincolnBryant

Description

@LincolnBryant

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions