summaryrefslogtreecommitdiff
path: root/math/yacas/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'math/yacas/patches/patch-ad')
-rw-r--r--math/yacas/patches/patch-ad25
1 files changed, 25 insertions, 0 deletions
diff --git a/math/yacas/patches/patch-ad b/math/yacas/patches/patch-ad
new file mode 100644
index 00000000000..6fd2ca2dbc8
--- /dev/null
+++ b/math/yacas/patches/patch-ad
@@ -0,0 +1,25 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/02/20 14:40:35 dmcmahill Exp $
+
+--- /dev/null Sun Feb 20 09:00:11 2000
++++ yacas.sh.in Sun Feb 20 09:07:01 2000
+@@ -0,0 +1,20 @@
++#!/bin/sh
++
++# save the tty settings
++stty -a | grep "\-extproc" 2>&1 > /dev/null
++if [ $? = 0 ]; then
++ OLD=-extproc
++else
++ OLD=extproc
++fi
++#OLD=`stty -g`
++
++# make sure one critical tty setting is correct
++stty -extproc
++
++# run yacas
++@prefix@/bin/yacas $*
++
++# restore the tty setting
++stty $OLD
++