Re: synchronizing console, xterm and rxvt using bash.
On Sat, 27 Jun 1998, Alan Eugene Davis wrote:
> console. WHAT NEEDS TO BE DONE TO GET THESE TOOLS IN SYNC?
> Where is rxvt getting its variables, and what needs to be done to
> assure the rxvt sources /etc/profile?
Neither xterm nor rxvt reads /etc/profile.
The difference is between login-shell and non-login-shell
If you log in at console bash starts as login-shell and reads
~/.bash_profile and /etc/profile.
xterm and rxvt call bash as non-login-shell. bash reads ~/.bashrc
you can either 'tell' xterm and rxvt to start bash as login-shell:
(you have to edit your window-manager-menu)
or you just copy everything in /etc/profile to your ~/.bashrc
Heute ist nicht alle Tage, ich komme wieder, keine Frage!!!
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org