Path: utzoo!mnetor!uunet!husc6!hao!ames!pacbell!att-ih!ihnp4!ihlpf!lyourk From: lyourk@ihlpf.ATT.COM (Loran N. Yourk) Newsgroups: comp.sys.ibm.pc Subject: Re: MKS vi bug Message-ID: <4014@ihlpf.ATT.COM> Date: 16 Mar 88 16:07:38 GMT References: <3706@killer.UUCP> Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 25 ] MKS 'vi' does some pretty weird things on me - noticably a ] :%s/^/string/ replaces the file with 'string',instead of ] prepending each line with it. Also, is there a way around ] the inability to imbed carraige returns (^M) files with ] this 'vi' - i'd like my ex.rc to do some of the work for ] me, as well as set up macros that executes several commands. ] ] +===========================================================+ ] +UUCP: killer!treed + ] +VOICE: (202) 265-1309 + ] +USMAIL: ACS^MOIS Dept.^M1155 16th NW^MWashington DC 20036 + ] +DISCLAIMER: ACS has nothing to do with anything I say here + ] +===========================================================+ The version of the MKS vi I have (ver 3.5, MKS release 2.2) does not have the the problem you mentioned with the :%s command. As to the problem with embedding carriage returns, the carriage returns are there but MKS vi doesn't display (or read) past the first carriage return on the line (for that line only) the next time you edit the file (or read it in as is the case for ex.rc). If you need a vi that doesn't have these problems then you should try PC/VI. Loran Yourk ihnp4!ihlpf!lyourk