DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

View Poll Results: What is your favorite interactive shell?
Original Bourne Shell (sh) 0 0%
Bourne-Again Shell (bash) 6 20.00%
Original C Shell (csh) 1 3.33%
Tenex C Shell (tcsh) 10 33.33%
Public Domain Korn Shell (pdksh) 3 10.00%
Korn Shell '88 (ksh88) 0 0%
AT&T Korn Shell '93 (ksh93) 1 3.33%
Almquist Shell (ash) 0 0%
Debian Almquist Shell (dash) 0 0%
Extensible Shell (es) 0 0%
Eash Shell (esh) 0 0%
Friendly Interactive Shell (fish) 2 6.67%
MirBSD PDKSH (mksh) 1 3.33%
Multi User Dungeon Shell (mudsh) 0 0%
Perl Shell (perlsh) 0 0%
Plan 9 Shell (rc) 0 0%
Stand Alone Shell (sash) 0 0%
Scheme Shell (scsh) 0 0%
Z Shell (zsh) 6 20.00%
Other 0 0%
Voters: 30. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th March 2009
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Thanked 8 Times in 8 Posts
Default Favorite Interactive Shell

Which shell do you prefer for interactive (not necessarily scripting) use?
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
  #2   (View Single Post)  
Old 17th March 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

I swear there was a topic identical to this before.. I can't find it at the moment, so I'll humour you and place my vote.

I voted for pdksh, but.. to be fair.. it's not vanilla pdksh, it's the OpenBSD modification.

Note; the religious quotes in your signature are quite annoying.
Reply With Quote
  #3   (View Single Post)  
Old 17th March 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

I don't think I really have a favorite interactive shell, so much as I have various levels of being lazy.


If it has decent line editing, file name completion, and functions; any Bourne-style shell will do fine for me. Systems I spend the most time on usually get zsh, because I like its context sensitive completion. On OpenBSD systems I use the provided Korn implementation and only miss zsh's completions. When working on Linux systems or when nether a korn or zsh setup is available, I usually use bash. So I guess you could say zsh is my favorite; except when I am to lazy to install it.


Once tpsh matures a bit more, it will probably become my favorite interactive shell in time.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #4   (View Single Post)  
Old 17th March 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

Quote:
Once tpsh matures a bit more, it will probably become my favorite interactive shell in time.
Perhaps you mean tcsh?

This seems to be a common typo for you, tpsh shell.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 17th March 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

I don't see how that could be a common typo, on a traditional QWERTY keyboard the P and C keys are nowhere near each other.. same pretty much goes for DVORAK.

Explain this mysterious typo TerryP, watching a little too much Bevis and Butt-Head?
Reply With Quote
  #6   (View Single Post)  
Old 17th March 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

Ironically Carpetsmoker, the first thing I see in that Google is a page with one of my commit logs on it :-P, BSDfan however gets the prize -> on a typical QWERTY keyboard, the 'P' is on the opposite side of the main cluster from the 'C', in fact up 2 rows, starboard ~7 keys; so I would have to be cock-eyed drunk to make that typo (even for me, lol).

Because I hate things like cygwin or SFU[!], bringing unix shells along with me to Win32 is to much damn trouble, and on a bsd/linux platform there is no reason to install a non standard shell. Cmd.exe is ok for batch scripting but sucks monkey balls for interactive use (even ash is better). Alternating between flavours of Almquist, Korn, Bourne Again, Z, and cmd.exe is not fun, because I like programs I use *a lot* to always behave the same where ever they are. Around February I decided to experiment further and put boredom to good use.


The "mysterious" solution: write a portable shell tailored to my tastes.


tsh is probably taken on unix whether or not it'll ever reach $PATH, and I'll never know if some stupid program in my %PATH% takes over "shell", so I inserted another letter from my initials (T.M.P.), creating tpsh; which as far as I know is a free enough name for my needs.


tpsh stands for Terry's Portable SHell.


Compact shell written in perl, to behave more or less as a 'sh' would when it doesn't deviate from what I desire; but not strictly compatible with any existing shell either. Also as opposed to being _yet_ another perl powered shell configured / extended in Perl code or a shell bloated into a 20 ton monster, tpsh is instead meant to grow a fairly sh-compatible scripting interface along with the extras I desire without being huge :-) or in short, tpsh will be exactly what I desire from a sh but installing it becomes more like installing a sane Term::ReadLine back end on a platform with decent Perl support, then like shoe horning a "popular" unix shell into FoobarOS without a full environment.



I currently have a small shell with very basic support for named macros, environment variables, filename globing, I/O redirection, pipes (unix only atm), and quoting; which is evolving into more completeness over time. Filename and command completion also works, and soon the completion and globing behavior will become user configurable. The big features mile stone will probably be when tpsh can survive parsing my current Bourne-family shell profile without barfing.




Did I *really* have to start writing my own shell? No but chewing on it sure passes the time pretty well. Some people train cock roaches to kill time, I write things instead :-P.


Does that long post cure your curiosity? lol
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #7   (View Single Post)  
Old 18th March 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

My curiosity is quenched, thanks for the explanation..
Reply With Quote
  #8   (View Single Post)  
Old 20th May 2009
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 107
Thanked 4 Times in 4 Posts
Default

Mine's are:
Fish, on my M$Linux 11.2Milestone1
ksh, on my FreeBSD 7.0
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
favorite programming language? ephemera Programming 138 2 Weeks Ago 12:57 AM
your 3 favorite games welkin FreeBSD Ports and Packages 17 5th June 2010 08:26 PM
How to check CPU state in non-interactive mode? bsddaemon FreeBSD General 2 18th October 2008 04:50 PM
Favorite x86 CPU manufacturer for... JMJ_coder Off-Topic 12 12th July 2008 05:59 PM
Your favorite way of maintaining ports chill FreeBSD Ports and Packages 17 29th June 2008 01:02 PM


All times are GMT. The time now is 01:34 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick