summaryrefslogtreecommitdiff
blob: 72baf899764e0e5435ac3e7347904f50cbb99302 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
--- a/config.input
+++ b/config.input
@@ -20,7 +20,7 @@
 # See the QuickPage documentation for complete details about
 # the syntax of the configuration file.
 #
-QPAGE_CONFIG="/etc/qpage.cf"
+QPAGE_CONFIG="/etc/qpage/qpage.cf"
 
 
 #
@@ -41,7 +41,7 @@
 # copies of the configuration file.  Only one filename
 # may be specified.
 #
-SNPP_SERVER_FILE="/etc/qpage.servers"
+SNPP_SERVER_FILE="/etc/qpage/qpage.servers"
 
 
 #
--- a/qpage.man
+++ b/qpage.man
@@ -867,7 +867,7 @@
 must be able to detect when it's safe to send dial commands to the modem.
 .LP
 .SH FILES
-/etc/qpage.cf
+/etc/qpage/qpage.cf
 .SH SEE ALSO
 .B RFC-1861
 .SH KNOWN BUGS
--- a/example.cf
+++ b/example.cf
@@ -21,7 +21,7 @@
 #
 #	modem=<modem name>
 #		text=<optional text, no whitespace allowed>
-#		device=<modem device e.g. /dev/ttya>
+#		device=<modem device e.g. /dev/tts/0>
 #		initcmd=<modem initialization command>
 #		dialcmd=<modem dial command not including phone number>
 #
@@ -64,14 +64,15 @@
 
 queuedir=/var/spool/qpage
 
+lockdir=/var/lock/subsys/qpage
+
 identtimeout=5
 snpptimeout=60
 
-modem=ttya device=/dev/cua/a
-modem=ttyb device=/dev/cua/b
+modem=ttyS0 device=/dev/tts/0
 
 service=default
-	device=ttya,ttyb
+	device=ttyS0
 	baudrate=1200
 	parity=even
 	allowpid=yes
--- a/ixo.c
+++ b/ixo.c
@@ -192,7 +192,7 @@
 		if ((i = read_modem(fd, seconds)) < 0)
 			return(NULL);
 
-		if (i == '\r') {
+		if (i == '\r' || i == '\n') {
 			*ptr = '\0';
 			got_full_packet++;
 		}