From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from iadd.jivetech.com ([205.134.227.194]) by hawkwind.utcs.utoronto.ca with SMTP id <24658>; Tue, 12 Aug 1997 18:05:38 -0400 Received: (from haahr@localhost) by iadd.jivetech.com (8.8.5/8.8.5) id OAA00885; Tue, 12 Aug 1997 14:24:34 -0700 From: Paul Haahr X-Attribution: haahr Message-Id: <8PZdii2+2@localhost.localdomain.netcom.com> Date: Tue, 12 Aug 1997 17:24:34 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Tom Culliton Cc: Russell Davies , rc@hawkwind.utcs.toronto.edu Subject: Re: rc,linux,signal,readline In-Reply-To: <199708121359.JAA05316@clark.net> References: <199708120819.SAA07860@lily.newcastle.edu.au> <199708121359.JAA05316@clark.net> X-Mailer: VM 6.30 under Emacs 19.34.1 > > I have been trying for a while now to get the following > > working under linux..without success.. > > > > a _dynamically linked_ rc shell with; > > I have sent patches to the list which take care of all the rest of > your requests, but for some reason the shared/dynamic version of GNU > readline doesn't work like the static version. At least thats my > first guess as to the problem. Without readline it works "properly" > and trips clean when linked dynamically. With readline it doesn't. Could it be that you're getting the wrong readline.so? There were real changes between the 1.x and 2.x versions, as I remember. > The size of the statically linked image is with readline unde RedHat > Linux 4.2 is 308264 bytes, actually slighty bigger than dynamically > linked bash at 300668. On the other hand I think it was Chris (cks) > (or maybe Paul) who once gave some good reasons why a shell should be > statically linked. I probably said something along those lines, back in the days when we worried about the startup time. 10x performance improvement moots the issue for me. You should have *some* shell, typically lying around in /sbin these days, which is not dynamically linked, for those times when everything else is broken. If rc is your root shell, then making it statically linked is probably a good idea. --p