summaryrefslogtreecommitdiff
blob: 8307baded857d34d0abbfea34a9914a33fa9bc63 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- minicom-2.2/extras/scriptdemo
+++ minicom-2.2/extras/scriptdemo
@@ -1,5 +1,5 @@
 # A little demonstration of the possibilities of "runscript".
-# This script can be executed by typing: "runscript scriptdemo".
+# This script can be executed by typing: "/usr/bin/runscript scriptdemo".
 #
 # Adjust the stty's below to your system: BSD-like or SysV-like.
 # Linux ofcourse accepts both :-)
--- minicom-2.2/man/minicom.1
+++ minicom-2.2/man/minicom.1
@@ -418,7 +418,7 @@
 .TP 0.5i
 .B D - Script program
 Which program to use as the script interpreter. Defaults to the
-program "runscript", but if you want to use something else (eg,
+program "/usr/bin/runscript", but if you want to use something else (eg,
 /bin/sh or "expect") it is possible.  Stdin and stdout are connected
 to the modem, stderr to the screen.
 .RS 0.5i
--- minicom-2.2/man/runscript.1
+++ minicom-2.2/man/runscript.1
@@ -5,7 +5,7 @@
 .\" for conditions under which this file may be redistributed.
 .TH RUNSCRIPT 1 "$Date: 2006/10/31 07:03:03 $" "User's Manual"
 .SH NAME
-runscript \- script interpreter for minicom
+/usr/bin/runscript \- script interpreter for minicom
 .SH SYNOPSIS
 .B runscript
 .RI "scriptname [logfile [homedir]]"
--- minicom-2.2/src/rwconf.c
+++ minicom-2.2/src/rwconf.c
@@ -114,7 +114,7 @@
   { N_("No"),		0,  "kermreal" },
   { "3",		0,   "colusage" },
   /* The script program */
-  { "runscript",	0,   "scriptprog" },
+  { "/usr/bin/runscript",	0,   "scriptprog" },
   /* Modem parameters */
   { "~^M~AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0^M",   0,   "minit" },
   { "^M~ATZ^M~",	0,   "mreset" },
@@ -242,7 +242,7 @@
   int matched;
 
   if (conftype == CONFIG_GLOBAL)
-    strcpy(P_SCRIPTPROG, "runscript");
+    strcpy(P_SCRIPTPROG, "/usr/bin/runscript");
 
   line = malloc(line_size);
   if (!line) {