SCIENTIFIC-LINUX-USERS Archives

March 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Pann McCuaig <[log in to unmask]>
Reply To:
Pann McCuaig <[log in to unmask]>
Date:
Tue, 21 Mar 2006 10:03:47 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
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

ATOM RSS1 RSS2