Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!shelby!Portia!forel!karish From: karish@forel.stanford.edu (Chuck Karish) Newsgroups: comp.unix.questions Subject: Re: application/numeric keypad with vi Summary: Check your termcap entry Message-ID: <761@Portia.Stanford.EDU> Date: 9 Mar 89 00:06:40 GMT References: <1246@osupyr.mast.ohio-state.edu> Sender: USENET News System Reply-To: karish@forel.stanford.edu (Chuck Karish) Distribution: usa Organization: Stanford University School of Earth Sciences Lines: 22 In article <1246@osupyr.mast.ohio-state.edu> dan@osupyr.mast.ohio-state.edu (Dan May) wrote: >Can someone tell me how to keep vi from changing the numeric keypad to >the "application keypad" when vi is entered. The terminal type is >a televideo 9220. > Check your termcap entry. Make sure the 'disable numeric keypad mode' (ke) escape sequence isn't in the initialization string (is). If necessary, change the ke sequence to be the same as the ks sequence, and your keypad will always transmit numbers, no matter what the application tries to make it do. You can experiment with a private copy of the termcap entry by setting the TERMCAP environment variable to the name of the file that holds your entry. A similar approach will work on a system that uses terminfo. Chuck Karish karish@denali.stanford.edu hplabs!hpda!mindcrf!karish (415) 493-7277