summaryrefslogtreecommitdiff
path: root/math/tela/patches/patch-ag
blob: 35f27511f6424a090af3eed8b5ecb49212861b21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ag,v 1.2 2001/03/01 21:16:53 jtb Exp $

--- t/docview.t.orig	Thu Sep  7 14:05:06 2000
+++ t/docview.t
@@ -1,6 +1,6 @@
-choiceViewing = smenu("Choose viewing method","ASCII","xdvi","Xemacs");
+choiceViewing = smenu("Choose viewing method","ASCII","xdvi","Emacs");
 
-directory = "/usr/local/lib/tela";
+directory = "/usr/pkg/share/tela";
 
 choiceDoc = smenu("Choose document to view",
 				 "Basic help file",
@@ -19,7 +19,7 @@
 	system(#("less -Ms ",directory,"/",file,".txt"));
 } else if (strstarteq(choiceViewing,"xdvi")) {
 	system(#("xdvi -geometry 847x570+0+0 -s 3 ",directory,"/",file,".dvi&"));
-} else if (strstarteq(choiceViewing,"Xemacs")) {
+} else if (strstarteq(choiceViewing,"Emacs")) {
 	system(#("emacs ",directory,"/",file,".txt&"));
 };