From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Tanaka Akira <akr@m17n.org>, zsh-workers@sunsite.auc.dk
Subject: PATCH: Re: unknown TERM problem.
Date: Sat, 10 Jun 2000 16:59:06 +0000 [thread overview]
Message-ID: <1000610165906.ZM24257@candle.brasslantern.com> (raw)
In-Reply-To: <hvo3dmmhshc.fsf@serein.m17n.org>
On Jun 10, 5:04pm, Tanaka Akira wrote:
} Subject: unknown TERM problem.
}
} I found that unknown TERM causes core dump.
Actually, any terminal that doesn't have a programmable cursor will have
the same effect, e.g. TERM=dumb.
The following seems to be the correct fix; domenuselect() is a hook, so
there isn't any way to catch it before the function is entered.
Index: Src/Zle/complist.c
===================================================================
@@ -1627,6 +1627,8 @@
int space, lbeg = 0, step = 1, wrap, pl = nlnct, broken = 0, first = 1;
char *s;
+ if (!mtab)
+ return 0;
if (fdat || (dummy && (!(s = getsparam("MENUSELECT")) ||
(dat && dat->num < atoi(s))))) {
if (fdat) {
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
next prev parent reply other threads:[~2000-06-10 17:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-10 8:04 Tanaka Akira
2000-06-10 16:59 ` Bart Schaefer [this message]
2000-06-10 17:08 ` Clint Adams
2000-06-10 17:13 ` Clint Adams
2000-06-10 17:18 ` Bart Schaefer
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=1000610165906.ZM24257@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=akr@m17n.org \
--cc=zsh-workers@sunsite.auc.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).