1826215 Members
2694 Online
109691 Solutions
New Discussion

Is HPUX has tcsh shell?

 
GaneshrajS
Advisor

Is HPUX has tcsh shell?

may I know all shell details in hpux?
Is HPUX has tcsh shell?
12 REPLIES 12
Laurent Menase
Honored Contributor

Re: Is HPUX has tcsh shell?

Not by default, you need to get an unsupported one at:
http://hpux.connect.org.uk/hppd/hpux/Shells/tcsh-6.14.06/
Ganesan R
Honored Contributor

Re: Is HPUX has tcsh shell?

Hi,

The most commonly used shells in hpux are below.

Bourne shell -->Available on all UNIX platforms. It is the oldest and most widely
used shell.

C shell -->It uses a C language-like syntax for shell programming.

Korn shell -->It has more complex and advanced features than the Bourne or C
shell and takes more time to master.

POSIX shell -->IEEE POSIX (Portable Operating System Interface) compliant shell.
It is the default and primary shell for all users on HP-UX.

Each of these shells has its own capabilities and limitations. The default shell used on HP-UX systems is the POSIX shell, although the user is free to choose any of the available shells.
Best wishes,

Ganesh.
OldSchool
Honored Contributor

Re: Is HPUX has tcsh shell?

and of course, if you can find the source, you can always build your own. although google shows that tcsh pretty much hasn't changed in 10 years...
James R. Ferguson
Acclaimed Contributor

Re: Is HPUX has tcsh shell?

Hi:

While you can use any shell you choose for non-root users, NEVER change root's shell from '/sbin/sh' to anything else!

If you do, you will find you have an un-startable system. The 'sbin/sh' is a statically linked binary reprenting the POSIX (Korn superset) shell. Since its libraries are staically linked it doesn't require '/usr' directory to be mounted. Use the dynamically linked '/usr/bin/sh' as the normal user's POSIX shell since its memory footprint will be smaller.

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: Is HPUX has tcsh shell?

>Ganesan: Bourne shell -->Available on all UNIX platforms. It is the oldest

I don't even think this obsolete shell is even present on HP-UX anymore, at least on 11.23.

If you want to use ftp, you might need to add tcsh in /etc/shells.

>C shell -->It uses a C language-like syntax for shell programming.

You forgot to mention, don't even think of using the scummy C shell.
OldSchool
Honored Contributor

Re: Is HPUX has tcsh shell?

so....merjin seems to have ported tcsh to 10.20 - 11.31

look here for the binaries/depots:
http://mirrors.develooper.com/hpux/downloads.html
ajin
Frequent Advisor

Re: Is HPUX has tcsh shell?

no it don't have
OldSchool
Honored Contributor

Re: Is HPUX has tcsh shell?

"no it don't have"???


what, hp-ux or merjin's site.
if you mean hp-ux, then that's correct (as noted at the begining of the thread. if you mean merjin's site, then you are mistaken.

GaneshrajS
Advisor

Re: Is HPUX has tcsh shell?

-Advantages/Disadvantages for tcsh shell?
-Is it really tcsh shell has some special which other shells doesnt have?
GaneshrajS
Advisor

Re: Is HPUX has tcsh shell?

Thanks for all your replies. This is really helping us. :)
Laurent Menase
Honored Contributor

Re: Is HPUX has tcsh shell?

If you like csh more than sh syntax
and if you want some of the advantages you have on ksh/posix shell, then tcsh is for you.

the other thing interesting is that you can use arrow keys to move in the history.

But really isn't worse a ksh or bash... :)
Peter Nikitka
Honored Contributor

Re: Is HPUX has tcsh shell?

Hi,

looking for dis/advantages, there are two paths to compare with:
1) csh -> tcsh
2) Bourne-like shells -> tcsh

Regarding 2) there may be some kind of ideologie ...

regarding 1)
Countless, but check for incompatiblities to csh in the tcsh-docs. Some +++:
- cmdline editing (+ navigations as already told)
- history mechanism permanent
- variable modifiers usable for env-vars as well
- variable modifiers stackable (like ${var:t:r:s:_:.:})
- arguments for 'source'
- much lesser restrictions and better consistency in variable namelength
- no limitation of the length of 'switch-case' statement
- more robust because much lesser use of fixed length buffers internally

So when you're looking from a C-Shell point of view: use TCSH as soon as you can ...

Generally, in scripting I use both.

mfG Peter

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"