Title: | DIGITAL UNIX (FORMERLY KNOWN AS DEC OSF/1) |
Notice: | Welcome to the Digital UNIX Conference |
Moderator: | SMURF::DENHAM |
Created: | Thu Mar 16 1995 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 10068 |
Total number of notes: | 35879 |
Hi, Hope for reply .... Customer was using old clone system and had a tty00 port on 7 databit, Even parity and 1 stop bit. On these serial port, he is using a hardware speaking 7E1 He baught sometimes ago an osf 3.2c system and is now trying to use /dev/tty00 as serial port. He edited /etc/inittab and cut the tty00 entry and is trying to setup these /dev/tty00 as 7E1. He used stty -f /dev/tty00 cs7 -cstopb -parodd and command is ok. When he does a stty -a -f /dev/tty00, he always found tty00 as 8N1. Can someone give me the way to configure a serial line as 7E1. I tryed on office but if I do a ls >>/dev/tty00, system send always data in 8N1 ... Help will be very appreciate ... Thierry [Posted by WWW Notes gateway]
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
9317.1 | look at gettydefs | NETRIX::"[email protected]" | Farrell Woods | Thu Mar 27 1997 09:14 | 15 |
The driver will not maintain settings between the last close and the next subsequent open on the device. That is, the driver will always reset the hardware to well-known settings in between each use. This leaves the device in a predictable state. Take a look at /etc/gettydefs. This is where the definitions for things like M9600, etc. that you see in /etc/inittab come from. You should find some entries in there for 7-bit settings. You can use those in your /etc/inittab file. You may also want to look at the man pages for gettydefs(4) and getty(8). -- Farrell [Posted by WWW Notes gateway] | |||||
9317.2 | NETRIX::"[email protected]" | Thierry FAIDHERBE | Thu Mar 27 1997 10:01 | 13 | |
Thanks for reply. I put tty00:1234:off:/usr/sbin/getty /dev/tty00 7bit.M9600 vt100 in the inittab file and I used kill -hup 1. Thank seems to work fine. Thanks for reply once more. Have a nice day, Thierry Belgian Unix Support Team. [Posted by WWW Notes gateway] |