about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Functions/Misc/mere6
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7b09a0325..a4604422f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2001-11-06  Oliver Kiddle  <opk@zsh.org>
 
+	* unposted: Functions/Misc/mere: fix for IRIX
+
 	* 16224: Src/jobs.c, Doc/Zsh/builtins.yo,
 	Completion/Unix/Type/_signals, Completion/Zsh/Command/_kill,
 	Completion/Zsh/Command/_jobs_builtin: add -n option to kill
diff --git a/Functions/Misc/mere b/Functions/Misc/mere
index a9beb2c10..410be9ab5 100644
--- a/Functions/Misc/mere
+++ b/Functions/Misc/mere
@@ -21,6 +21,12 @@ if [[ -d /usr/share/lib/term &&
   terminal=lp;
 fi
 
+# IRIX has no `man' terminal.
+if [[ -d /usr/lib/nterm &&
+    ! -e /usr/lib/nterm/tab.$terminal ]]; then
+  terminal=lp;
+fi
+
 # Unixware has no `man' terminal.
 if [[ -d /usr/ucblib/doctools/nterm &&
     ! -e /usr/ucblib/doctools/nterm/tab.$terminal ]]; then