Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!JHUVM.BITNET!CASERTA From: CASERTA@JHUVM.BITNET (Rich Caserta) Newsgroups: comp.protocols.tcp-ip.ibmpc Subject: Re: NCSA Telnet 2.3b15 keyboard arrow woes Message-ID: <9106051339.aa06537@louie.udel.edu> Date: 5 Jun 91 18:24:27 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The Internet Lines: 33 On Fri, 31 May 91 10:48:00 MST Pete Klammer 303/556-3915 said: >It's working now... My problems arose from confusion between >TELNET.KEY, a required file of fixed name from the same path as >TELBIN.EXE is run from, and the KEYFILE= command in CONFIG.TEL, which >may augment, but not replace, the TELNET.KEY file. I had pointed >KEYFILE= to my own TELKEY.SET file, and as I edited that, things >weren't changing as I expected. > >TELNET complains if TELNET.KEY is not found, but it does not seem to >care if the KEYFILE= file is not found. [ ... stuff deleted ...] >This is still basic, since I haven't turned on any fancy CTRL+ or ALT+ >things for EMACS or whatever, but I have arrows and digits, and I'm happy! I have a related question: What if you want to REPLACE key mappings depending on the host you want to Telnet to? For example, what if you want, function keys mapped to send one set of codes to an IBM mainframe, AND LATER, want them mapped differently to send other codes to a VAX running WordPerfect? Do you just have different keyfiles for each host with the changed codes, or do you need to make "alternate" TELNET.KEY files that are used for each particular host? In other words, is the "KEYFILE=" parameter used only to "augment" what's in TELNET.KEY, or will new entries for the same key in a "KEYFILE=" file "replace" what was done in TELNET.KEY? Or, maybe it's possible to have a very stripped down TELNET.KEY, and put the varying key mapping info into the "KEYFILE=" files...?... How do others do it? ----------------------- Rich Caserta Homewood Academic Computing/Johns Hopkins University CASERTA@JHUVM.HCF.JHU.EDU (or JHUVM.BITNET)