From: jrs@world.std.com (Rick Sladkey) Subject: Re: Termcap question Date: 2 Oct 1992 00:19:38 GMT
>>>>> On 01 Oct 92 07:50:28 GMT, satishc@microsoft.com (Satish
>>>>> Chittamuru) said:
Satish> Basically, Elvis seems to think that one needs to wrap each IC
Satish> (insert character terminal escape) output with a preceding IM
Satish> (insert mode) and a succeeding EI (end insert mode).
Elvis is correct.
Satish> But the IM followed by IC is causing an extra space to be
Satish> inserted every time I insert a character. Removing the IM & EI
Satish> output seems to work just fine. Is this okay or are the IM &
Satish> EI really necessary along with some other fancy stuff?
This is a bug in the standard Linux console termcap entry. IM, EI and
IC are defined such that if all have values, they are all needed to
insert a single character. Since using IM and EI is generally faster, IC
should be left empty.
To quote from an ancient termcap manual page:
Most terminals with a true insert mode will not give ic.