From owner-freebsd-questions Mon Sep 23 01:58:28 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA05981 for questions-outgoing; Mon, 23 Sep 1996 01:58:28 -0700 (PDT) Received: from mail.EUnet.hu (mail.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA05892 for ; Mon, 23 Sep 1996 01:58:18 -0700 (PDT) Received: by mail.EUnet.hu, id KAA09521; Mon, 23 Sep 1996 10:57:59 +0200 Received: by CoDe.CoDe.hu (KAA01709); Mon, 23 Sep 1996 10:18:41 GMT From: Gabor Zahemszky Message-Id: <199609231018.KAA01709@CoDe.CoDe.hu> Subject: Re: ksh [was: Re: Shells shells shells?] To: freebsd-questions@freebsd.org Date: Mon, 23 Sep 1996 10:18:41 +0000 (GMT) Cc: tony@rtd.com In-Reply-To: <199609210542.WAA00588@zebedee.local> from "Tony Jones" at Sep 20, 96 10:42:12 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > > > The one disadvantage is size: > > > > 335872 20480 7236 363588 58c44 /usr/local/bin/bash > > [John added] > > both bash and ksh. There is a real ksh available for free from > > Lucent (the old Bell-labs/hardware part of AT&T), that was specifically > > compiled for BSDI, but works on 2.1.5 and 2.2-current. I think > > that ksh is a bit smaller than bash also. Both shells are > > good (IMO.) > > That would be ksh93, which _was_ available from www.att.com as part of the > reuse package (along with nmake, vmalloc etc) [the distribution was associated > with a book, but I forget who the publisher was] > > Is it now on a Lucent page ? Post split, Korn works for AT&T Labs Research, > not Bell-Labs (Lucent). I couldn't find any reference to reuse or ksh on > either the main/research AT&T servers, or on the lucent/bell-labs servers. The correct URL is (from an email of David Korn): http://www.research.att.com:80/orgs/ssr/book/reuse And if you can find a Linux a.out version somewhere, you can use it with linuxemu on 2.1.0R, too. (I have an old one, and use it sometimes.) > Anyway the version I have (downloaded ~ Aug 95) is larger than even bash. > > $ size /usr/local/bin/ksh > text data bss dec hex > 409600 16384 8724 434708 6a214 And what about pdksh (it's a very good ksh88 replacement, with some advanced features - eg. a rebindable keymap; with some features from ksh93)? It's on packages (or: ftp.cs.mun.ca/pub/pdksh, the last version is 5.2.8), the size: $ size /usr/local/bin/pdksh text data bss dec hex 159744 4096 7488 171328 29d40 (well, this is the size of this last version compiled from sources, not the version found in the CD) -- Gabor Zahemszky -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:- Earth is the cradle of human sense, but you can't stay in the cradle forever. Tsiolkovsky