SCCS-vsn: libexec/comsat/comsat.c 5.3
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)comsat.c 5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)comsat.c 5.3 (Berkeley) %G%";
#endif not lint
#include <sys/types.h>
#endif not lint
#include <sys/types.h>
exit(-1);
}
ioctl(fileno(tp), TIOCGETP, >tybuf);
exit(-1);
}
ioctl(fileno(tp), TIOCGETP, >tybuf);
- cr = (gttybuf.sg_flags & CRMOD) ? "" : "\r";
+ cr = (gttybuf.sg_flags&CRMOD) && !(gttybuf.sg_flags&RAW) ? "" : "\r";
strncpy(name, utp->ut_name, sizeof (utp->ut_name));
name[sizeof (name) - 1] = '\0';
fprintf(tp,"%s\n\007New mail for %s@%s\007 has arrived:%s\n",
strncpy(name, utp->ut_name, sizeof (utp->ut_name));
name[sizeof (name) - 1] = '\0';
fprintf(tp,"%s\n\007New mail for %s@%s\007 has arrived:%s\n",