Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Akoellh
xtermcontrol
xtermcontrol-Examples
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xtermcontrol-Examples of Package xtermcontrol
Examples It can be very useful to use xterm colors to indicate which is your current user ID. As an example, configure the ~/.xtermcontrol of the login user to: foreground="black" and the ~root/.xtermcontrol to: foreground="red" Now the red foreground color works as a reminder of the privileges when logged into the root account. To change back to current ID preferences after a session, include the following code snippet in the .bashrc shell initialization file of the effected accounts. # .bashrc example ## customize this and put it in ~/.bashrc to control the xterm ## change preferences to ~/.xtermcontrol defaults xtermcontrol ## change preferences back to ~/.xtermcontrol defaults after 'su' session su() { command su "$@" xtermcontrol } ## change preferences back to ~/.xtermcontrol defaults after 'ssh' session ssh() { command ssh "$@" xtermcontrol }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor