Path: utzoo!mnetor!uunet!mcvax!fmr From: fmr@cwi.nl (Frank Rahmani) Newsgroups: comp.bugs.sys5 Subject: Re: vi exrc behaviour has changed??!! Message-ID: <416@sering.cwi.nl> Date: 9 Feb 88 08:37:01 GMT References: <329@ttrde.UUCP> <2853@whutt.UUCP> Organization: CWI, Amsterdam Lines: 43 Keywords: EXINIT .exrc CWD Summary: read $HOME/.exrc In article <2853@whutt.UUCP>, cher@whutt.UUCP (Mike Cherepov) writes: > In article <329@ttrde.UUCP>, mellman@ttrde.UUCP (Thomas Mellman) writes: > > It appears that vi's behaviour has changed with regards to its .exrc files. > > This has been a practical way to handle a limited number of special function > > keys, and limited amount of macro space. > > Now that we are moving to a R3 machine, I find that if I have the EXINIT > > variable set, no further .exrc file reading takes place. Furthermore, > > even when the EXINIT variable is not set, only the .exrc file in my home > > directory is read. If EXINIT is set no $HOME/.exrc file will be read. To tell vi to read other files on startup, include a line: so '//full/pathname/of/file/to/be/read/' in $HOME/.exrc e.g. so '//usr/local/scripts/.exrc' to read a systemwide .exrc file. This works for me anyway. fmr@cwi.nl -- It is better never to have been born. But who among us has such luck? ----- News saved at 9 Feb 88 08:22:25 GMT In article <2853@whutt.UUCP>, cher@whutt.UUCP (Mike Cherepov) writes: > In article <329@ttrde.UUCP>, mellman@ttrde.UUCP (Thomas Mellman) writes: > > It appears that vi's behaviour has changed with regards to its .exrc files. > > This has been a practical way to handle a limited number of special function > > keys, and limited amount of macro space. > > Now that we are moving to a R3 machine, I find that if I have the EXINIT > > variable set, no further .exrc file reading takes place. Furthermore, > > even when the EXINIT variable is not set, only the .exrc file in my home > > directory is read. If EXINIT is set no $HOME/.exrc file will be read. To tell vi to read other files on startup, include a line: so '//full/pathname/of/file/to/be/read/' in $HOME/.exrc e.g. so '//usr/local/scripts/.exrc' to read a systemwide .exrc file. This works for me anyway. fmr@cwi.nl -- It is better never to have been born. But who among us has such luck?