Article View: comp.editors
Article #1296Re: "set modelines" in vi
From: Robert Mayoff
Date: Wed, 05 Dec 1990 18:28
Date: Wed, 05 Dec 1990 18:28
18 lines
1019 bytes
1019 bytes
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 <mayoff@cs.utexas.edu> /_ Fun things to do with UNIX (#72 in a series): / cat /dev/zero > /dev/null
Technical Details
Message-ID:
<1006@langtry.cs.utexas.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!mayoffReferences:
<9012051559.AA01923@samadams.Princeton.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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