Subject: Re: Recent changes in com handling?
To: None <current-users@sun-lamp.cs.berkeley.edu, rls@zeus.id.net>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: current-users
Date: 04/21/1994 11:05:50
> 
> Not sure if somehow this is causing problems, since I have been using the "np"
> flag in /etc/gettytab for quite some time, and it SEEMED to work fine before.
> 

`np' isn't used much in getty. I'd expect it to actually set terminal modes
like so:

===================================================================
RCS file: /usr/src/bsd/CVSlamp/src/libexec/getty/subr.c,v
retrieving revision 1.6
diff -c -r1.6 subr.c
*** 1.6	1994/04/16 05:15:54
--- subr.c	1994/04/19 14:05:51
***************
*** 187,193 ****
  
  	f = 0;
  
! 	if (AP)
  		f |= ANYP;
  	else if (OP)
  		f |= ODDP;
--- 187,195 ----
  
  	f = 0;
  
! 	if (NP)
! 		f |= PASS8|ANYP;
! 	else if (AP)
  		f |= ANYP;
  	else if (OP)
  		f |= ODDP;


getty should be rewritten to use termios anyway.

------------------------------------------------------------------------------