* Re: vared messes up tty state
@ 2000-05-25 8:02 Sven Wischnowsky
2000-05-25 15:28 ` Bart Schaefer
0 siblings, 1 reply; 4+ messages in thread
From: Sven Wischnowsky @ 2000-05-25 8:02 UTC (permalink / raw)
To: zsh-workers
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: vared messes up tty state
2000-05-25 8:02 vared messes up tty state Sven Wischnowsky
@ 2000-05-25 15:28 ` Bart Schaefer
0 siblings, 0 replies; 4+ messages in thread
From: Bart Schaefer @ 2000-05-25 15:28 UTC (permalink / raw)
To: Sven Wischnowsky, zsh-workers
On May 25, 10:02am, Sven Wischnowsky wrote:
} Subject: Re: vared messes up tty state
}
} Bart Schaefer wrote:
}
} > 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?
I think so.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: vared messes up tty state
@ 2000-05-26 7:10 Sven Wischnowsky
0 siblings, 0 replies; 4+ messages in thread
From: Sven Wischnowsky @ 2000-05-26 7:10 UTC (permalink / raw)
To: zsh-workers
Bart Schaefer wrote:
> On May 25, 10:02am, Sven Wischnowsky wrote:
> } Subject: Re: vared messes up tty state
> }
> } Bart Schaefer wrote:
> }
> } > 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?
>
> I think so.
Good, I've now committed it (11566).
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* vared messes up tty state
@ 2000-05-23 22:30 Bart Schaefer
0 siblings, 0 replies; 4+ messages in thread
From: Bart Schaefer @ 2000-05-23 22:30 UTC (permalink / raw)
To: zsh-workers
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).
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-05-26 7:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-25 8:02 vared messes up tty state Sven Wischnowsky
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
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).