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.3 2001/03/04 17:15:19 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 = "@PREFIX@/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&"));
};
|