Path: csiph.com!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!MIX!Blackbird From: billy@MIX.COM Newsgroups: comp.sys.mac.system,comp.sys.mac.misc Subject: Re: Redefining keys for Terminal app Date: Thu, 31 Mar 2016 18:12:58 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 35 Message-ID: References: NNTP-Posting-Host: panix5.panix.com X-Trace: reader2.panix.com 1459447978 5255 166.84.1.5 (31 Mar 2016 18:12:58 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Thu, 31 Mar 2016 18:12:58 +0000 (UTC) Xref: csiph.com comp.sys.mac.system:90611 comp.sys.mac.misc:5329 In comp.sys.mac.system Michael Moroney wrote: > Is there a way to redefine the key row "clear = / *" on the aluminum > keypad when using the "Terminal" app (on El Capitan, Mac Mini) to send > escape sequences, or to plug a PC keyboard into it and have the keys > PF1-PF4 send escape sequences? (when I do that now, those keys seem to > be dead). You could create a .term file containing the key bindings, but my understanding is that while newer versions of OS X and Terminal will read them, they will no longer write (create) one. So, that makes it a bit of work. Especially because you'd have to hack your way into discovering the pertinent key codes. A short exceprt (NB the s are actually 0x1B chars in this file, and if the keys shown match what your machine is doing that would be a miracle) - F704 OP ! PF1 F705 OQ ! PF2 F706 OR ! PF3 F707 OS ! PF4 A much easier way is to just use the best key remapping tool on the planet (it's free, too) - https://pqrs.org/osx/karabiner/index.html.en Billy Y.. -- sub #'9+1 ,r0 ; convert ascii byte add #9.+1 ,r0 ; to an integer bcc 20$ ; not a number