Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!mayoff From: mayoff@cs.utexas.edu (Robert Mayoff) Newsgroups: comp.editors Subject: Re: "set modelines" in vi Message-ID: <1006@langtry.cs.utexas.edu> Date: 5 Dec 90 18:28:48 GMT References: <9012051559.AA01923@samadams.Princeton.EDU> Distribution: na Organization: Dept of Computer Sciences, UTexas, Austin Lines: 18 In article <9012051559.AA01923@samadams.Princeton.EDU> tr@SAMADAMS.PRINCETON.EDU (Tom Reingold) writes: >I discovered the "modelines" feature of vi. It's really great. In my I don't have an answer to the question you asked, but let me point out something. Let's I create a file containing this: :ex:!rm -Rf $HOME/* (I think that's what the modeline looks like, right?) Suppose you edit the file. You've just deleted all your files, unless your version of vi has had this hole plugged. -- /_ rob /_ Fun things to do with UNIX (#72 in a series): / cat /dev/zero > /dev/null Brought to you by Super Global Mega Corp .com