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

Re: How to share env. variables ?

On Fri, Oct 21, 2005 at 11:06:33AM -0500, Hugo Vanwoerkom wrote:
> I asked that question a while ago.
> It appears e.g. that xterm uses /etc/profile and konsole does not.
> How to change that behavior?

Xterm does not use /etc/profile, and neither does konsole.  Or
gnome-terminal, or rxvt, or any other terminal emulator.

You appear to be confused wrt the difference between a terminal emulator
(xterm), and the application running inside it (bash, usually).

Read the INVOCATION section of the bash man page.  Then you'll understand
when and how bash uses which of the various startup files it honors.  Then
read the xterm man page, and you'll understand how to invoke xterm in order
to get it to launch bash in the way you want.

 Marc Wilson |     Simulations are like miniskirts, they show a lot
 msw@cox.net |     and hide the essentials.  -- Hubert Kirrman

Reply to: