Date: Sun, 27 Nov 2005 23:37:44 -0500 From: Ronny Hippler <animefan@ronnyhippler.com> To: freebsd-questions@freebsd.org Subject: vi escape command from EX mode in script Message-ID: <438A8998.5030700@ronnyhippler.com>
next in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?438A8998.5030700>