Tuesday, April 25, 2017

Re: an old "hack" of mine, shared for amusement

Hi Eli!

On Di, 25 Apr 2017, Eli the Bearded wrote:

> Everyone seems to be missing it. rot13 solution for those interested.
>
> This *hack* was designed to *not* work in vim.
>
> It works in vi. It makes vi reopen the file with vim.
>
> (And by-the-by, I have Vim 3.0 for Mac System 7. I found it for download
> last year when I was playing with the Basilisk II emulator. Vim 3: back
> when 'q' did the thing 'gq' does now. And 'Q' was unimplemented.)

Are you saying, original Vi could be tricked to execute various commands
via modelines? That sounds pretty scary actually.

Best,
Christian
--
Ein kluger Mann widerspricht nie einer Frau. Er wartet, bis sie es
selbst tut.
-- Humphrey Bogart

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: