Am 23.01.2013 14:24, schrieb Bob Goodwin - Zuni: > On 01/23/2013 07:50 AM, Reindl Harald wrote: >> >> Am 23.01.2013 13:43, schrieb Bob Goodwin - Zuni: >>> Is there a scheme for changing terminal background color >>> automatically for ssh? It would be convenient to have a warning that >>> I was typing a command into other than this computer. I try to keep >>> track of where I am but don't always which can lead to confusion or >>> worse. >> >> [root@srv-rhsoft:~]$ cat /root/.bashrc >> # .bashrc >> PS1="\[\033[1;31m\][\u@\h:\w]$\[\033[0m\] >> >> and the command prompt will be red > > > This runs but I see no color change? > > # .bash > # /home/bobg/sshcolor > > > PS1="\[\033[1;31m\][\u@\h:\w]$\[\033[0m\]" what is .bash and /home/bobg/sshcolor?? .bashrc of whatever user as shown the "[root@srv-rhsoft:~]$" aka promt is red not a background-color change which is not possible AFAIk and unuseable
Attachment:
signature.asc
Description: OpenPGP digital signature
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org