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
|
$NetBSD: patch-aa,v 1.5 2007/03/08 19:43:14 wiz Exp $
--- PilotMgr.pm.orig 2005-04-10 17:56:58.000000000 +0000
+++ PilotMgr.pm
@@ -503,14 +503,18 @@ sub createPropsDialog
my ($image);
my (@TTYMENU) =
- ("/dev/ttya", [],
- "/dev/ttyb", [],
- "/dev/cua/a", [],
- "/dev/cua/b", [],
- "/dev/cua0", [],
- "/dev/cua1", [],
- "/dev/cua2", [],
- "/dev/cua3", [],
+ ("/dev/tty00", [],
+ "/dev/tty01", [],
+ "/dev/tty02", [],
+ "/dev/tty03", [],
+ "/dev/ttyA0", [],
+ "/dev/ttyA1", [],
+ "/dev/ttyB0", [],
+ "/dev/ttyB1", [],
+ "/dev/ttyC0", [],
+ "/dev/ttyC1", [],
+ "/dev/ttyD0", [],
+ "/dev/ttyD1", [],
"/dev/pilot", [],
"Other...", []);
@@ -1366,7 +1370,7 @@ sub loadPrefs
do "$RCFILE";
}
- $PREFS->{'gPort'} = '/dev/ttya'
+ $PREFS->{'gPort'} = '/dev/pilot'
unless (exists $PREFS->{'gPort'});
$PREFS->{'gRate'} = '9600'
unless (exists $PREFS->{'gRate'});
|