From owner-freebsd-current Mon Nov 2 01:59:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA12852 for freebsd-current-outgoing; Mon, 2 Nov 1998 01:59:57 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cons.org (knight.cons.org [194.233.237.86]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA12846 for ; Mon, 2 Nov 1998 01:59:54 -0800 (PST) (envelope-from cracauer@cons.org) Received: (from cracauer@localhost) by cons.org (8.8.8/8.7.3) id KAA11960; Mon, 2 Nov 1998 10:59:36 +0100 (CET) Message-ID: <19981102105935.B11918@cons.org> Date: Mon, 2 Nov 1998 10:59:35 +0100 From: Martin Cracauer To: obrien@NUXI.com, Martin Cracauer Cc: current@FreeBSD.ORG Subject: Re: sh and ~ expansion References: <362B74B6.B9B256B4@gorean.org> <19981028185553.A18168@cons.org> <19981029014317.C26396@nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i In-Reply-To: <19981029014317.C26396@nuxi.com>; from David O'Brien on Thu, Oct 29, 1998 at 01:43:17AM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In <19981029014317.C26396@nuxi.com>, David O'Brien wrote: > > pdksh has a number of (IMHO) bugs with respect to signal handling. The > > problem here is "what happens when a sh child uses SIGINT and/or > > So, lets fix them and submit the patches back to the pdksh developers. Some problems: 1) It way be easier to fix the remaining syntax problems in ash 2) The signal behaviour of pdksh is probably intended (although most other shells behave like ours and bash). If we had a pdksh as default shell, people would be confused if it didn't behave as the normal pdksh does. 3) Someone acutally had to do it. I'm certainly not doing all the signal fixes a second time and the people who helped me are likely not to be amused, either. > > If you through away your shell and use a new one, you'll use a > > valuable resource: All the PRs collected over the years. > > Why are old PRs so valuable? They document remaining problems. This make it easier/possible to fix them and to tell people exactly what they have to work around. We could even claim them features if the documentation is good enough :-) > > For pdksh, you'll start from scratch > > So? For 3.0+ we added so many new things that we had to start from > scratch on. ELF, new boot loader, Amd, 4.4Lite2 in the kernel, etc... That isn't a reason to reset everything. I can understand your point, you're maintainer of a lot of ports and many of them depend on sh or even bash behaviour. However, currently pdksh is not an alternative to the current FreeBSD sh, especially for system startup. Wouldn't it be easier to change port's scripts to #!/usr/local/bin/ksh and require pdksh for build/run respectivly. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536 Paper: (private) Waldstrasse 200, 22846 Norderstedt, Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message