Subject: Re: bash
To: NetBSD User's Discussion List <netbsd-users@NetBSD.ORG>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 03/25/2001 16:48:10
[ On Sunday, March 25, 2001 at 14:53:49 (-0600), Frederick Bruckman wrote: ]
> Subject: Re: bash
> Hey, that's pretty neat.
I've had an implementation put together from examples in various sources
for nearly a decade for the real ksh-8 and it works just fine with
pdksh too (somewhat more sophisticated than the ones supplied for Ash
(/bin/sh), including a showd and dirs too). Only 110 lines without
comments, and only adds about 20KB to the VSZ of /bin/ksh when initially
loaded. Look for .kshdir in:
(note that other files in that collection are getting way out of date
compared to my current working environment -- I need to roll another
release of them I guess...)
> I'm curious about something. There's a "suspend" in there, and that's
> also a bash builtin.
"suspend" is a default alias in /bin/ksh too....
> What's that good for? I mean, why would you ever
> want to suspend your shell?
What about when you've got more than one shell in the same session? :-)
(Eg. when you su and want to come back temporarlily to your login shell)
Even with new windows (i.e. xterms) for new sessions I still like job
control in some situations, and controlling sub-shells is just another
part of that picture.
Greg A. Woods
+1 416 218-0098 VE3TCP <email@example.com> <robohack!woods>
Planix, Inc. <firstname.lastname@example.org>; Secrets of the Weird <email@example.com>