From: Zoltan Hidvegi <hzoli@ny.frontiercomm.net>
To: rodger@hpbs2245.boi.hp.com (Rodger V. Anderson)
Cc: zsh-users@math.gatech.edu
Subject: Re: VDISABLEVAL should be -1 for HP-UX?
Date: Sun, 1 Jun 1997 04:00:40 -0400 (EDT) [thread overview]
Message-ID: <199706010800.EAA10399@hzoli.home> (raw)
In-Reply-To: <199705292323.AA078588228@hpbs2245.boi.hp.com> from "Rodger V. Anderson" at "May 29, 97 05:23:46 pm"
> 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.
This patch should fix the problem.
Zoltan
*** Src/system.h 1997/05/06 05:56:36 3.1.2.3
--- Src/system.h 1997/04/28 05:44:20
***************
*** 257,263 ****
# else
# include <termios.h>
# endif
! # define VDISABLEVAL 0
# define HAS_TIO 1
#else /* not TERMIOS */
# ifdef HAVE_TERMIO_H
--- 257,267 ----
# else
# include <termios.h>
# endif
! # ifdef _POSIX_VDISABLE
! # define VDISABLEVAL _POSIX_VDISABLE
! # else
! # define VDISABLEVAL 0
! # endif
# define HAS_TIO 1
#else /* not TERMIOS */
# ifdef HAVE_TERMIO_H
prev parent reply other threads:[~1997-06-01 8:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-05-29 23:23 Rodger V. Anderson
1997-06-01 8:00 ` Zoltan Hidvegi [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=199706010800.EAA10399@hzoli.home \
--to=hzoli@ny.frontiercomm.net \
--cc=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).