From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: key binding with windows and menu keys Date: Mon, 15 Aug 2005 17:12:04 +0200 Message-ID: <196ed564d8f1aee33cd06d584009eabf@Web.DE> References: <87iry7mfn5.fsf@magma.ca> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1124119067 30250 80.91.229.2 (15 Aug 2005 15:17:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Aug 2005 15:17:47 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 15 17:17:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E4ggy-0008Fu-Bv for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Aug 2005 17:16:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E4gkI-0007Ue-Pf for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Aug 2005 11:19:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E4gjc-0007Lk-SC for help-gnu-emacs@gnu.org; Mon, 15 Aug 2005 11:18:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E4gjX-0007Ii-IN for help-gnu-emacs@gnu.org; Mon, 15 Aug 2005 11:18:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E4gjX-0007Hd-2r for help-gnu-emacs@gnu.org; Mon, 15 Aug 2005 11:18:39 -0400 Original-Received: from [217.72.192.225] (helo=smtp07.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1E4gsV-0007w4-5m for help-gnu-emacs@gnu.org; Mon, 15 Aug 2005 11:27:55 -0400 Original-Received: from [84.245.189.5] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #314) id 1E4gdB-0008R0-00; Mon, 15 Aug 2005 17:12:06 +0200 In-Reply-To: <87iry7mfn5.fsf@magma.ca> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: Angelina Carlton X-Mailer: Apple Mail (2.622) X-Sender: Peter_Dyballa@web.de 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:28737 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28737 Am 15.08.2005 um 16:35 schrieb Angelina Carlton: > There is one problem however, 2 of my computers do not run X and > consequently do not have the xmodmap command. So If I am working on > them > in the console or via ssh I have to maintain my old key binding and try > to remember not to press the windows logo key instead. > > I will try to figure out how to enable these keys in non X environment > an > let you know, perhaps someone already knows how to do this? > Is C-h k returns just ? If not, you could by hand 'M-x global-set-key RET scroll-other-window RET C-x ESC ESC C-a C-k C-g' -- bind the key and start to repeat-previous-command. The cursor goes into the minibuffer, where you put it at the beginning and then kill the whole line. Now an interrupt, and you're ready to yank/paste the valid ELisp expression into .emacs ... it wouldn't look pretty with a number instead of symbols (that's what I am used from X11 or Apple's Aqua), but it would work. -- Greetings Pete Without vi there is only GNU Emacs