[TUHS] Origin year of BSD csh?

Steve Nickolas usotsuki at buric.co
Tue Jun 28 07:02:58 AEST 2016


On Mon, 27 Jun 2016, Ronald Natalie wrote:

>
>> On Jun 27, 2016, at 6:27 AM, Sven Mascheck <mascheck at in-ulm.de> wrote:
>>
>> On Sun, Jun 26, 2016 at 01:32:23PM -0500, Ronald Natalie wrote:
>>> I added JOB control to the SV  (and later SVR2) Bourne Shell.
>>> Then they beat on me for not having command like editing in (a la TCSH),
>>> so I added that.
>>
>> How interesting, I will try to bother you (perhaps directly) about
>> in-depth informations :-)
>>
>
> Sure, it was a long time ago, but I’ll tell you what I remember.  The 
> one thing I do remember is that the SV /bin/sh was written in these 
> horrendous macros that sort of made it look like algol or something.

That was inherited from the original V7 Bourne shell.  And "horrendous" 
doesn't even begin to describe that disaster of coding.

> When the SVR2 shell came out, someone (not Bourne obviously) had undone 
> all those in favor of the native C++ if/else/while blocking.
>>
>> I've always been intrigued by the fact that traditional Bourne shell and
>> Almquist shell haven't implemented history or command line editing.
>
> Command line editing might have been implemented in the driver as 
> enhanced editing in “cooked” mode, but the history is a bit more context 
> specific.

I kind-of like the MS-DOS 5 approach of having a separate tool that the 
shell can optionally link to that provides those capabilities.

*ducks and runs*

-uso.


More information about the TUHS mailing list