From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: vared messes up tty state
Date: Thu, 25 May 2000 10:02:12 +0200 (MET DST) [thread overview]
Message-ID: <200005250802.KAA32560@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Bart Schaefer"'s message of Tue, 23 May 2000 15:30:38 -0700
Bart Schaefer wrote:
> If you have `stty -echo` as e.g. in an emacs buffer and you run vared,
> then after vared exits, echo mode has been forced back on.
>
> `ttyctl -f` has no effect on this.
>
> Arguably, vared shouldn't even work in this condition (it behaves as
> if SINGLE_LINE_ZLE, when in fact ZLE is entirely disabled).
I agree with this last one, so should we?
Bye
Sven
diff -u -r ../oz/Src/Zle/zle_main.c ./Src/Zle/zle_main.c
--- ../oz/Src/Zle/zle_main.c Wed May 24 19:51:03 2000
+++ ./Src/Zle/zle_main.c Wed May 24 20:47:57 2000
@@ -740,6 +740,10 @@
char *p1 = NULL, *p2 = NULL;
FILE *oshout = NULL;
+ if (unset(USEZLE)) {
+ zwarnnam(name, "ZLE not enabled", NULL, 0);
+ return 1;
+ }
if (zleactive) {
zwarnnam(name, "ZLE cannot be used recursively (yet)", NULL, 0);
return 1;
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-05-25 8:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-25 8:02 Sven Wischnowsky [this message]
2000-05-25 15:28 ` Bart Schaefer
-- strict thread matches above, loose matches on Subject: below --
2000-05-26 7:10 Sven Wischnowsky
2000-05-23 22:30 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=200005250802.KAA32560@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--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).