zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: Chuck <GBSCDcM8oX5F7qrd@spambox.us>, zsh-workers@sunsite.dk
Subject: Re: zsh in screen - bad erase key ^@ instead of ^H or ^?
Date: Tue, 18 Dec 2007 10:29:24 +0000	[thread overview]
Message-ID: <20071218102924.0a5bcd0a@news01> (raw)
In-Reply-To: <47677243.9030309@spambox.us>

On Mon, 17 Dec 2007 23:09:55 -0800
Chuck <GBSCDcM8oX5F7qrd@spambox.us> wrote:
> How do I tell zsh in screen that my backspace key is ^H or ^? instead of
> ^@ as it currently thinks? stty erase '^@' fails as does using tset.

It may be you're doing the opposite of what you need...

> ^v(bs key) tells me bs is currently ^@.

...this indicates the backspace key currently *is* sending ^@, because
the ^V stops zsh interpreting the character.

So instead, try making it so that it sends ^H or ^?: "stty erase '^?'".
(This is likely to be some artefact of screen since zsh doesn't
change special characters of that sort.)

If for some reason you're stuck with the backspace key sending ^@, you
can use "bindkey" to tell zsh to use it for functions usually bound with ^?
and ^h, but you shouldn't need to do that.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


  reply	other threads:[~2007-12-18 10:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-18  7:09 Chuck
2007-12-18 10:29 ` Peter Stephenson [this message]
2007-12-18 18:16   ` Chuck
2007-12-18 18:27     ` Peter Stephenson
2007-12-18 19:51       ` Chuck (vid,smtp3)
2007-12-18 20:26       ` Chuck
2007-12-19  0:44         ` Vincent Lefevre
2007-12-19  8:14           ` Chuck
2007-12-18 15:01 ` Wayne Davison
2007-12-18 18:19   ` Chuck (vid,smtp3)

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=20071218102924.0a5bcd0a@news01 \
    --to=pws@csr.com \
    --cc=GBSCDcM8oX5F7qrd@spambox.us \
    --cc=zsh-workers@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).