apertus-open-source-cinema / axiom-firmware

AXIOM firmware (linux image, gateware and software tools)
GNU General Public License v3.0
171 stars 54 forks source link

stop the blinking on minicom #138

Closed rroohhh closed 4 years ago

rroohhh commented 4 years ago

It doesn't like the 256 color escapes, so lets swap those out: /etc/motd: ^[[97m /etc/bash.bashrc:

# colors
if [ $(id -u) -eq 0 ]; then
    export PS1="[\[\033[0m\]\[\033[01;31m\]\u\[\033[0m\]@\[\033[01;31m\]\h\[\033[0m\]] \[\033[36m\]\w\[\033[0m\]\[\033[97m\] \\$ \[\033[0m\]"
else
    export PS1="[\[\033[0m\]\[\033[33m\]\u\[\033[0m\]@\[\033[33m\]\h\[\033[0m\]] \[\033[36m\]\w\[\033[0m\]\[\033[97m\] \\$ \[\033[0m\]"
fi

/root.profile: ^[[31m