From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29004 invoked from network); 29 May 1997 23:28:04 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 29 May 1997 23:28:04 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id TAA28214; Thu, 29 May 1997 19:21:05 -0400 (EDT) Resent-Date: Thu, 29 May 1997 19:20:09 -0400 (EDT) Message-Id: <199705292323.AA078588228@hpbs2245.boi.hp.com> To: zsh-users@math.gatech.edu Subject: VDISABLEVAL should be -1 for HP-UX? Date: Thu, 29 May 1997 17:23:46 -0600 From: "Rodger V. Anderson" Resent-Message-ID: <"fs7kM1.0.Xt6.eyWZp"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/874 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Some time ago (a year and a half) I asked about a problem I was having with the "set-mark-command" being ignored when it was ^@ (ascii nul). I think I have figured out what the problem is. The routine setterm() in zle_main.c uses VDISABLEVAL, as defined in system.h with a value of 0, to disable certain keys. Unfortunately, HP-UX appears to treat a value of 0 as valid character, namely ^@ (ascii nul), instead of as undefined. I've recompiled zsh with VDISABLEVAL set to -1 and the set-mark-command now works. Any comments? I can provide more details if anyone is interested. Rodger Anderson