home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!strath-cs!memex!stephen
- From: stephen@memex.co.uk (Stephen Marley)
- Newsgroups: comp.editors
- Subject: VI initialisation question
- Keywords: vi, EXINIT, rsh
- Message-ID: <1992Dec21.144250.7895@memex.co.uk>
- Date: 21 Dec 92 14:42:50 GMT
- Organization: Memex Information Systems Ltd., East Kilbride, Scotland
- Lines: 30
- X-Newsreader: Tin 1.1 PL4
-
- Hello,
-
- I currently have my preferences for vi set using EXINIT. This is great
- so long as I am logged in under my own account. However, there are
- several other user-accounts that I and some of my colleagues use on a
- regular basis, eg. editor, support, tester, for which I would like to
- set my own vi preferences without affecting my colleagues' vi
- sessions.
-
- I know if I do a `su tester', for example, that my EXINIT will be
- exported into the su'ed shell and any vi's started will use this.
- (This is why I don't use .exrc). Alas, I don't use `su' anymore
- because I got fed-up typing passwords in all the time; instead I use
- lines (in my .openwin-menu) like:
-
- exec rsh `hostname` -l tester "xterm -n Tester -display $DISPLAY"
-
- I don't need to type a password for this since I have user-equivalence
- courtesy of a mention in .rhosts. However my EXINIT is not exported
- using this method and I get frustrated and confused in my unfamiliar vi
- environment :-(sulk).
-
- Does anybody have any ideas? In case you need the info, I use tcsh and
- all the other accounts are either tcsh or plain csh.
-
- Thanks for your time.
- --
- Stephen Marley
- Memex Information Systems Ltd., East Kilbride, G75 0YN, Scotland, UK.
- stephen@memex.co.uk Tel: (03552) 33804 Fax: (03552) 39676
-