From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: pclouds Newsgroups: gmane.emacs.help Subject: Re: tty emacs Date: Wed, 23 Apr 2003 17:44:31 +0700 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20030423104431.GA1163@localhost.localdomain> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1051125555 17134 80.91.224.249 (23 Apr 2003 19:19:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Apr 2003 19:19:15 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 23 21:19:11 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 198PiZ-00048o-00 for ; Wed, 23 Apr 2003 21:15:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 198Pdm-0003DU-01 for gnu-help-gnu-emacs@m.gmane.org; Wed, 23 Apr 2003 15:10:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 198PZz-0002MJ-00 for help-gnu-emacs@gnu.org; Wed, 23 Apr 2003 15:06:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 198PVU-0001Op-00 for help-gnu-emacs@gnu.org; Wed, 23 Apr 2003 15:02:13 -0400 Original-Received: from pop.gmx.de ([213.165.64.20] helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.10.13) id 198PVT-0001ON-00 for help-gnu-emacs@gnu.org; Wed, 23 Apr 2003 15:02:12 -0400 Original-Received: (qmail 28638 invoked by uid 65534); 23 Apr 2003 19:02:07 -0000 Original-Received: from unknown (EHLO localhost.localdomain) (203.162.34.218) by mail.gmx.net (mp016-rz3) with SMTP; 23 Apr 2003 21:02:07 +0200 Original-Received: (from pclouds@localhost) by localhost.localdomain (8.11.6/8.11.6) id h3NAiV005243; Wed, 23 Apr 2003 17:44:31 +0700 Original-To: Alan Mackenzie Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8738 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8738 On Wed, Apr 23, 2003 at 08:00:47AM +0000, Alan Mackenzie wrote: > Niels Freimann wrote on Wed, 23 Apr 2003 07:38:24 > +0200: > > Hi, > > > emacs in tty mode (emacs -nw) obviously doesn't know > > C-prior and C-next. I already tried out > > (define-key function-key-map "\e[40~" [C-prior]) > > (define-key function-key-map "\e[41~" [ C-next]) > > Presumably you're running in a tty window under X, but under which > operating system?. I run emacs directly on a Linux tty. I had to remap > my keyboard (with the program loadkeys) fairly radically to make it > produce different codes for [right] and [C-right], and so on. Maybe you > have to do this (or something similar) for emacs -nw. Could you show me how to do that? I'm using Emacs on a Linux tty too, and have the same problem with [right], [C-right]. > > > however its doesn't help. Any idea? > > Well, tell us HOW it didn't help. :-) What exactly does happen? > > Let me guess: C-prior does exactly the same as prior. After typing > these two key sequences, do a C-h l ('view-lossage') to see exactly what > key codes emacs received. > > > -Niels > > -- > Alan Mackenzie (Munich, Germany) > Email: aacm@muuc.dee; to decode, wherever there is a repeated letter > (like "aa"), remove half of them (leaving, say, "a"). > > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs -- Bi Cờ Lao