about summary refs log tree commit diff
path: root/Src/jobs.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-11-14 17:30:07 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-11-14 17:30:07 +0000
commit991c83ab343917b904ed7fd47a39e8517e15dcd1 (patch)
tree06dbb4726cfe75ef04878b1145de32c616f2aa84 /Src/jobs.c
parentf15627d17b8bbf8c6c3623844be509b544d8a9f6 (diff)
downloadzsh-991c83ab343917b904ed7fd47a39e8517e15dcd1.tar.gz
zsh-991c83ab343917b904ed7fd47a39e8517e15dcd1.tar.xz
zsh-991c83ab343917b904ed7fd47a39e8517e15dcd1.zip
19105 shout if interactive without terminal.
19167: BRACE_CCL range with NULL at start.
19168: Sizes using ztrftime were inconsistent.
Ports from main line.
Diffstat (limited to 'Src/jobs.c')
-rw-r--r--Src/jobs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Src/jobs.c b/Src/jobs.c
index 120e4a8e6..4912ac88c 100644
--- a/Src/jobs.c
+++ b/Src/jobs.c
@@ -292,8 +292,9 @@ update_job(Job jn)
 	}
     }
 
-    if (shout && !ttyfrozen && !jn->stty_in_env && !zleactive &&
-	job == thisjob && !somestopped && !(jn->stat & STAT_NOSTTY))
+    if (shout && shout != stderr && !ttyfrozen && !jn->stty_in_env &&
+	!zleactive && job == thisjob && !somestopped &&
+	!(jn->stat & STAT_NOSTTY)) 
 	gettyinfo(&shttyinfo);
 
     if (isset(MONITOR)) {