Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!haven!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.questions Subject: Re: Termcap, IC, and IM Message-ID: <19298@mimsy.UUCP> Date: 28 Aug 89 19:24:40 GMT References: <20633@adm.BRL.MIL> <1989Aug28.151908.24779@agate.uucp> <10860@smoke.BRL.MIL> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 17 In article <10860@smoke.BRL.MIL> gwyn@smoke.BRL.MIL (Doug Gwyn) writes: >... You should specify both im/ei and ic only if the terminal >requires both. This is misleading, because various applications (including vi) decide that a terminal can insert at all by examining `im' without looking at `ic'. If im is set (to anything, including the empty string), the application assumes the terminal is capable of inserting (using the im+IC+ic+ip sequences). If im is not set, the terminal cannot insert, regardless of what is in IC+ic+ip. This is a historical fact, if not a desirable one. I *know* that this is how vi worked in 4.1BSD, because I ripped some code out of it. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris