Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Digital UNIX V3.2C and tcsh
@ 1995-08-30  4:00 pehowland
  1995-08-30  4:00 ` Mike Iglesias
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: pehowland @ 1995-08-30  4:00 UTC (permalink / raw)



I've just upgraded from OSF/1 V3.2 to Digital UNIX V3.2C, and all went well.

However, I now have a problem with the tcsh shell.  I had previously
put the statement

	set path=(\users\Freeware \users\bin)

in the file \etc\csh.login, so that whenever anyone logged on using a
tcsh shell, their path would contain the above two directories.  It
has stopped working!  It appears that the tcsh is no longer looking at
this file.  The only way I can add these things to my path is to put
the statement in my local $HOME\.login file - but this then only affects
me, and not any other users (who would have to do the same).

Has anyone else experienced this change in behaviour?  What's going on?
What should I do to add things to the path of _all_ tcsh users?

I am using the following version of tcsh:

tcsh 6.06.00 (Cornell) 1995-05-13 (alpha-dec-osf1) options 8b,nls,al,nl,rh

on a DEC 3000 Model 600.

Many thanks,

Paul
Defence Research Agency,
UK.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Digital UNIX V3.2C and tcsh
  1995-08-30  4:00 Digital UNIX V3.2C and tcsh pehowland
@ 1995-08-30  4:00 ` Mike Iglesias
  1995-08-30  4:00 ` Andy Phillips
  1995-08-31  4:00 ` Wolfram Klaus
  2 siblings, 0 replies; 5+ messages in thread
From: Mike Iglesias @ 1995-08-30  4:00 UTC (permalink / raw)


In article <421i2o$5kv@trog.dra.hmg.gb>,  <pehowland@taz.dra.hmg.gb> wrote:
>However, I now have a problem with the tcsh shell.  I had previously
>put the statement
>
>	set path=(\users\Freeware \users\bin)
>
>in the file \etc\csh.login, so that whenever anyone logged on using a
>tcsh shell, their path would contain the above two directories.  It
>has stopped working!

I hope you're really using "/" instead of "\" in the above path
statement, otherwise it won't work.

Also, you should check to see if /etc/csh.login is protected so others
can read it.

-- 
Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     phone:       (714) 824-6926
Office of Academic Computing         FAX:         (714) 824-2069




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Digital UNIX V3.2C and tcsh
  1995-08-30  4:00 Digital UNIX V3.2C and tcsh pehowland
  1995-08-30  4:00 ` Mike Iglesias
@ 1995-08-30  4:00 ` Andy Phillips
  1995-08-31  4:00   ` Paul E Howland
  1995-08-31  4:00 ` Wolfram Klaus
  2 siblings, 1 reply; 5+ messages in thread
From: Andy Phillips @ 1995-08-30  4:00 UTC (permalink / raw)


pehowland@taz.dra.hmg.gb () writes:


>I've just upgraded from OSF/1 V3.2 to Digital UNIX V3.2C, and all went well.

    Glad to hear it.
    
>However, I now have a problem with the tcsh shell.  I had previously
>put the statement
>	set path=(\users\Freeware \users\bin)
>in the file \etc\csh.login, so that whenever anyone logged on using a
>tcsh shell, their path would contain the above two directories.  It
 :
>tcsh 6.06.00 (Cornell) 1995-05-13 (alpha-dec-osf1) options 8b,nls,al,nl,rh
 
 Ok, I ve got the same tcsh + osf,  

 tcsh 6.06.00 (Cornell) 1995-05-13 (alpha-dec-osf1) options 8b,nls,dl,al,rh

    and it seems to work fine for me. The only thing that springs to mind
  is that in my /etc/csh.login the command reads
    set path=(/usr/bin /bin /bin/X11)
   
  try it with the "\" changed to "/". 
  
  Failing that, are you invoking the tcsh as a login shell (check this by
  looking for the existence of the boolean variable "loginsh" when you
  type "set"). If not, then csh.login will not be read on start up. 
  
  		cheers,
			andy
-- 
atp@mssly1.mssl.ucl.ac.uk 		  	  Andy Phillips
atp@mssl.ucl.ac.uk 			Mullard Space Science Laboratory, 
phillips@isass1.solar.isas.ac.jp	 Dept. Space and Climate Physics,
mssly1::atp				    University College London.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Digital UNIX V3.2C and tcsh
  1995-08-30  4:00 Digital UNIX V3.2C and tcsh pehowland
  1995-08-30  4:00 ` Mike Iglesias
  1995-08-30  4:00 ` Andy Phillips
@ 1995-08-31  4:00 ` Wolfram Klaus
  2 siblings, 0 replies; 5+ messages in thread
From: Wolfram Klaus @ 1995-08-31  4:00 UTC (permalink / raw)


pehowland@taz.dra.hmg.gb () writes:


>I've just upgraded from OSF/1 V3.2 to Digital UNIX V3.2C, and all went well.

>However, I now have a problem with the tcsh shell.  I had previously
>put the statement

>	set path=(\users\Freeware \users\bin)

First of all Unix is not DOS, so better change the backslashes to slashes!!!!

>in the file \etc\csh.login, so that whenever anyone logged on using a
>tcsh shell, their path would contain the above two directories.  It
>has stopped working!  It appears that the tcsh is no longer looking at
>this file.  The only way I can add these things to my path is to put
>the statement in my local $HOME\.login file - but this then only affects
>me, and not any other users (who would have to do the same).

Since the above entry works in your personal .login, I guess you
just exchanged slashes and backslashes in your article (and not in
your files).

Before doing anything else please check if /etc/csh.login is
has the executable bit set for  everyone. That might be the
problem. And of course it must be readable for everybody...

>Has anyone else experienced this change in behaviour?  What's going on?
>What should I do to add things to the path of _all_ tcsh users?

>I am using the following version of tcsh:

>tcsh 6.06.00 (Cornell) 1995-05-13 (alpha-dec-osf1) options 8b,nls,al,nl,rh

>on a DEC 3000 Model 600.

>Many thanks,

One last note that might sound harsh:
If you have some experienced Unix users on your system they might
question your authority as a Unix sysadmin if they find you using
backslashes instead of slashes all the time.

>Paul
>Defence Research Agency,
>UK.
--
Wolfram Klaus (klaus@manuel.physik.fu-berlin.de)     FU Berlin, FB Physik
*************************************************************************
************ Linux ... the choice of a GNU generation *******************
*************************************************************************



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Digital UNIX V3.2C and tcsh
  1995-08-30  4:00 ` Andy Phillips
@ 1995-08-31  4:00   ` Paul E Howland
  0 siblings, 0 replies; 5+ messages in thread
From: Paul E Howland @ 1995-08-31  4:00 UTC (permalink / raw)



In article <atp.809789809@mssly1.mssl.ucl.ac.uk>, atp@mssly1.mssl.ucl.ac.uk (Andy Phillips) writes:
|>pehowland@taz.dra.hmg.gb () writes:
\v
|>>However, I now have a problem with the tcsh shell.  I had previously
|>>put the statement
|>>	set path=(\users\Freeware \users\bin)

|> Ok, I ve got the same tcsh + osf,  
|>
|> tcsh 6.06.00 (Cornell) 1995-05-13 (alpha-dec-osf1) options 8b,nls,dl,al,rh
|>
|>    and it seems to work fine for me. The only thing that springs to mind
|>  is that in my /etc/csh.login the command reads
|>    set path=(/usr/bin /bin /bin/X11)
|>   
|>  try it with the "\" changed to "/". 

Hmm!  Sorry, typo in my posting - the file itself had the "/"'s the
right way round.  I blame DOS.

|>  Failing that, are you invoking the tcsh as a login shell (check this by
|>  looking for the existence of the boolean variable "loginsh" when you
|>  type "set"). If not, then csh.login will not be read on start up. 

That exists too.

Oh well, thanks for the tips - I'll carry on investigating.

Paul.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1995-08-31  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-08-30  4:00 Digital UNIX V3.2C and tcsh pehowland
1995-08-30  4:00 ` Mike Iglesias
1995-08-30  4:00 ` Andy Phillips
1995-08-31  4:00   ` Paul E Howland
1995-08-31  4:00 ` Wolfram Klaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox