summaryrefslogtreecommitdiff
path: root/math/tela/patches/patch-ah
blob: cf1803551ccef08d7a2aaee54a3aa8fbfceb4e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ah,v 1.2 2001/03/01 21:16:53 jtb Exp $

--- t/std.t.orig	Thu Nov 30 11:06:14 2000
+++ t/std.t
@@ -95,7 +95,7 @@
 // kinds of Tela documentation.
 local(directory,choicViewing,choiceDoc,editor,env)
 {
-	directory = "/usr/local/lib/tela";
+	directory = "/usr/pkg/share/tela";
 	editor = "emacs";
 	pager = "less -Ms";
 	env = getenv("EDITOR");
@@ -109,7 +109,7 @@
 						 "HTML/Xmosaic (requires X)",
 						 "HTML/Lynx",
 						 "Xdvi (requires X)",
-						 "Xemacs (requires X)",
+						 "Emacs (requires X)",
 						 "Cancel");
 	if (strstarteq(choiceViewing,"Cancel")) return;
 	choiceDoc = smenu("Choose document to view",
@@ -134,7 +134,7 @@
 		system(#("cd ",directory,"/html; lynx ",file,".html"))
 	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(#(editor," ",directory,"/",file,".txt&"));
 };