From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.net.au (8.7/8.7) with SMTP id GAA29664 for ; Sat, 30 Sep 1995 06:57:24 +1000 (EST) Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA11739 (5.65c/Gatech-10.0-IDA for ); Fri, 29 Sep 1995 16:52:11 -0400 Received: by math (5.x/SMI-SVR4) id AA00354; Fri, 29 Sep 1995 16:44:47 -0400 Old-Return-Path: Resent-Date: Fri, 29 Sep 1995 14:47:07 -0600 Old-Return-Path: Message-Id: <199509292047.AA040587627@hpbs2245.boi.hp.com> To: zsh-users@math.gatech.edu (Zsh Users Mailing List) Subject: Re: nul character ^@ (set-mark-command) binding ignored In-Reply-To: Your message of "Thu, 28 Sep 1995 21:56:27 CDT." <13524.812343387@gonzo.tamu.edu> Date: Fri, 29 Sep 1995 14:47:07 -0600 From: Rodger Anderson Resent-Message-Id: <"_2fC23.0.A5.og5Rm"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/99 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.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