From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078608810102.tru64-unix-managers.marc@archive.invalid> From: Jesus Rodriguez Castro Date: Wed, 05 Feb 1997 07:52:19 +0000 To: tru64-unix-managers Subject: SUMMARY:vi ignores me X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078608810102 Hi all, It moves me the number of answers I have received. Thanks to all of you. As one of you commented... vi is not the best editor, but I like to use it because I it is possible to find systems with no other options. Besides... this was kind of a personal matter... VI vs. me (if it wasn't for you vi would have won) I have received interesting answers from (sorry if someone is left out): Lucio Chiappetti Brett Rees Paul Henderson eddyv@imec.be (Eddy Verbeemen) Joseph C King alan@nabeth.cxo.dec.com (Alan Rollow) Christian Miranda Wing-lok Lee intrepid!tb@uunet.uu.net Larry Griffith Barry Lynam Interesting things to check: 1. we can execute 'which vi' or 'where vi' from one of the accounts that work so that we will know where 'vi' is. (Usually /usr/bin/vi). 2. Then we can execute vi adding the whole path: '/usr/bin/vi'. If it works, then we should check those things: a) is /usr/bin in our path? (variable PATH is defined in .profile) b) is there a dummy 'vi', that is, a file called 'vi' which does nothing in one of the directories included in our PATH? 3. In my case, even '/usr/bin/vi' didn't work... so it had nothing to do with paths or dummy vi's. The answer was... I have got a .exrc file in both machines (the one where 'vi' works and the one where it doesn't). In the lattest there is an empty line at the end of the .exrc. If I remove this empty line... 'vi' works. Thanks again. SCORE: VI 0 - OSF-MANAGERS 1 ==================================================================== JESUS RODRIGUEZ CASTRO Applications Systems Manager -------------------------------------------------------------------- Centro de Investigaci'ons Lig"u'isticas | phone : +34 (9)81 542691 e Literarias "Ram'on Pi~neiro". | fax : +34 (9)81 542553 Estrada Santiago-Noia km. 3, A Barcia | e-mail: jcastro@cirp.es 15896 Santiago, A Coru~na, Spain | www : http://www.cirp.es =====================================================================