Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ttrdc.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!whuxl!houxm!ihnp4!mgnetp!ltuxa!ttrdc!levy From: levy@ttrdc.UUCP (Daniel R. Levy) Newsgroups: net.unix,net.unix-wizards Subject: Re: Can something like Script be done in System V? Message-ID: <237@ttrdc.UUCP> Date: Fri, 21-Jun-85 20:25:25 EDT Article-I.D.: ttrdc.237 Posted: Fri Jun 21 20:25:25 1985 Date-Received: Sun, 23-Jun-85 04:10:50 EDT References: <868@enea.UUCP> <11282@brl-tgr.ARPA> <2325@sun.uucp> Organization: AT&T Teletype Corp., Skokie, IL Lines: 27 Xref: watmath net.unix:4855 net.unix-wizards:13599 guy@sun.uucp (Guy Harris) in <2325@sun.uucp>: > > ... > >expect their input to be generated by a human being as they run; there's not >much point in running "vi" with its input coming from a program generating >commands or from a file consisting of commands generated by a program. If >you want an editor that can either be driven directly by a person or by a >program, use "ed" - or "ex". Screen editors solve a different problem from > > ... > > Guy Harris I thought that 'ex' and 'vi' WERE the same program! /usr/bin/ex and /usr/bin/vi are the same file on my system, just two different links (the program knows which one it was via arg0). Yes, yes, I know, we were talking about two KINDS of editors (and while on that subject, wouldn't 'sed' be the ideal "editor" to interface with another program? O.K. I guess it would be kind of hard to feed it except via a named pipe or a temp file, so maybe it's not ideal, but it is sure devoid of any interactiveness) but I wonder if Guy knew that ex and vi are identical except in name .... :-) here's hacking, dan levy at&t teletype corporation skokie, illinois