Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83 based; site houxm.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxj!houxm!gregbo From: gregbo@houxm.UUCP (Greg Skinner) Newsgroups: net.unix-wizards Subject: Re: shell preprocessor for history & alias Message-ID: <1082@houxm.UUCP> Date: Wed, 16-Jan-85 16:05:48 EST Article-I.D.: houxm.1082 Posted: Wed Jan 16 16:05:48 1985 Date-Received: Thu, 17-Jan-85 04:36:08 EST References: <6986@brl-tgr.ARPA> <2254@umcp-cs.UUCP> <457@gitpyr.UUCP> Organization: AT&T Bell Labs, Holmdel NJ Lines: 16 EDT under VMS has a mechanism which logs all commands that went to the terminal during the editing session. It writes out a file with all the commands. If for some reason the session is aborted, the user may specify that his state be restored before the abort by having the log file run. I don't know how this could be extended to vi/emacs as far as a history pro- gram with indexing backwards/forwards through the issued commands, but that would be a start, I guess. I don't know for sure, but the rogue.save file may be of similar structure (if not format) -- it's certainly large enough to con- tain a history of commands. -- Baby tie your hair back in a long white bow ... Meet me in the field, behind the dynamo ... Greg Skinner (gregbo) {allegra,cbosgd,ihnp4}!houxm!gregbo