From mboxrd@z Thu Jan 1 00:00:00 1970 From: ron@ronnatalie.com (Ronald Natalie) Date: Mon, 27 Jun 2016 15:33:34 -0500 Subject: [TUHS] Origin year of BSD csh? In-Reply-To: <20160627112732.GA8110@autechre4> References: <201606261014.u5QAE1qX015184@skeeve.com> <5770032F.8030306@mhorton.net> <20160626181450.GK26734@mcvoy.com> <18119E4C-CE7E-44BD-B2D2-D7B32850238F@ronnatalie.com> <20160627112732.GA8110@autechre4> Message-ID: > On Jun 27, 2016, at 6:27 AM, Sven Mascheck 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. 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.