home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / editors / 3092 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.6 KB

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