diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2002-05-01 15:22:51 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2002-05-01 15:22:51 +0000 |
commit | e418ee10c632a59cbe10462fdeff7c78a4aad6d2 (patch) | |
tree | ba42afcb717776182d8ed9abe97a9339b6548b40 | |
parent | 8d5dbe2f70a7975a95ebe391dd9f3cab88fc2969 (diff) | |
download | pyserial-git-e418ee10c632a59cbe10462fdeff7c78a4aad6d2.tar.gz |
updated solaris device name, thanks to Pierre SCHNIZER.
-rw-r--r-- | pyserial/serial/serialposix.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyserial/serial/serialposix.py b/pyserial/serial/serialposix.py index 5a083de..cafc2f7 100644 --- a/pyserial/serial/serialposix.py +++ b/pyserial/serial/serialposix.py @@ -2,7 +2,7 @@ #module for serial IO for POSIX compatible systems, like Linux #see __init__.py # -#(C) 2001 Chris Liechti <cliechti@gmx.net> +#(C) 2001-2002 Chris Liechti <cliechti@gmx.net> # this is distributed under a free software license, see license.txt # #parts based on code from Grant B. Edwards <grante@visi.com>: @@ -12,7 +12,7 @@ import sys, os, fcntl, termios, struct, string, select import serialutil -VERSION = string.split("$Revision: 1.8 $")[1] #extract CVS version +VERSION = string.split("$Revision: 1.9 $")[1] #extract CVS version PARITY_NONE, PARITY_EVEN, PARITY_ODD = range(3) STOPBITS_ONE, STOPBITS_TWO = (1, 2) @@ -56,7 +56,7 @@ elif plat[:2] == 'hp': #HP-UX (not tested) def device(port): return '/dev/tty%dp0' % (port+1) -elif plat[:5] == 'sunos': #Solaris®/SunOS® (not tested) +elif plat[:5] == 'sunos': #Solaris®/SunOS® (confirmed) def device(port): return '/dev/tty%c' % (ord('a')+port) |