From owner-freebsd-questions@FreeBSD.ORG Mon Nov 28 04:38:44 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEFD416A41F for ; Mon, 28 Nov 2005 04:38:44 +0000 (GMT) (envelope-from animefan@ronnyhippler.com) Received: from mtai01.charter.net (mtai01.charter.net [209.225.8.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A2C143D46 for ; Mon, 28 Nov 2005 04:38:43 +0000 (GMT) (envelope-from animefan@ronnyhippler.com) Received: from mxip22-10.charter.net ([10.20.202.72]) by mtai01.charter.net (InterMail vM.6.01.05.04 201-2131-123-105-20051025) with ESMTP id <20051128043843.RAQB25986.mtai01.charter.net@mxip22-10.charter.net> for ; Sun, 27 Nov 2005 23:38:43 -0500 Received: from 68-119-38-069.dhcp.spbg.sc.charter.com (HELO [192.168.1.67]) ([68.119.38.69]) by mxip22-10.charter.net with ESMTP; 27 Nov 2005 23:38:35 -0500 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAQAAA+k= Received: from 127.0.0.1 (AVG SMTP 7.1.362 [267.13.7/182]); Sun, 27 Nov 2005 23:37:44 -0500 Message-ID: <438A8998.5030700@ronnyhippler.com> Date: Sun, 27 Nov 2005 23:37:44 -0500 From: Ronny Hippler User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: vi escape command from EX mode in script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2005 04:38:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I am trying to execute the following script via :so - --------------------------------------------------- :%s/^/par2 r \"/g :%s/$/\"/g :1 :i #!/bin/sh . - --------------------------------------------------- all works fine until the end where I get the prompt: "Entering ex input mode." entering a period escapes it at that point, but it sticks the "." in the text file i am editing. What character issues an escape in this version of vi? The period works fine in vim to end text entry. TIA Please respond off list also as I am not subscribed. Thanks again! - -- Ronny Hippler || Spartanburg SC http://www.ronnyhippler.com/ || ftp://ftp.vr5.dyndns.org:2112/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDiomYN6qJSxoonroRArUKAKCdHl1xOrs1Yg4PPX5NG2QVmKo7MACgxocf OJkiO3q5DZXfUH89ZAqXshM= =XKF9 -----END PGP SIGNATURE-----