Post #9,555
9/17/01 10:00:27 PM
|
Sun box.
Dunno the OS, will look that up tomorrow. I'm assuming it's Solaris something-or-other.
It's actually Korn shell, I believe. I did a test that I found on a website that seemed to point to ksh88.
Regards,
-scott anderson
|
Post #9,586
9/18/01 7:17:52 AM
|
It's not the POSIX shell, is it?
I know the default shell on HP-UX is something called a POSIX shell. It's like a cross between Korn Shell and the Bourne Shell. Its command-completion key sequence was ESC-ESC. I never even tried to figure out how to change it because I was happy with the default vi-key editing keys.
I'm not sure how you'd check, though; check file sizes of /bin/sh and /bin/*sh perhaps?
Wade.
"All around me are nothing but fakes Come with me on the biggest fake of all!"
|
Post #9,607
9/18/01 9:26:23 AM
|
Nope. ksh
man calls it Korn Shell.
SunOS xxxx 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-4
Regards,
-scott anderson
|
Post #10,067
9/21/01 10:33:36 AM
|
Tru64 ksh
No idea what version of ksh is running on the Tru64 box at work, but filename completion is achieved by ESC-Blackslash, which I'm (slowly) getting used to. Haven't had the time/energy to see if/how it's changeable.
On and on and on and on, and on and on and on goes John.
|
Post #10,195
9/22/01 5:53:32 AM
|
Ackshully
The HP/UX box I've got to play with at the moment (version 10.20.something) has regular sh as the default shell, with ksh and csh also available.
"man sh" reveals no mention of a "POSIX shell".
-- Peter Shill For Hire
|
Post #10,248
9/22/01 11:15:01 PM
|
IIRC...
/bin/sh is the POSIX shell.
There's another shell (/bin/??) which is the Bourne shell. /bin/sh-old?
/bin/ksh is the Korn shell.
This was back in 10.10 days, possibly 10.20, ~1996-1998. Try apropos posix for more info, enabling apropos if necessary.
-- Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com] What part of "gestalt" don't you understand?
|
Post #10,259
9/23/01 8:05:27 AM
|
It's possible to change it.
I'm not sure just how you're supposed to change it, though, and a sym-link doesn't strike me as the way HP would do it. It's been a few years since I've played on HP-UX. There should be a /bin/posix-sh, though, which will definitely be the POSIX shell. In practice, there's very little between them.
Wade.
"All around me are nothing but fakes Come with me on the biggest fake of all!"
|
Post #10,653
9/27/01 3:28:59 AM
|
Shows up on my manual page
NAME sh - overview of various system shells
SYNOPSIS POSIX Shell: sh [+-aefhikmnoprstuvx] [+-o option] ... [-c string] [arg ...] rsh [+-aefhikmnoprstuvx] [+-o option] ... [-c string] [arg ...]
Bourne Shell: sh [--acefhiknrstuvx ...] [arg ...] rsh [--acefhiknrstuvx ...] [arg ...]
(and so forth) Basically, this sh(1) page tells you what the shells are and which manual page to look at in order to get the detailed information. Perhaps on your HPUX they didn't update the man pages when/if they upgraded to 10.20?
Who knows how empty the sky is In the place of a fallen tower. Who knows how quiet it is in the home Where a son has not returned.
-- Anna Akhmatova (1889-1966)
|
Post #10,748
9/28/01 3:02:07 AM
|
It's a strange box
Only has a 2 user licence, only has X installed. There's no telnet server. It's running Oracle and gawd only knows what's been done to it.
-- Peter Shill For Hire
|
Post #10,762
9/28/01 8:49:00 AM
|
That is very odd.
The two-user license I understand; IIRC a default HP-UX install ships like that. There are "patches" you buy to give you more users. But no telnet server? That's a bizarre omission. I thought HP loved telnet.
Wade.
"All around me are nothing but fakes Come with me on the biggest fake of all!"
|