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!!!
Joerg
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: