Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!pasteur!ucbvax!UNCAEDU.BITNET!ewilts%Ins.MRC.AdhocNet.CA From: ewilts%Ins.MRC.AdhocNet.CA@UNCAEDU.BITNET (Ed Wilts) Newsgroups: comp.os.vms Subject: re: TPU Numeric Keypad Message-ID: <880616081256.019@Ins.MRC.AdhocNet.CA> Date: 16 Jun 88 14:12:56 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 10 The easiest way to handle this problem is to write two procedures: SET_NUMERIC_KEYPAD and SET_APPLICATION_KEYPAD. SET_NUMERIC_KEYPAD performs a bunch of define_key("copy_text('1')",kp1) kind of operations. SET_APPLICATION_KEYPAD will redefine the keys back to what they were when you started (look at the source for evesecini or edtsecini - whichever one you are using). Then, you can toggle back and forth at will between the two modes, sometimes entering the digits (for spreadsheet kind of work), and other times to perform functions (like normal EDT-like editing). .../Ed