Results 1 to 3 of 3

Thread: Installing pdksh

  1. #1
    ksh for OS X
    AT&T Research has a pre-compiled Darwin binary of ksh available for those wishing to try out a so-called scripting shell:
    However, the AT&T version does not come with a man page and may generate locale errors under Darwin/OS X. Therefore, I suggest installing an alternative. If you want to try ksh on OS X, you can install pdksh (a korn shell clone) like so:
    curl -O
    gnutar -xzf pdksh-5.2.14.tar.gz
    cd pdksh-5.2.14
    curl -O
    curl -O
    patch < pdksh-5.2.14-patches.1
    patch < pdksh-5.2.14-patches.2
    ./configure --prefix=/usr/local
    sudo -s
    make install
    echo "/usr/local/bin/ksh" >> /etc/shells

    Available Shells in OS X
    On OS X 10.2, the default shell is tcsh. Here is a list of the provided shells:

    (sh is actually bash running in sh compatibility mode; ksh can be invoked in zsh, but only in compatibility mode)

    bash was not included in 10.1.x allegedly due to licensing concerns on Apple&#39;s part. Now it is part of the shipping shell choices, although it has not yet been blessed with the default shell assignment status (as has tcsh).

  2. #2

    Emrys's Avatar
    Member Since
    Oct 27, 2002
    what is the default shell in OS X? Is it bash? I like the RedHat default, which I think is bash. Mainly the colored shell is my main reason for asking
    Community Administrator / Moderator
    MAC-FORUMS.COM - The Ultimate Source For Your Mac!

  3. #3

    rman's Avatar
    Member Since
    Dec 24, 2002
    Los Angeles, California
    Thanx gatorparrots, I was wondering about the other shells. I didn&#39;t have the time to look. Will have to try the pdksh you suggested.
    Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Installing OS X 10.6 over 10.5
    By BDD888 in forum macOS - Operating System
    Replies: 5
    Last Post: 04-18-2013, 02:38 PM
  2. Installing XP
    By KHRIZZY in forum Running Windows (or anything else) on your Mac
    Replies: 3
    Last Post: 06-06-2011, 02:19 PM
  3. Installing gcc on Mac OSX without re-installing XCode
    By jigglypuff in forum macOS - Development and Darwin
    Replies: 0
    Last Post: 02-26-2010, 01:16 AM
  4. Replies: 6
    Last Post: 11-01-2009, 08:03 PM
  5. Installing new OS
    By poobah in forum macOS - Operating System
    Replies: 1
    Last Post: 02-24-2005, 04:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts