zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: <zsh-workers@zsh.org>
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	[thread overview]
Message-ID: <1541593812.3768.6.camel@samsung.com> (raw)
In-Reply-To: <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


      parent reply	other threads:[~2018-11-07 12:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20181107113210epcas3p4cf89233ec2bbb8a604435389f5123845@epcas3p4.samsung.com>
2018-11-07 11:31 ` Sebastian Gniazdowski
2018-11-07 12:01   ` Peter Stephenson
2018-11-07 12:21     ` Sebastian Gniazdowski
2018-11-07 12:30     ` Peter Stephenson [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=1541593812.3768.6.camel@samsung.com \
    --to=p.stephenson@samsung.com \
    --cc=zsh-workers@zsh.org \
    /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).