1832907 Members
3597 Online
110048 Solutions
New Discussion

Re: tcsh implementation

 
SOLVED
Go to solution
Doug Wheeler_1
Frequent Advisor

tcsh implementation

I think I am missing something basic here. I have a user who wants to have tsch implementedon a J5600 running HPUX 10.2 I installed said software depot. (downloaded from the Porting And Archive Centre for HP-UX <>).
It shows up in the loaded software in SAM, but I can't run it. The documentation mentions makefiles but I am unable to sort it out. Any ideas ?
Thanks,
Doug
6 REPLIES 6
Alex Glennie
Honored Contributor

Re: tcsh implementation

Bit tricky to say without the error !

Did you read all the documentation ?

try searching for a precompiled binary ?

post the error details to this forum &

PLEASE send any bug reports (and fixes), code for new features, comments, questions, etc. (even flames) to:

The tcsh mailing list
tcsh@mx.gw.com


Thomas Kollig
Trusted Contributor

Re: tcsh implementation

Do you have the file "/opt/tcsh/bin/tcsh"?
If yes, then try "/opt/tcsh/bin/tcsh".
If no, strange...

Thomas
Doug Wheeler_1
Frequent Advisor

Re: tcsh implementation

Ok, this is embarrassing but....
Yes, /opt/tcsh/bin/tcsh is there and if I issue the command /opt/tcsh/bin/tcsh, it executes just fine.

I am making the assumption that I would assign this as the default shell in SAM much like csh or sh. Or, do I execute the above command in a login script ?
Thanks,
Doug
James R. Ferguson
Acclaimed Contributor
Solution

Re: tcsh implementation

Hi Doug:

You can specify the tcsh shell as the default shell for a user in /etc/passwd by using the full path name just like any other shell.

You should add the entry to the /etc/shells file or create one with it and the following standard entries:

/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
/opt/tcsh/bin/tcsh

For more information see 'man (4) shells'.

...JRF...
Doug Wheeler_1
Frequent Advisor

Re: tcsh implementation

Bingo!
The shells file seems to be ignored, but....
by modifying the passwd file, it works. I can now implement it for my user.

Thank you all very much for your help.
Doug

Keith Bunge
Occasional Advisor

Re: tcsh implementation

I would make sure to add the

/opt/tcsh/bin/tcsh

entry into /etc/shells otherwise any
users using that shell will be unable
to use ftp. Helps to avoid future
confusion.