Xref: utzoo alt.sys.sun:1090 comp.unix.questions:23867 Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!fibercom!dwm From: dwm@fibercom.COM (David W. Minnich) Newsgroups: alt.sys.sun,comp.unix.questions Subject: Vi and modeline interaction on Sun 4/330 Message-ID: <8539@fibercom.COM> Date: 18 Jul 90 18:54:41 GMT Organization: FiberCom, Inc., Roanoke, Virginia Lines: 17 We recently got a Sun 4/330 at our site, and I've been noticing some strange behavior in vi. In my .exrc I set the modeline option to vi. This allows me to set file-specific defaults in vi by including a modeline at the bottom of the file. On our other systems this works fine. On the 4/330, if a modeline is present in the file, then vi always thinks I've modified the file whether I have or not. (e.g. if I type "vi " followed immediately by ":q", vi complains about "No write since last change"). The contents of the modeline command appear to make no difference; everything I tried behaved the same way. We are running SunOS 4.1 on this machine. Does anyone know what's going on, and how to fix it? As always, email to me and I'll summarize if warranted. -- David W. Minnich INTERNET: dwm@fibercom.com FiberCom, Inc. UUCP: ...!uunet!fibercom!dwm P.O. Box 11966 PHONE: (703) 342-6700, (800) 423-1183 ext. 347 Roanoke, VA 24022-1966 FAX: (703) 342-5961