Path: utzoo!attcan!uunet!husc6!tut.cis.ohio-state.edu!lvc From: lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) Newsgroups: comp.unix.wizards Subject: Re: Should ``csh'' be part of the System V distribution? Summary: There is more to ESC_ than meets the eye Keywords: csh==Berkeley shell, should it be in System V or not? Message-ID: <13871@tut.cis.ohio-state.edu> Date: 21 May 88 16:37:14 GMT References: <2599@usceast.UUCP> <2601@usceast.UUCP> <77@denali.stanford.edu> <10292@ulysses.homer.nj.att.com> Organization: Ohio State Computer & Info Science Lines: 18 In article <10292@ulysses.homer.nj.att.com>, ekrell@hector.UUCP (Eduardo Krell) writes: > In vi mode, use ESC_ (that is, escape key followed by an underscore). > > Eduardo Krell AT&T Bell Laboratories, Murray Hill, NJ You can get at any command line text of the previous command if you provide a number between the ESC and _. For example: $ echo a b c d e f g a b c d e f g $ echo ESC4_ # turns into the command $ echo c I don't believe this is documented in the 06/03/86a ksh man page. -- Larry Cipriani, AT&T Network Systems and Ohio State University Domain: lvc@tut.cis.ohio-state.edu Path: ...!cbosgd!osu-cis!tut.cis.ohio-state.edu!lvc (weird but right)