Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!burl!wrcola!kathy From: kathy@wrcola.UUCP Newsgroups: comp.unix.questions Subject: Re: vms vs unix Message-ID: <749@wrcola.UUCP> Date: Thu, 28-May-87 14:22:51 EDT Article-I.D.: wrcola.749 Posted: Thu May 28 14:22:51 1987 Date-Received: Sat, 30-May-87 07:59:03 EDT References: <429@its63b.ed.ac.uk> <19625@sun.uucp> Reply-To: kathy@wrcola.UUCP (K.M.Vincent) Organization: AT&T, Winston-Salem, NC Lines: 22 In article <19625@sun.uucp> guy%gorodish@Sun.COM (Guy Harris) writes: >> [Disclaimer: I've never used ksh very seriously. Perhaps its not possible to >> edit lots of lines at once - unless you start up a "real" editor] > >It's not. That's why it doesn't need to know how to move the cursor >up and down. I'm coming in at the end of this discussion, so if someone else has already said what I'm about to say, well ... You *can* edit several lines at ones with ksh - sort of. Go into ksh edit mod by hitting the ESC key and then immediately hit the 'v' key. That puts you into vi, with the current command in the file. You can write a several-line ksh script and, when you write and quit vi, the script is executed. Kathy Vincent AT&T, Winston-Salem, NC :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: AT&T: {ihnp4|mtune|burl}!wrcola!kathy {ihnp4|mtune}!wruxh!unix Home: {ihnp4|mtune|ptsfa|codas}!bakerst!kathy