Xref: utzoo comp.editors:2299 comp.unix.sysv386:3574 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!bu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!tcdcs!dce.ie!em From: em@dce.ie (Eamonn McManus) Newsgroups: comp.editors,comp.unix.sysv386 Subject: Re: vi under SCO Unix Summary: broken Message-ID: Date: 2 Jan 91 11:12:08 GMT References: <1991Jan02.015821.4496@jpradley.jpr.com> Organization: Datacode Communications Ltd, Dublin, Ireland Lines: 16 jpr@jpr.com (Jean-Pierre Radley) writes: >This is a mapping which I used daily in SCO Xenix to compose replies to >CompuServe messages. > >map #1 ?#: [0-9][0-9].* S[0-9][0-9]*/?Wyt N< >It fails in SCO Unix. Does anyone know what they've changed in vi, besides >using terminfo instead of termcap? Regular expressions are severely broken in SCO Unix, at least in 3.2.0. Practically any expression using the closure operator (*) can be expected not to work. Your simplest solution is to grab your Xenix vi binary and use it instead. , Eamonn