search for: setaf

Displaying 5 results from an estimated 5 matches for "setaf".

Did you mean: seta
2020 Sep 29
3
No Samba NT DOMAIN Name found exitting now...
...ch tput)" > if [ -z "${SETTPUT}" ]; then > echo "program tput not found, installing it now.. please wait" > apt-get update > /dev/null > apt-get install -y --no-install-recommends ncurses-bin > /dev/null > fi > > RED="$(${SETTPUT} setaf 1)" > NORMAL="$(${SETTPUT} sgr0)" > GREEN="$(${SETTPUT} setaf 2)" > YELLOW="$(${SETTPUT} setaf 3)" > UNDERLINE="$(${SETTPUT} smul)" > WHITE="$(${SETTPUT} setaf 7)" > BOLD="$(${SETTPUT} bold)" > > message() { &g...
2011 Apr 19
4
/etc/bashrc help!
...# you are root, set red colour prompt echo "###############################################" echo "### You are now working as ROOT. ###" echo "### Pay attention to what you type. ###" echo "###############################################" PS1="\\[$(tput setaf 1)\\]\\u@\\h:\\w #\\[$(tput sgr0)\\]" else # normal echo echo " ###########################################################" echo "Welcome $(whoami), here's something to start your day with:" echo echo `sh /etc/lines.sh /etc/quotes.txt` echo " #####################...
2020 Sep 29
0
No Samba NT DOMAIN Name found exitting now...
...-z "${SETTPUT}" ]; then >> echo "program tput not found, installing it now.. please wait" >> apt-get update > /dev/null >> apt-get install -y --no-install-recommends ncurses-bin > /dev/null >> fi >> >> RED="$(${SETTPUT} setaf 1)" >> NORMAL="$(${SETTPUT} sgr0)" >> GREEN="$(${SETTPUT} setaf 2)" >> YELLOW="$(${SETTPUT} setaf 3)" >> UNDERLINE="$(${SETTPUT} smul)" >> WHITE="$(${SETTPUT} setaf 7)" >> BOLD="$(${SETTPUT} bold)"...
2012 Mar 15
3
Problem with stored configs / Invalid unicode escaping
...pt, if the terminal has the capability; turned # off by default to not distract the user: the focus in a terminal window # should be on the output of commands, not on the prompt force_color_prompt=yes if [ -n "$force_color_prompt" ]; then if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then # We have color support; assume it''''s compliant with Ecma-48 # (ISO/IEC-6429). (Lack of such support is extremely rare, and such # a case would tend to support setf rather than setaf.) color_prompt=yes else color_prompt= fi fi if...
2011 Jan 13
3
/etc/bashrc causing probs..
...0 ];then # you are rootecho "###############################################"echo "### You are now working as ROOT. ###"echo "### Pay attention to what you type. ###"echo "###############################################" PS1="\\[$(tput setaf 1)\\]\\u@\\h:\\w #\\[$(tput sgr0)\\]"else # nothing to doechoecho " ###########################################################"echo "Welcome $(whoami), here's something to start your day with:"echoecho `sh /etc/lines.sh /etc/quotes.txt`echo " ###################...