Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uflorida!haven!ncifcrf!nlm-mcs!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn )
Newsgroups: comp.unix.questions
Subject: Re: How to mimic the terminal driver?
Message-ID: <9019@smoke.BRL.MIL>
Date: 30 Nov 88 19:18:12 GMT
References: <10566@wsgw.ws.sony.junet> <35@umvlsi.ECS.UMASS.EDU>
Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) )
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 10

In article <35@umvlsi.ECS.UMASS.EDU> vishwana@umvlsi.ECS.UMASS.EDU (Chidambaram Vishwanath) writes:
>     I have taken upon myself the following task, viz.,: I want to add 
>an extra feature to the C-shell whereby I can recall earlier commands
>by pressing an arrow-key.  [etc.]

Why reinvent the wheel?  The so-called "Tenex Cshell" already has similar
support built in.  I think it may even have become the standard 4.3BSD
Cshell.  You can also get this in the Korn shell and the BRL Bourne shell.
A terminal editing wrapper process was posted to one of the newsgroups
only a few months ago, if you want to use the separate-process approach.