From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "kid kid" Newsgroups: gmane.emacs.help Subject: key binding doesn't work under consle mode Date: Mon, 27 Mar 2006 22:17:23 +0800 Message-ID: <12b893740603270617w68dbbf82q7eab7ed9dff9d3c6@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1143500716 3522 80.91.229.2 (27 Mar 2006 23:05:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Mar 2006 23:05:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 28 01:05:13 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FO0lk-0003hq-3W for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Mar 2006 01:05:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FO0lj-0006bM-OD for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Mar 2006 18:05:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FNsXF-0006xT-Vc for help-gnu-emacs@gnu.org; Mon, 27 Mar 2006 09:17:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FNsXA-0006wt-3y for help-gnu-emacs@gnu.org; Mon, 27 Mar 2006 09:17:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FNsX8-0006wq-RA for help-gnu-emacs@gnu.org; Mon, 27 Mar 2006 09:17:27 -0500 Original-Received: from [66.249.82.207] (helo=xproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FNsYe-00014L-Re for help-gnu-emacs@gnu.org; Mon, 27 Mar 2006 09:19:00 -0500 Original-Received: by xproxy.gmail.com with SMTP id s13so954820wxc for ; Mon, 27 Mar 2006 06:17:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=L5xD1u+2EJrrQACND5h2QI7Xv49KWXMzY/dWz3DoIRH8zJgQte/PjL8HaX8bRe7ZP97cmLVPg/4yg1LJiQ2XbG7XZGI5lNuLg6NaoIZXCl2D96gOvgsAEMYVm7gMVP2RMqboDbfbby9WKEVzXWFJBk5a4Y678uwzSdFPDrQjQ04= Original-Received: by 10.70.90.12 with SMTP id n12mr4682004wxb; Mon, 27 Mar 2006 06:17:23 -0800 (PST) Original-Received: by 10.70.72.18 with HTTP; Mon, 27 Mar 2006 06:17:23 -0800 (PST) Original-To: help-gnu-emacs@gnu.org Content-Disposition: inline X-Mailman-Approved-At: Mon, 27 Mar 2006 14:22:17 -0500 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:34037 Archived-At: Hello! I have problem using Emacs. I use some key binding defined in my dot emacs file: (global-set-key "\C-h" 'delete-backward-char) (define-key global-map "\M-h" 'backward-kill-word) (define-key global-map [C-return] 'set-mark-command) It works perfectly in emacs, but when I run "emacs -nw", I can type C-h to backword delete a char, type M-h to backward kill a word, but I can't use C-return to set mark. However, I use M-x describe-function set-mark-command, it says "It is bound to C-@, , C-SPC.". But when I type C-return, it just start a new line. I tried in the rxvt terminal simulator or in real console(use Alt+Ctrl+F1), it doesn't work. And I have another problem: when in real console(I mean switched by typing Alt+Ctrl+F1~6), I can't use Alt key. When I want to type M-x help, I must type ESC, then release it, then type x, then help. Why doesn't the Alt key working in real console? Is it the fault of wrongly configured emacs or the console? Thank you! pluskid