I'm trying to use the Apple Wireless keyboard for coding in a terminal (with nano, vim, etc) using a app to access by SSH them in a remote server, and discover that all the function keys (Esc, F1, f2....) are not working.

I have tried with Prompt2, but this will happen with any app because the F1 through F12 keys by default in the iPad are tied to special functions like control brightens.

Is possible to change this?

If not:

  • Exist any terminal app that can remap the keys?
  • Or exist a code editor with internal ssh terminal that work for remote coding?
  • There is no terminal/nano/vim on an iPad, can you please describe your setup with more details?
    – nohillside
    Commented Jun 24, 2016 at 6:09
  • Using a app to acces by SSH the terminal/nano in a remote server.
    – mamcx
    Commented Jun 25, 2016 at 17:44
  • You will get better answers if you add the name of the app you are using here. Also please edit the additional information directly into the question, it will then automatically be put into the reopen queue.
    – nohillside
    Commented Jun 26, 2016 at 6:23
  • This seems to be a customer service issue. Any SSH client will have the capability to send Fn key, or even ESC key sequences to your terminal session. In fact, I was looking at the home page of the product you referenced and one of the pics in the slide show shoes Fn Keys.
    – Allan
    Commented Jun 27, 2016 at 16:25
  • But the functions keys are NOT send. If I hit F1 it not register as F1, instead it change the screen brightens. This is a system level, so not even get into the specific app.
    – mamcx
    Commented Jun 27, 2016 at 22:14

1 Answer 1


When using the Apple Wireless Keyboard with an iPad device, not all function keys work. From Apple's Support Article: Apple Wireless Keyboard and Magic Keyboard compatibility with iOS devices:

iOS Device Keyboard Compatibility

Since the Fn keys don't work per Apple, it's a safe bet that you won't be able to remap them. You have to recognize them in order to reassign their function.

This is most likely the reason that you will need to utilize the softkeys provided for by the App.

Function Keys

What you can try is using the Escape sequence: Esc # combination where # is the number of the Fn key you are trying to press (i.e. Esc2 for F2)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .