Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!husc6!uwvax!uwslh!lishka From: lishka@uwslh.UUCP (Fish-Guts) Newsgroups: comp.sys.amiga Subject: Re: Grow your own VI (Re: AVI editor) Message-ID: <367@uwslh.UUCP> Date: 15 Aug 88 13:20:05 GMT References: <2424@sugar.uu.net> <2030100@hpcilzb.HP.COM> <8233@watdragon.waterloo.edu> Reply-To: lishka@uwslh.UUCP (Fish-Guts) Organization: U of Wisconsin-Madison, State Hygiene Lab Lines: 28 In article <8233@watdragon.waterloo.edu> mwjones@lion.waterloo.edu (Morgan Jones) writes: >In article <2030100@hpcilzb.HP.COM> daves@hpcilzb.HP.COM (Dave Scroggins) writes: >>I always thought the progression went ED -> EX -> VI. > >EX and VI are the same editor. Ed may be as well. They're just different >links to the same file. Yup. In fact, vi/ex/view/edit/e actually has five names, but all are the same program. Check the links, and the Makefile in /usr/src/ucb/ex. What is *really* gross (IMHO) is that the way the same program funtions as three different ones (according to our local Unix expert) is by checking to see argv[0] to see what name the user invoked the program as. Then the program goes into one of its modes: vi mode, ex mode, view mode, etc. Pretty sneaky. BTW, "ed" is a different program from vi/ex/view. >Morgan Jones mwjones@lily.waterloo.edu -Chris -- Christopher Lishka ...!{rutgers|ucbvax|...}!uwvax!uwslh!lishka Wisconsin State Lab of Hygiene lishka%uwslh.uucp@cs.wisc.edu Immunology Section (608)262-1617 lishka@uwslh.uucp ---- "...Just because someone is shy and gets straight A's does not mean they won't put wads of gum in your arm pits." - Lynda Barry, "Ernie Pook's Commeek: Gum of Mystery"