zsh-users
 help / color / mirror / code / Atom feed
From: Rodger Anderson <rodger@hpbs2245.boi.hp.com>
To: zsh-users@math.gatech.edu (Zsh Users Mailing List)
Subject: Re: nul character ^@ (set-mark-command) binding ignored
Date: Fri, 29 Sep 1995 14:47:07 -0600	[thread overview]
Message-ID: <199509292047.AA040587627@hpbs2245.boi.hp.com> (raw)
In-Reply-To: Your message of "Thu, 28 Sep 1995 21:56:27 CDT." <13524.812343387@gonzo.tamu.edu>

> Did you try, for instance:
> 
>   bindkey '\000' down-case-word

Ok, just tried it.  It does not work.  The command shows up in the
list:

  bindkey | head -1
  "^@"    down-case-word

but nothing happens when I send that character.  It is as if something
somewhere along the input chain is swallowing up that particular
character.  It would seem to be in the zsh chain, as when I run the
command cat -v and press control-space a few times:

  cat -v

  ^@^@^@

In another experiment, I tried to use ^V to escape the ^@ and put the
nul character into the command: no go.  The control-V escapes whatever
character I type *after* the control-@.  If I type control-V,
control-space, then carriage-return, I get ^M on the command line.
The nul character is just swallowed up and ignored.

I'm wondering if it is something with the way zsh interacts with the
HP-UX tty driver?  Doesn't anyone else running HP-UX 9.05 experience
this problem?

Here is the output of stty -g:

502:5:b50:3b:0:3:1c:8:7:4:a:0:1e:502:5:b50:8000003b:3:1c:8:7:4:a:0:1e:ff:ff:ff:4:a:1a:11:13:0:0:1a:ff:0:30:50

If you run the stty command with this as an argument (on HP-UX, at
least), you will end up with the same exact stty settings that I have.
If someone else running HP-UX 9.05 (and doesn't have this problem)
could run stty -g and send me the results, then I could try those
settings and see if problem goes away.

Rodger


      parent reply	other threads:[~1995-09-29 20:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-29  0:07 Rodger Anderson
1995-09-29  2:56 ` Philip Kizer
1995-09-29  8:25   ` Rodger Anderson
1995-09-29 20:47   ` Rodger Anderson [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

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

  git send-email \
    --in-reply-to=199509292047.AA040587627@hpbs2245.boi.hp.com \
    --to=rodger@hpbs2245.boi.hp.com \
    --cc=zsh-users@math.gatech.edu \
    /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).