tags:

views:

41

answers:

1

I'm using ssh in Terminal to ssh into a Linux host where I'm running Emacs. I'd like to be able to use meta key commands, but I'm not how to send them from my (local) Mac to the (remote) Linux host. How do I do that?

Sorry if this isn't exactly a programming question.

+1  A: 

Well, you can either press Escape, then the key in question, or in the Terminal.app go to Preferences -> Settings -> Keyboard and turn on "Use option as meta key"

Because I go back and forth between OS X and Linux (and their associated keyboards) I just use `C-[` all the time for Meta.
0x4b
Hm. I found the setting you're talking about, but even after checking the box, I could not do meta commands in local or remote emacs. Also, APPLE-f would activate find in Terminal, not go forward one word in emacs. I've tried restarting Terminal, but that doesn't help either..
allyourcode
On Apple keyboards, the Option key is between the control and Apple (aka Command) keys on the left side.
0x4b
@id thanks! I was thinking I should be using the apple key, not the option key. re using the option key instead of the apple key: Bleh! I wish there was a way to make the apple key work as the meta key!
allyourcode