Subject: | |
From: | |
Reply To: | |
Date: | Tue, 21 Mar 2006 10:03:47 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Again, thanks for the response, I do appreciate the time and effort, but
isn't TMOUT a bash-specific environment variable?
I will look into the autolog package.
Cheers,
Pann
On Tue, Mar 21, 2006 at 01:15, Art Wildman wrote:
> Pann McCuaig wrote:
> >Thanks for the response, but this method is login-shell-specific; I
> >don't believe tcsh (and there may be others) sources /etc/profile.
> >
> >
>
> Try putting a .csh script in /etc/csh.cshrc or /etc/profile.d, most
> login shells look for ENV scripts in this common area now.
> # less /etc/csh.cshrc
> ...
> if ( -d /etc/profile.d ) then
> set nonomatch
> foreach i ( /etc/profile.d/*.csh )
> if ( -r $i ) then
> source $i
> endif
> end
> -----------------------
>
> echo "setenv TMOUT 900" > /etc/etc/profile.d/tmout.csh
> echo "export TMOUT=900" > /etc/etc/profile.d/tmout.sh
> Look at /etc/profile.d/colorls.csh for more tips...
>
> There is a package on SUSE called autolog that you may be able to build
> for RHEL/SL
> http://www.rpmfind.net/linux/rpm2html/search.php?query=autolog
>
> -HTH Art@JAX
--
Pann McCuaig <[log in to unmask]> 212-854-8689
Systems Coordinator, Economics Department, Columbia University
|
|
|