Re: color ssh/sftp -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux