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

Re: How to share env. variables ?



hi,

put those contents(environment variables) in .bashrc.
because .bashrc is the file that is read in for non-interactive
terminals like kterm or gnome-terminal or any such application.

sac.




On 10/27/05, Marc Wilson <msw@cox.net> wrote:
> 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
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>



Reply to: