Well spotted. Thanks for the fix, it has just been applied.
Miod > diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c > index 49b7f3d3ae5..f036dec0803 100644 > --- a/libexec/getty/subr.c > +++ b/libexec/getty/subr.c > @@ -307,9 +307,9 @@ setflags(int n) > CLR(lflag, ECHOCTL); > > if (DX) > - SET(lflag, IXANY); > + CLR(iflag, IXANY); > else > - CLR(lflag, IXANY); > + SET(iflag, IXANY); > > out: > tmode.c_iflag = iflag; > -- > 2.44.1 >