summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2018-11-07 12:36:05 +0000
committerPeter Stephenson <p.stephenson@samsung.com>2018-11-07 12:36:05 +0000
commit6529d52506bb71e0a70970f8a3555eb85b2a5b41 (patch)
tree1bd41f6a111ed3fe3e19c2f11dd805aa05b35d70
parente5465c04344cecca564c6c2def325d3806ce9278 (diff)
downloadzsh-6529d52506bb71e0a70970f8a3555eb85b2a5b41.tar.gz
zsh-6529d52506bb71e0a70970f8a3555eb85b2a5b41.tar.xz
zsh-6529d52506bb71e0a70970f8a3555eb85b2a5b41.zip
43788: clarify zpty -w -n with no string argument
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/mod_zpty.yo3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 59ca5a8e9..88a4dac0c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-11-07  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* 43788: Doc/Zsh/mod_zpty.yo: make it clear -n option to
+	zpty -w is irrelevant if no string argument.
+
 2018-11-07  Jun-ichi Takimoto  <takimoto-j@kba.biglobe.ne.jp>
 
 	* 43761: Completion/BSD/Type/_file_flags,
diff --git a/Doc/Zsh/mod_zpty.yo b/Doc/Zsh/mod_zpty.yo
index 44b375a3c..6f20c4b75 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