Pick a shell, any shell...

IRIX and IRIX software discussion including open source and commerical offerings.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.

What is your favorite shell on IRIX?

bash
25
38%
csh
5
8%
ksh
2
3%
sh
1
2%
tcsh
28
43%
zsh
4
6%
other
0
No votes
 
Total votes: 65

User avatar
josehill
Moderator
Moderator
Posts: 3354
Joined: Mon Jun 06, 2005 9:53 pm
Location: New England, USA
Contact:

Pick a shell, any shell...

Unread postby josehill » Tue Oct 03, 2006 8:45 pm

Just for fun...

User avatar
ghoward986
Posts: 169
Joined: Wed Jul 26, 2006 1:13 pm
Location: Tampa Fl USA
Contact:

Unread postby ghoward986 » Wed Oct 04, 2006 12:40 am

Since you have posted this poll I have to ask.

What is the difference shell to shell, why so many?

Gary

Brombear
Posts: 786
Joined: Sun Oct 05, 2003 8:42 am
Location: Frankfurt (Rhein-Main Area) / Germany
Contact:

Unread postby Brombear » Wed Oct 04, 2006 12:53 am

ghoward986 wrote:What is the difference shell to shell, why so many?


It's all about choice.

vi or emacs
linux or unix
redhat or novell
firefox or internet explorer
vw or bmw
blonde or brunett :wink:

Matthias
Life is what happens while we are making other plans

User avatar
regan_russell
Posts: 888
Joined: Tue Jul 18, 2006 9:32 pm
Location: Sydney, Australia
Contact:

shell differences.

Unread postby regan_russell » Wed Oct 04, 2006 1:06 am

Mostly the syntax of the scripting languages and the command line editing features.

ksh has a vi compatibility mode. (set -o vi) which allows editing a command line as if it was text in ex or vi..

I like bash but had to work in situations where only ksh or others were availible or allowed..

I always wanted to hack a shell that fell back to Eliza when it didn't recognized something.. just for laughs..
(Eliza = dumb pattern matching system where you'd type something like "I like X" and it would respond with one of a few pattern matches selected randomly.. like "Why?" or "What do you like about X" or maybe ... "what are you doing dave?" ;-) or something..)

As much as everyone hates SCO, it had a neat feature where it would prompt with corrections... type:

Code: Select all

 cd /ect
it would come back with
cd /etc ?
and you just had to type y...

Choice is a good thing and if someone wants to take the ideas above and write a cool new shell for IRIX knock youself out..
Last edited by regan_russell on Wed Oct 04, 2006 1:22 am, edited 1 time in total.
:Onyx2R: :Onyx2R: :0300: :0300: :0300: :O200: :Octane: :Octane: :O2: :O2: :Indigo2IMP: :Indy: :Indy: :Indy: :Indy: :Indy: :Indy: :Indy: :Indy:
:hpserv: J5600, 2 x SUN, 2 x Mac, 3 x Alpha, 2 x RS/6000

User avatar
regan_russell
Posts: 888
Joined: Tue Jul 18, 2006 9:32 pm
Location: Sydney, Australia
Contact:

Other shells exist too..

Unread postby regan_russell » Wed Oct 04, 2006 1:11 am

Actually there are missing shells from the above list..

PostgreSQL has a shell which you can mix shell and SQL together...
And I am sure there are others..

Regan
:Onyx2R: :Onyx2R: :0300: :0300: :0300: :O200: :Octane: :Octane: :O2: :O2: :Indigo2IMP: :Indy: :Indy: :Indy: :Indy: :Indy: :Indy: :Indy: :Indy:
:hpserv: J5600, 2 x SUN, 2 x Mac, 3 x Alpha, 2 x RS/6000

User avatar
zizban
Moderator
Moderator
Posts: 1373
Joined: Sun Dec 21, 2003 5:59 pm
Location: Cheshire, MA
Contact:

Unread postby zizban » Wed Oct 04, 2006 5:46 am

I use tsch on Irix, ksh on Solaris and Bash on Mac OS X.

User avatar
milatchi
Posts: 353
Joined: Sun Nov 28, 2004 8:49 pm
Location: EV-ERY-ONE!
Contact:

Unread postby milatchi » Wed Oct 04, 2006 6:09 am

I use bash in IRIX; mainly because Linux and Mac OS X use it. I started off playing around with tcsh in Mac OS X.1.3 but then moved on to bash.
"EV-ERY-ONE!" --Stansfield

schleusel
Posts: 495
Joined: Mon Oct 20, 2003 6:49 am
Location: NRW, Germany
Contact:

Unread postby schleusel » Wed Oct 04, 2006 6:49 am

zsh everywhere.

(I think we had this thread before.. ;-) )

User avatar
josehill
Moderator
Moderator
Posts: 3354
Joined: Mon Jun 06, 2005 9:53 pm
Location: New England, USA
Contact:

Unread postby josehill » Wed Oct 04, 2006 7:18 am

schleusel wrote:(I think we had this thread before.. ;-) )

Probably several times! :lol:

I tried to use both google and the neko search tool, but I wasn't able to create the magic search string to separate the key threads from all the others, so I figured that it would be interesting to see what a new thread might show...

User avatar
pipeline
Posts: 259
Joined: Thu Nov 03, 2005 10:07 am

Unread postby pipeline » Wed Oct 04, 2006 7:54 am

Hah, I'm surprised at the number of TCSH asshats. I know that almost every other modern shell (bash, ksh93, zsh) is vastly better in one way or another, but I'm too damn lazy to change. My .tcshrc is large, and it works just barely well enough to not motivate me to change.

What the fuck is the rest of y'alls excuse?

ghoward986 wrote:What is the difference shell to shell, why so many?

It's a layer cake, an archaeological dig.
  • sh, the oldest and most annoying to use at the bottom.
  • csh, with job control and the worst scripting ever, just on top.
  • ash, made by the same folks as csh, with a few enhancements to sh to bring it into the 1980s. (IRIX sh is based on ash.)
  • tcsh, with interactive features and a few other enhancements to csh on top of that.
  • ksh88, a non-free but vastly improved sh, which has screen editor modes and other freaky cool interactive features.
  • bash, a ksh knockoff that was meant to be free.
  • ksh93, ksh88 with even more modern crap layered on.
  • zsh, the newest, with more features than any sane person could possibly want or use.

They're all sets of enhancements to the same basic, shitty design of sh, the Bourne shell.

User avatar
josehill
Moderator
Moderator
Posts: 3354
Joined: Mon Jun 06, 2005 9:53 pm
Location: New England, USA
Contact:

Unread postby josehill » Wed Oct 04, 2006 8:33 am

pipeline wrote:Hah, I'm surprised at the number of TCSH asshats. I know that almost every other modern shell (bash, ksh93, zsh) is vastly better in one way or another, but I'm too damn lazy to change. My .tcshrc is large, and it works just barely well enough to not motivate me to change.

What the fuck is the rest of y'alls excuse?

Ah, pipeline, your posts are like the first bright, warming rays of morning sunshine after a cool autumn night! :lol: :lol:

I use tcsh because I've been using it for years, and its keystrokes are now built in to my "muscle memory." That seems to be the case for most of my colleagues in the office, too. C-style syntax, with bash-style interactivity (or maybe it's more accurate to say that bash has tcsh-style interactivity). We even tend to use it on our Linux and Solaris systems!

So, hey, share a little more sunshine with a benighted asshat like me. What are the key items in your .tcshrc which keep you in the TC shell? :?:

VeKTeReX
Posts: 93
Joined: Tue Jun 17, 2003 7:39 pm
Location: Miami, Florida

Re: shell differences.

Unread postby VeKTeReX » Wed Oct 04, 2006 8:35 am

regan_russell wrote:I always wanted to hack a shell that fell back to Eliza when it didn't recognized something.. just for laughs..
(Eliza = dumb pattern matching system where you'd type something like "I like X" and it would respond with one of a few pattern matches selected randomly.. like "Why?" or "What do you like about X" or maybe ... "what are you doing dave?" ;-) or something..)


Off topic, but i remember Eliza. I spent hours of "simpleton" fun messing around with it on the Mac back in '92. Great app.

/KRM

User avatar
foetz
Moderator
Moderator
Posts: 6625
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Unread postby foetz » Wed Oct 04, 2006 9:09 am

i'd have to select 2.
tcsh/zsh for interactive use and ksh93 for scripts.

User avatar
josehill
Moderator
Moderator
Posts: 3354
Joined: Mon Jun 06, 2005 9:53 pm
Location: New England, USA
Contact:

Unread postby josehill » Wed Oct 04, 2006 9:12 am

foetz wrote:i'd have to select 2.
tcsh/zsh for interactive use and ksh93 for scripts.

Great point - it crossed my mind to distinguish between interactive use and scripting use when I started the thread, but it slipped through the cranial cracks before I posted; the interactive case was my main interest.

(Likewise, I use ksh93 for shell scripts.)

User avatar
voidfoo
Posts: 474
Joined: Sat May 17, 2003 2:01 pm
Location: Seattle

Unread postby voidfoo » Wed Oct 04, 2006 9:47 am

later tcsh version + tcshrc.sourceforge.net FTW :)


Return to “IRIX and Software”

Who is online

Users browsing this forum: Semrush [Bot] and 3 guests