Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #90715

Re: Redefining keys for Terminal app

From moroney@world.std.spaamtrap.com (Michael Moroney)
Newsgroups comp.sys.mac.system, comp.sys.mac.misc
Subject Re: Redefining keys for Terminal app
Date 2016-04-04 16:49 +0000
Organization The World : www.TheWorld.com : Since 1989
Message-ID <ndu5ue$sr7$1@pcls7.std.com> (permalink)
References <ndjfk5$g0o$10@pcls7.std.com> <ndjpb9$547$1@reader2.panix.com>

Cross-posted to 2 groups.

Show all headers | View raw


billy@MIX.COM writes:

>In comp.sys.mac.system Michael Moroney <moroney@world.std.spaamtrap.com> 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
><esc>s are actually 0x1B chars in this file, and if the keys shown
>match what your machine is doing that would be a miracle) -

><key>F704</key>
><string><esc>OP</string>     ! PF1
><key>F705</key>
><string><esc>OQ</string>     ! PF2
><key>F706</key>
><string><esc>OR</string>     ! PF3
><key>F707</key>
><string><esc>OS</string>     ! PF4

Thanks for that info.  Do you know the name and where to put it would be?
How to obtain the codes (F704-F707 in the example) from the keyboard?

>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

Thanks, I'll try this first.

Back to comp.sys.mac.system | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Redefining keys for Terminal app moroney@world.std.spaamtrap.com (Michael Moroney) - 2016-03-31 15:27 +0000
  Re: Redefining keys for Terminal app billy@MIX.COM - 2016-03-31 18:12 +0000
    Re: Redefining keys for Terminal app moroney@world.std.spaamtrap.com (Michael Moroney) - 2016-04-04 16:49 +0000
      Re: Redefining keys for Terminal app billy@MIX.COM - 2016-04-21 16:54 +0000

csiph-web