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
52
53
54
55
|
diff -Nru minicom-2.1.orig/extras/scriptdemo minicom-2.1/extras/scriptdemo
--- minicom-2.1.orig/extras/scriptdemo 2003-03-30 21:55:39.000000000 +0300
+++ minicom-2.1/extras/scriptdemo 2005-12-12 23:59:40.447479750 +0200
@@ -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 :-)
diff -Nru minicom-2.1.orig/man/minicom.1 minicom-2.1/man/minicom.1
--- minicom-2.1.orig/man/minicom.1 2003-04-26 10:31:06.000000000 +0300
+++ minicom-2.1/man/minicom.1 2005-12-12 23:59:04.861255750 +0200
@@ -414,7 +414,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
diff -Nru minicom-2.1.orig/man/runscript.1 minicom-2.1/man/runscript.1
--- minicom-2.1.orig/man/runscript.1 2003-03-30 21:55:42.000000000 +0300
+++ minicom-2.1/man/runscript.1 2005-12-13 00:02:40.698744750 +0200
@@ -7,7 +7,7 @@
.SH NAME
runscript \- script interpreter for minicom
.SH SYNOPSIS
-.B runscript
+.B /usr/bin/runscript
.RI "scriptname [logfile [homedir]]"
.SH DESCRIPTION
.B runscript
diff -Nru minicom-2.1.orig/src/rwconf.c minicom-2.1/src/rwconf.c
--- minicom-2.1.orig/src/rwconf.c 2003-04-13 01:52:20.000000000 +0300
+++ minicom-2.1/src/rwconf.c 2005-12-12 23:58:47.356161750 +0200
@@ -119,7 +119,7 @@
{ N_("No"), PRIVATE, "kermreal" },
{ "3", PUBLIC, "colusage" },
/* The script program */
- { "runscript", PUBLIC, "scriptprog" },
+ { "/usr/bin/runscript", PUBLIC, "scriptprog" },
/* Modem parameters */
{ "~^M~AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0^M", PUBLIC, "minit" },
{ "^M~ATZ^M~", PUBLIC, "mreset" },
@@ -253,7 +253,7 @@
int lineno = 0;
int matched;
- if (init) strcpy(P_SCRIPTPROG, "runscript");
+ if (init) strcpy(P_SCRIPTPROG, "/usr/bin/runscript");
while(fgets(line, 80, fp) != (char *)0) {
|