From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: C-home in virtual console for emacs and bash Date: Mon, 04 Dec 2006 00:07:47 +0100 Organization: The Church of Emacs Message-ID: <87odqkfuik.fsf@hans.local.net> References: <201bac3a0612031451j2ec2ad3enf87ea690c8053845@mail.gmail.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165187323 16752 80.91.229.10 (3 Dec 2006 23:08:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Dec 2006 23:08:43 +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 Dec 04 00:08:42 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gr0Rq-0000jv-FJ for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Dec 2006 00:08:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gr0Rq-0001Qs-9X for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Dec 2006 18:08:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gr0Rd-0001Qn-DO for help-gnu-emacs@gnu.org; Sun, 03 Dec 2006 18:08:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gr0Ra-0001Qb-N1 for help-gnu-emacs@gnu.org; Sun, 03 Dec 2006 18:08:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gr0Ra-0001QY-IW for help-gnu-emacs@gnu.org; Sun, 03 Dec 2006 18:08:22 -0500 Original-Received: from [212.227.126.171] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gr0RZ-00049d-WA for help-gnu-emacs@gnu.org; Sun, 03 Dec 2006 18:08:22 -0500 Original-Received: from [84.167.41.7] (helo=duenenhof-wilhelm.de) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis), id 0ML29c-1Gr0RI1cCi-0008Q4; Mon, 04 Dec 2006 00:08:04 +0100 Original-Received: by duenenhof-wilhelm.de (Postfix, from userid 1000) id F28C746C63; Mon, 4 Dec 2006 00:07:47 +0100 (CET) Original-To: "Jonas Bernoulli" In-Reply-To: <201bac3a0612031451j2ec2ad3enf87ea690c8053845@mail.gmail.com> (Jonas Bernoulli's message of "Sun\, 3 Dec 2006 23\:51\:06 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:d7ab225b98a136e1c2910381f940ecb9 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:39239 Archived-At: "Jonas Bernoulli" writes: > hello > > i would like to have Control_Home and alike available in bash and > emacs when using a virtual console just like i do in X. however there > is no such keysymbol in the kernels keymap. Is the effect of C-Home different to typing C-a in the console? > > without any modifications C-home is available in emacs but not bash. For me both sequences are working in the same way on the virtual console. (Gnu/Linux on Suse 10.0) > > in order to make it work in bash also, i added this to my keymap, > faking the keysym as in X: > > string F101 = "\033[1;5H" > control keycode 102= F101 > > now i can use C-home in bash but not in emacs anymore :-( You could use M-< in Emacs instead. > when pressing C-home in emacs now instead of calling the function > bound to C-home the characters "5H" are entered in the buffer. ... > > i am afraid the keysyms are hardcoded somewhere in c-code. so if > someone could tell me where the keysyms are defined this might allow > me to add the additional keysyms i need. Sorry, I can't help you here. -- Best wishes H. Dieter Wilhelm Darmstadt, Germany