Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: This is probably known and wont-fix: zpty -w always adds a new line
- X-seq: zsh-workers 43788
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: <zsh-workers@xxxxxxx>
- Subject: Re: This is probably known and wont-fix: zpty -w always adds a new line
- Date: Wed, 7 Nov 2018 12:30:12 +0000
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181107123014euoutp0231653b763b181cb6df5a3bddbaf4144f~k12geK_wG1323913239euoutp02Z
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1541593814; bh=z/+rRv11tqW7tzLiBrkOvdYf4DuXE33eTJwn73qCchk=; h=Subject:From:To:Date:In-Reply-To:References:From; b=cxcTv4mdJIAP1N5QusZw0iUFag4UrRcvTVBj4Smh1D1URpX/l2n3a/x0J/SJexWah C7wDAMLUGYSqBAFHXbc8G63Jm8PE3eH57ge/9TOTlQMBeCt08M9EyyfBHsyjFzTSgK HjVeBA3SVMGz96emNNXH3zpGAkmV6B7vV49gZ2kQ=
- In-reply-to: <1541592083.3768.3.camel@samsung.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CGME20181107113210epcas3p4cf89233ec2bbb8a604435389f5123845@epcas3p4.samsung.com> <CAKc7PVD9DiFRhTb1m5fTXeeW1RROYPpTmxKnCUfL-1FY7s_gKQ@mail.gmail.com> <1541592083.3768.3.camel@samsung.com>
On Wed, 2018-11-07 at 12:01 +0000, Peter Stephenson wrote:
> If you don't give a write argument to zpty -w, so it's getting it from
> reading stdin, it'll ignore the -n argument, but that's probably
> obvious.
While I'm here...
pws
diff --git a/Doc/Zsh/mod_zpty.yo b/Doc/Zsh/mod_zpty.yo
index 44b375a..6f20c4b 100644
--- a/Doc/Zsh/mod_zpty.yo
+++ b/Doc/Zsh/mod_zpty.yo
@@ -41,7 +41,8 @@ em(not) given, a newline is added at the end.
If no var(string) is provided, the standard input is copied to the
pseudo-terminal; this may stop before copying the full input if the
-pseudo-terminal is non-blocking.
+pseudo-terminal is non-blocking. The exact input is always copied:
+the tt(-n) option is not applied.
Note that the command under the pseudo-terminal sees this input as if it
were typed, so beware when sending special tty driver characters such as
Messages sorted by:
Reverse Date,
Date,
Thread,
Author