zsh-users
 help / color / mirror / code / Atom feed
From: Chris Johnson <cjohnson@cs.utk.edu>
To: "Matthias B." <msb@winterdrache.de>
Cc: zsh-users@sunsite.dk
Subject: Re: bindkey -v and alt-. for previous cmd arg
Date: Thu, 4 Nov 2004 09:33:42 -0500	[thread overview]
Message-ID: <20041104143342.GA15150@red-hots.cs.utk.edu> (raw)
In-Reply-To: <20041104152010.61207970@buddha.localdomain.de>

Matthias B. sent me the following 0.9K bytes:

> > Yes! And from my recent reading I see that if you bind a key to Esc
> > using \e it will be mapped to alt as well.
> 
> No, that's not how it works. It's just that in some terminals (the Linux
> console for example, at least with some keymaps) Alt-. produces ESC-.
> But this is by no means standard. In my Xterm, when I press Alt-. I get
> the (R) registered trademark sign and if I want to bind something to Alt-.
> I have to bind it to (R) to work in Xterm. The simplest way to find out
> what to bind against is to execute
> 
>   cat
> 
> and then press the key combo in question and look at what you see on
> screen. On the linux console I get this (with Alt-.)

You can also do this at the command line by hitting <Control-v> and then
pressing the key in question.  That'll save you a process!

-- 
Chris Johnson
cjohnson@cs.utk.edu
http://www.cs.utk.edu/~cjohnson


  reply	other threads:[~2004-11-04 14:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-03 12:48 Nick Croft
2004-11-03 13:53 ` DervishD
2004-11-03 19:44   ` Nick Croft
2004-11-03 19:57     ` DervishD
2004-11-03 20:01       ` DervishD
2004-11-04 11:43         ` Nick Croft
2004-11-04 12:03           ` DervishD
2004-11-04 12:16           ` Peter Stephenson
2004-11-04 14:20           ` Matthias B.
2004-11-04 14:33             ` Chris Johnson [this message]
2004-11-04 19:43               ` Nick Croft
2004-11-07 11:53             ` Nick Croft
2004-11-07 13:29               ` Matthias B.
2004-11-09 11:18                 ` Nick Croft

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

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

  git send-email \
    --in-reply-to=20041104143342.GA15150@red-hots.cs.utk.edu \
    --to=cjohnson@cs.utk.edu \
    --cc=msb@winterdrache.de \
    --cc=zsh-users@sunsite.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).