annotate runtime/macros/maze/poster @ 9606:19d4f5a47ae6

Added tag v7.4.2080 for changeset 846d4bad2df7c38edcd0663ef2ec87ec1dfcc3fb
author Christian Brabandt <cb@256bit.org>
date Wed, 20 Jul 2016 00:15:07 +0200
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 Article 2846 of alt.sources:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 Path: oce-rd1!hp4nl!mcsun!uunet!munnari.oz.au!metro!otc!gregm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 From: gregm@otc.otca.oz.au (Greg McFarlane)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 Newsgroups: alt.sources
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 Subject: VI SOLVES MAZE (commented macros)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 Message-ID: <2289@otc.otca.oz>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 Date: 10 Feb 91 23:31:02 GMT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 Sender: news@otc.otca.oz
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 Reply-To: gregm@otc.otca.oz.au (Greg McFarlane)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 Organization: OTC Development Unit, Australia
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 Lines: 464
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 Submitted-by: gregm@otc.otca.oz.au
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 Archive-name: maze_solving_vi_macros
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 A real working model. See it walk the maze in front of your very own eyes.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 To prove that you can do anything in vi, I wrote a couple of macros that
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 allows vi to solve mazes. It will solve any maze produced by maze.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 that was posted to the alt.sources last month. (Maze.c is also included
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 in this posting as well as an example of its output.)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 The uncommented version of the macros was sent to alt.sources last month.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 However, so many people mailed me requesting the commented version of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 macros that I decided to post it. I have made some modifications to the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 original macros to make them easier to follow and also after I learnt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 that you can escape the special meaning of '|' in macros by using '^V|'.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 Save this article and unshar it. Then read maze.README.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 After studying these macros, anyone who cannot write an emacs emulator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 in vi macros should just curl up and :q!.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 Coming soon to a newsgroup near you: "Vi macros solve Tower of Hanoi",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 and a repost of the original "Turing Machine implemented in Vi macros"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 Anyone who has a version of these macros for edlin or nroff, please post.