Deleted Added
full compact
tip.c (28788) tip.c (29574)
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 28 unchanged lines hidden (view full) ---

37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)tip.c 8.1 (Berkeley) 6/6/93";
43#endif
44static const char rcsid[] =
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 28 unchanged lines hidden (view full) ---

37 The Regents of the University of California. All rights reserved.\n";
38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)tip.c 8.1 (Berkeley) 6/6/93";
43#endif
44static const char rcsid[] =
45 "$Id: tip.c,v 1.5 1997/08/25 05:02:10 imp Exp $";
45 "$Id: tip.c,v 1.6 1997/08/26 10:25:19 eivind Exp $";
46#endif /* not lint */
47
48/*
49 Forward declarations
50*/
51void ttysetup (int speed);
52
53/*

--- 130 unchanged lines hidden (view full) ---

184 /*
185 * Kludge, their's no easy way to get the initialization
186 * in the right order, so force it here
187 */
188 if ((PH = getenv("PHONES")) == NOSTR)
189 PH = _PATH_PHONES;
190 vinit(); /* init variables */
191 setparity("even"); /* set the parity table */
46#endif /* not lint */
47
48/*
49 Forward declarations
50*/
51void ttysetup (int speed);
52
53/*

--- 130 unchanged lines hidden (view full) ---

184 /*
185 * Kludge, their's no easy way to get the initialization
186 * in the right order, so force it here
187 */
188 if ((PH = getenv("PHONES")) == NOSTR)
189 PH = _PATH_PHONES;
190 vinit(); /* init variables */
191 setparity("even"); /* set the parity table */
192 if ((i = speed(number(value(BAUDRATE)))) == NULL) {
192 if ((i = speed(number(value(BAUDRATE)))) == 0) {
193 printf("tip: bad baud rate %d\n", number(value(BAUDRATE)));
194 (void)uu_unlock(uucplock);
195 exit(3);
196 }
197
198 /*
199 * Now that we have the logfile and the ACU open
200 * return to the real uid and gid. These things will

--- 519 unchanged lines hidden ---
193 printf("tip: bad baud rate %d\n", number(value(BAUDRATE)));
194 (void)uu_unlock(uucplock);
195 exit(3);
196 }
197
198 /*
199 * Now that we have the logfile and the ACU open
200 * return to the real uid and gid. These things will

--- 519 unchanged lines hidden ---