From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Colin S. Miller" Newsgroups: gmane.emacs.help Subject: Re: Meta key definition in a linux console Date: Thu, 20 Aug 2009 12:15:24 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <4a8d3007$0$297$14726298@news.sunsite.dk> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250769374 28229 80.91.229.12 (20 Aug 2009 11:56:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2009 11:56:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 20 13:56:06 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Me6FR-0006gT-Ai for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 13:56:05 +0200 Original-Received: from localhost ([127.0.0.1]:58029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Me6FQ-0005zX-7g for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 07:56:04 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 28 Original-NNTP-Posting-Host: 62.56.57.252 Original-X-Trace: news.sunsite.dk DXC=G8o]Bl=A90oHNh; Hl28o0iYSB=nbEKnkk9<<][aYVGec5fdD?L8VmBhOOn[7LY1L_eQScK68eBi5g; QNS\SSPXng=`B>8HMEIDh>TP:HdoDF8`lfKhddP\g3j Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.help:172138 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67293 Archived-At: Olivier Sirven wrote: > Hello there, > > I run a Mac laptop with emacs 23 and everything is just fine, my meta > key is defined to my command key and I'm happy with it. But when I > ssh to a distant linux machine and run an emacs 23 session in console > mode I don't have any other ways to access meta but by using ESC key > which is far from being an ergonomical solution. > As this emacs version is compiled for linux, there is no such variable > as "mac-command-modifier" and I don't know how to tell emacs (or the > console) to use the command key as meta. > > Any ideas would be just great! > > Thanks > Olivier, if you log in using "ssh -X" (capital X, lowercase disables X-forwarding), then ssh will wrap an X-window connection from the remote machine back to local machine, and set up any xauth information. Then you can use the remote emacs as an X application. HTH, Colin S. Miller -- Replace the obvious in my email address with the first three letters of the hostname to reply.