This simple and partial model of the unix editor vi was developed
over the course of 5-6 hours in order to demonstrate how the modes in vi operate. It
was intended to serve an educational purpose in teaching basic UNIX programming
skills. The basic functionalities of append, insert and character delete are
implemented, as are the arrow keys and the 'vi' return mode. There is a partial undo
that affects the last primitive operation (e.g. single character insert, append or
delete). The model is incomplete in several respects: the model of the text being
edited is very limited, many keys are missing from the keyboard and several buttons on
the interface are non-functional, including those such as ENTER, 'd' and 'dd' that
introduce and delete lines from the text. The model also serves as a tutorial example
in the use of Scout, illustrating the general approach to development with
specific reference to how Scout TEXT windows can be defined to work with
different default fonts and how Eden pointer variables obviate the need for
generating observables names using execute() or backticks in the implementation
of buttons. See the Tour for details.
|vimodesBeynon2006 is available locally within DCS at /dcs/emp/empublic/projects/vimodesBeynon2006|
Uncompressed, vimodesBeynon2006 is 59.3 Kbytes (in 4 files).
Your download will be smaller as it will be compressed.
Help on extracting the files from the download.
||1680||12:32 PM Oct 30 2006||04:05 PM Dec 15 2014|
||16107||01:47 PM Oct 16 2006||04:05 PM Dec 15 2014|
||13822||11:23 AM Oct 25 2006||04:05 PM Dec 15 2014|
||29078||09:19 AM Oct 30 2006||04:05 PM Dec 15 2014|
empublic system initially created by Ashley Ward with assistance from Chris Roe and Meurig Beynon.