Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: Retrieve keyboard commands like VM/CMS Message-ID: <14311@smoke.brl.mil> Date: 2 Nov 90 01:13:11 GMT References: <1990Nov1.121612.724@vax5.cit.cornell.edu> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 19 In article <1990Nov1.121612.724@vax5.cit.cornell.edu> joc@vax5.cit.cornell.edu writes: >Is there a way to retrieve previously typed commands in UNIX similar >to the way IBM's VM/CMS does it, ie, hit the retrieve key and the >previous command appears and may now be edited on the command line? Similar functionality has been implemented in several versions of both the Bourne/Korn shell and the C-shell, and there have also been some separate interactive editing "wrappers" posted in the past. Many terminals and windowing systems now support interactive mouse-driven edit-displayed-text-and-send-as-though-typed; the AT&T 630 I'm typing this one has such a feature. If you have a UNIX System V Release 2 or later source license and send a copy of it to me along with a reel of 1/2" magtape, I can put the sources for the BRL version of the Bourne shell on it and return it to you. Our version supports essentially all the useful user-interface features found in various enhanced Bourne/Korn and C- shells, without some of the unnecessary baggage. I'm sure you can also find ways to obtain "bash", "tcsh" (yuck), and other enhanced shells. Have fun.