Subject: Re: Re: login on serial port
To: None <port-atari@netbsd.org>
From: Thomas Gerner <thomas@murmel.camelot.de>
List: port-atari
Date: 05/21/2000 23:06:30
On Sat, May 20, 2000 at 02:12:22PM +0000, JLMeyrial@club-internet.fr wrote:
> Thanks, it seems to work but now, I have 2 problems:
> 
> 1)- some displayed characters are corrupted on the ttyA1 (login display), it seems
> that parity is wrong.
> I have an entry in /etc/gettytab:
> minitel|mini-1200:\
> 	:ep:sp#1200:
> If I remove the ttyA1 entry in /dev/ttys and if I type:
> stty 1200 parity -cstopb < /dev/ttyA1
> ls > /dev/ttyA1
> displayed characters on ttyA1 are not corrupted.

Unfortunately I have no much experience with gettytab, but there may difference
between the setting done by getty and them done by stty. I would compare the
settings done by stty and them done by getty. Use stty -a -f /dev/ttyA1 to
print the settings in both cases and then try to find proper entries for
gettytab.

> 2)- I don't know why, but now cu doesn't work on dtyA1. I removed ttyA1 from 
> /etc/ttys. If I type:
> cu -e -s 1200 -l dtyA1 "dir"
> I have the error message:
> cu: open (/dev/dtyA1):Permission denied
> cu: dtyA1: Line in use

Cu is setuid uucp. Mayby your /dev/dtyA1 is not accessable by user uucp?
And don't forget to send init a -HUP every time you change something in
/etc/ttys.

Thomas