unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: C-home in virtual console for emacs and bash
Date: Mon, 04 Dec 2006 00:07:47 +0100	[thread overview]
Message-ID: <87odqkfuik.fsf@hans.local.net> (raw)
In-Reply-To: <201bac3a0612031451j2ec2ad3enf87ea690c8053845@mail.gmail.com> (Jonas Bernoulli's message of "Sun\, 3 Dec 2006 23\:51\:06 +0100")

"Jonas Bernoulli" <jonasbernoulli@gmail.com> 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

      reply	other threads:[~2006-12-03 23:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-03 22:51 C-home in virtual console for emacs and bash Jonas Bernoulli
2006-12-03 23:07 ` Dieter Wilhelm [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87odqkfuik.fsf@hans.local.net \
    --to=dieter@duenenhof-wilhelm.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).