Macos – Terminal app on Mac OS X – normal keys

macosterminal

There are some default terminal things different for the Mac (for example, Command C to copy and Command V to paste rather than simply highlighting/right clicking).

These are fine with me. What bothers me though is I can't figure out how to click or use the F keys.

The main app I have problems with is htop. Htop supports clicking on column names to sort, etc. Also, to exit the app, you are supposed to press F10. But F10 simply mutes my volume. I've tried different combinations of things like alt F10.

I usually have to quit htop by pressing CTRL-C

Any ideas on how to get normal terminal behaviors? Normal meaning linux

Best Answer

You have two issues here:

  • On your Mac, like on most laptops, the function key row is used for both regular F keys and special hardware or system functionality. One of these is invoked while you hold down Fn, the other while you don't. Open System Preferences » Keyboard » Keyboard and change Use all F1, F2, etc. keys as standard function keys.

This is the issue you're currently facing: Pressing F10 doesn't actually press F10

enter image description here

But even if you change the above preference, chances are some F keys are already used for other functions:

  • Even when you've done that, OS X might use F keys for system-wide keyboard shortcuts. In the same preference pane, change over to Keyboard Shortcuts, and check the Dashboard & Dock and Exposé & Spaces categories. Disable or change any F key shortcuts. Alternatively, you can open the Exposé & Spaces preference pane in System Preferences to change the shortcuts there (with more options).

enter image description here


Also, you should take a look at this answer of mine in a related topic. You might like having Exposé and Dashboard bound to those function keys, after all.


To use some F keys without pressing Fn, while using others with pressing Fn (and using their special functions without Fn), use FunctionFlip.

Related Question