|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Where to obtain OpenBSD's pdksh
I looked through the 4.6 i386 packages list but I can't find ksh or pdksh (I want the OpenBSD version). I want to compile the source on another OS but I can't find the download on the OpenBSD packages page. Where can I obtain the official copy of OpenBSD's pdksh?
|
|
|||
It is not a package, it is distributed as part of the operating system.. it is the default ksh implementation.
The developers have customized it over the years for use on OpenBSD, a few 3rd party projects have ported it elsewhere though.. AFAIK those efforts have stalled. You can find the source in the CVS tree, or in the src.tar.gz tarballs put out with each release. http://www.openbsd.org/cgi-bin/cvsweb/src/bin/ksh/ |
|
|||
Some people ported OpenBSD's ksh to other systems. You may want to search for that on the Internet. I'm not sure if these versions of ported KSH is maintained or up to date.
You can check out mksh, which is close to OpenBSD's ksh http://www.mirbsd.org/mksh.htm |
|
||||
You can checkout the ksh code from OpenBSDs CVS and build it. Last time I did was on FreeBSD 6 or 7, it only required changing like two lines of a header file.
The mksh that bmk1st mentioned is also an option, although I haven't used it enough over the years to note compatibility levels with modern OpenBSDs own shell.
__________________
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''. |
|
|||
Thanks. I don't like the default ksh because it doesn't have some features like the history completion with up/down arrows and tab completion, etc.
But after using OpenBSD's version for a while it seems like my preferred shell of choice. I don't think I even realized it was ksh Last edited by guitarscn; 29th January 2010 at 04:13 AM. |
|
||||
I've found ksh93 a bit buggy if that's what you're referring to, but it can be setup with a sexy completion system, if a bit unorthodox.
__________________
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''. |
|
|||
This thread is over 3 year old, what's your point?
Besides, OpenBSD doesn't develop an "OpenBSD ksh"; as far as I know, it is pdksh. |
|
|||
I could be wrong but if I am not mistaken Mirabilos is the Linus/Theo of MirBSD OS
See https://www.mirbsd.org/ and https://www.mirbsd.org/mksh.htm
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Interesting, because from the OpenBSD ksh man page:
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
obtain 2 ips via dhcp | dextro | FreeBSD General | 2 | 6th February 2009 04:56 AM |