Path: utzoo!utgpu!watmath!att!bellcore!rutgers!cs.utexas.edu!csd4.milw.wisc.edu!uakari.primate.wisc.edu!indri!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.terminals Subject: Re: Can ANSI/DEC terminals report keypad mode? Message-ID: <10687@smoke.BRL.MIL> Date: 8 Aug 89 21:49:27 GMT References: <69006@yale-celray.yale.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11 In article <69006@yale-celray.yale.UUCP> leichter@CS.YALE.EDU (Jerry Leichter) writes: >In article <1217@syma.sussex.ac.uk>, leilabd@syma.sussex.ac.uk > (Leila Burrell-Davis) writes... >>On leaving a program, I'd like to put the keyboard back into the same >>state it was in at the start, in particular the numeric keypad ... >There is no ANSI-specified code for determining this state. ... The right answer, as usual, is another question: How did you alter the state in the first place? There should be inverse operators for whatever you did. Termcap and terminfo have official enter/leave various-mode capability definitions, for example.