Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!cmcl2!beta!hc!ames!xanth!john From: john@xanth.UUCP (John Owens) Newsgroups: comp.unix.wizards Subject: Re: Undocumented vi feature Message-ID: <1419@xanth.UUCP> Date: Fri, 26-Jun-87 12:23:37 EDT Article-I.D.: xanth.1419 Posted: Fri Jun 26 12:23:37 1987 Date-Received: Sat, 27-Jun-87 11:09:54 EDT References: <219@ausmelb.OZ> <491@its63b.ed.ac.uk> <4135@teddy.UUCP> Organization: Old Dominion University, Norfolk Va. Lines: 16 Keywords: vi/ex commands in a text file Summary: it is an option in 3.7 - modeline In article <4135@teddy.UUCP>, jpn@teddy.UUCP (John P. Nelson) writes: > Perhaps this behavior should be settable in the .exrc (or EXRC), with the > default OFF. And indeed, in the version of ex/vi distributed with 4.3BSD, 3.7 6/7/85, this behavior only happens if the variable "modeline" (no abbreviation) is set when a file is read. Also, there must be a space or tab before the "ex:" or "vi:". "The real documentation is the code." Or, "Use the source...." -- John Owens Old Dominion University - Norfolk, Virginia, USA john@ODU.EDU old arpa: john%odu.edu@RELAY.CS.NET +1 804 440 4529 old uucp: {seismo,harvard,sun,hoptoad}!xanth!john