Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.unix,net.unix-wizards Subject: Re: Re: Re: Can something like Script be done in System V? Message-ID: <2376@sun.uucp> Date: Tue, 2-Jul-85 02:18:56 EDT Article-I.D.: sun.2376 Posted: Tue Jul 2 02:18:56 1985 Date-Received: Wed, 3-Jul-85 20:08:27 EDT References: <868@enea.UUCP> <11282@brl-tgr.ARPA> <2325@sun.uucp> <163@grpwre.UUCP> <2354@sun.uucp> <428@enmasse.UUCP> Organization: Sun Microsystems, Inc. Lines: 31 Xref: watmath net.unix:4942 net.unix-wizards:13698 > What about all the "novice" and not so novice users who dont want to be > bothered learning 14 different editors for different purposes. They learn > the one they use primarily (VI) well and want to be able to use it for > their occasional repetative editing scripts. Well, the article mentioned having a screen editor which used a line editor underneath it; where are the 12 other editors you're referring to? And do you know anybody who uses "vi" (not "ex", remember, we're talking about screen editors) to do their scripts? If it had a "learn" mode, maybe, just maybe... > No qualities have to be sacrificed if the program is well thought out > in advance and properly implemented. Do you have any examples to offer? What kind of repetitive operations does this "well thought out and properly implemented" editor provide? How do you write scripts - is there a "learn mode" in which it remembers keystrokes, or is there a "programming language" that you write these scripts in, or do you just stuff the bytes that would normally be generated by your terminal when you typed the keystrokes of the script into a file? (If the latter, I fear that editing and debugging scripts will be a *real* bear...) And what if your editor accepts commands from something other than the typewriter portion of the keyboard? Which codes for the cursor keys does it use? How can you indicate mouse input in a file? (No, entering the byte codes that your mouse software presents to the program, assuming that your OS prsents mouse actions in the standard input stream as byte codes, doesn't cut it - especially for the novice user.) Guy Harris