Commit Graph

47 Commits

Author SHA1 Message Date
kleink
09349a90b3 Include <time.h>, needed for various definitions. Also, per KNF, don't include
both <sys/param.h> and <sys/types.h>; the former is sufficient.
1998-04-02 11:31:43 +00:00
mrg
9de7446997 use static int instead of static 1998-03-30 02:31:44 +00:00
mellon
851bf413cd Only turn off the O_NONBLOCK flag if DC flag is set. 1997-12-17 17:09:33 +00:00
mellon
e0a22c4659 Turn off the O_NONBLOCK flag after CLOCAL is set. 1997-12-17 16:56:30 +00:00
mrg
04abeda6db fix compile warnings on the alpha. 1997-11-23 04:03:04 +00:00
lukem
6b9d2f6aae * fix a long-term annoyance with tip: if raisechar or force are set to
"", (usually in .tiprc with lines like `raisechar='), don't activate
  feature if NUL (\0) is the received character
* on a related note, don't barf if the following variables are defined
  to "": disconnect, log, parity, record
1997-11-22 08:29:58 +00:00
lukem
e37283e126 WARNSify, KNFify, using ANSI string functions, cleanup .Nm usage 1997-11-22 07:28:39 +00:00
lukem
8ba07ab0b3 use CPPFLAGS instead of CFLAGS 1997-10-24 09:00:17 +00:00
mrg
4f4ba42ae8 disable WARNS here for now. 1997-10-20 03:35:06 +00:00
mycroft
af65e81265 Make these executables world-readable. 1997-10-11 11:05:28 +00:00
kleink
66105c37fc Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.
1997-08-25 19:31:43 +00:00
pk
b55c3729fe NULL => 0 (Arne Juul; PR#3629) 1997-05-17 20:09:26 +00:00
mellon
6aaccda600 DC is not a user-settable variable, but was being partially confused with one 1997-05-14 00:20:01 +00:00
gwr
10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr
012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
mellon
11be63105a Set CLOCAL if dc flag is set 1997-04-20 00:03:05 +00:00
mellon
b6e16df6f2 Add boolean for dc flag 1997-04-20 00:02:45 +00:00
mellon
d9be4478ec Set O_NONBLOCK if dc flag is set. Don't set HUPCL if dc flag is set. 1997-04-20 00:02:10 +00:00
thorpej
972c977c65 Change booleans from char to int so that comparisons against negative
values work as expected on systems with unsigned chars.
1997-04-19 06:06:06 +00:00
thorpej
4e82c2acc2 getopt() returns:
- an int, not a char, and
- -1 upon completion, not EOF.
1997-04-19 06:04:54 +00:00
mrg
53fddda6b9 give buffers lengths; use strdup. 1997-02-11 09:24:03 +00:00
cgd
89dcb48dfb fix up -ansi -pedantic warnings produced because of static function
declarations nested in other functions.  The solution: declare the
static functions at the top level.
1996-12-29 10:41:53 +00:00
cgd
8e2918a81c make evenpartab be of type 'unsigned char' to avoid -ansi -pedantic errors 1996-12-29 10:38:20 +00:00
cgd
879c890af2 add -ansi -pedantic to CFLAGS, so that people won't try to use the behaviour
of the old zzhack-access macros, which with the current macro definitions
would cause a cast value to be used as an lvalue, which is a gcc extension,
but _not_ what we want.
1996-12-29 10:36:37 +00:00
cgd
88caf985e6 replace old zzhack structure (YUCK!) and number(), boolean(), character(),
and address() macros with new macros of the same names (to get values),
and macros with those names but with "set" prepended and which take a
second argument (to set values).  The new macros use type casts to do
type conversion, which is much cleaner than using a union and making
endianness-related hacks to get the right 'short's and 'char's from
the right array indices.  (YUCK! again, for good measure.)
1996-12-29 10:34:03 +00:00
cgd
b7e69ffbd5 translate '=' in phone number strings into ',' (to generate delays),
as is done for couriers and t3000s.  Ahh, the wonders of being in
a hotel room with source.
1996-11-01 23:56:33 +00:00
jtc
95151c4196 unused file 1996-03-07 06:52:51 +00:00
pk
258108ce0f Convert to termios (from Scott Reynolds; PR#1621).
8-bit patches (from Matthieu Herrb; PR#1384).
1995-10-29 00:49:38 +00:00
jtc
0b470f4f06 Fix crash with null eofwrite capabilityand lseek/off_t bug; PR #1346 1995-09-26 06:02:08 +00:00
jtc
71c33981ab Fix parity calculation; PR #1325 1995-08-11 00:10:40 +00:00
cgd
f795659ece headers, casts, and use of time_t 1994-12-24 17:56:23 +00:00
jtc
39801cccde Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-08 09:30:36 +00:00
jtc
3075e8d6b7 imported from 4.4lite 1994-12-08 08:57:40 +00:00
mycroft
69587fec56 Make lock directory match the code. 1994-09-19 12:26:18 +00:00
pk
a52f16e93a setre[gu]id conversion. 1994-04-20 17:21:28 +00:00
jtc
70a4f3c1c1 Fix spelling errors. 1994-01-11 18:49:16 +00:00
jtc
ae444cb091 We're have a real cu now, so break the link between cu and tip. 1993-08-04 20:17:26 +00:00
jtc
3d353466ea Fix formatting bug. 1993-08-04 19:52:59 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft
c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft
75ff3a90bd Add RCS identifiers. 1993-07-30 23:49:23 +00:00
andrew
633e84cc9d Flip euid to user immediately after opening log file, to allow .tiprc file
to be read without perms problems.
1993-06-12 03:41:40 +00:00
cgd
f67174d697 patch from David Greenman and Rod Grimes (davidg@implode.rain.com and
rgrimes@agora.rain.com) to support 57600 and 115200 baud
1993-06-05 22:40:40 +00:00
cgd
ee6def0bf2 Peter da Silva's <peter@taronga.com> for tip to obey the
taylor UUCP locking convention
1993-06-05 21:56:20 +00:00
cgd
e267ad3fc2 fix from Bakul Shah <bvs@BitBlocks.com> to make tip not dump core
when courier acu routines are used with a non-USR Courier modem.
1993-05-11 06:58:03 +00:00
mycroft
7ca0c915de Cleanup for GCC 2. 1993-04-19 08:00:58 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00