Jim Meyering [Sat, 19 Feb 1994 19:49:02 +0000 (19:49 +0000)]
merge with 1.9.3
Jim Meyering [Wed, 16 Feb 1994 23:36:41 +0000 (23:36 +0000)]
* stty.c (main): Use getopt only to recognize long options.
Hand code the loop to detect -a, -g, -ag and -ga. Using getopt
to detect the short options loses (because we have to ignore
unrecognized options and we are allowing GNU getopt to permute)
because e.g. `-tabs' is interpreted as a group of options, one of
which is `-a'. Before, running `stty -tabs echo' gave this error:
stty: when specifying an output style, modes may not be set
Reported by Arne H. Juul.
Jim Meyering [Wed, 16 Feb 1994 23:36:20 +0000 (23:36 +0000)]
.
Jim Meyering [Mon, 14 Feb 1994 21:19:12 +0000 (21:19 +0000)]
.
Jim Meyering [Sun, 13 Feb 1994 20:27:08 +0000 (20:27 +0000)]
.
Jim Meyering [Sun, 13 Feb 1994 20:03:47 +0000 (20:03 +0000)]
.
Jim Meyering [Sun, 13 Feb 1994 20:02:41 +0000 (20:02 +0000)]
(main): Change `optind' to `k'.
Jim Meyering [Sun, 13 Feb 1994 19:59:52 +0000 (19:59 +0000)]
(main): Use parse_long_options.
Rework option handling so stty no longer ignores arguments.
Jim Meyering [Sun, 13 Feb 1994 19:58:25 +0000 (19:58 +0000)]
(set_window_size): Patch from Rick Sladkey.
Jim Meyering [Sun, 13 Feb 1994 16:39:44 +0000 (16:39 +0000)]
merge with 1.9.2j
Jim Meyering [Sat, 12 Feb 1994 17:23:44 +0000 (17:23 +0000)]
merge with 1.9.2i
Jim Meyering [Thu, 10 Feb 1994 19:14:24 +0000 (19:14 +0000)]
merge with 1.9.2g
Jim Meyering [Thu, 10 Feb 1994 18:30:08 +0000 (18:30 +0000)]
CIBAUD hack for SunOS 4.1.x
Jim Meyering [Thu, 10 Feb 1994 14:59:01 +0000 (14:59 +0000)]
.
Jim Meyering [Tue, 1 Feb 1994 14:11:50 +0000 (14:11 +0000)]
.
Jim Meyering [Tue, 1 Feb 1994 14:01:26 +0000 (14:01 +0000)]
.
Jim Meyering [Sat, 29 Jan 1994 19:06:23 +0000 (19:06 +0000)]
.
Jim Meyering [Sat, 29 Jan 1994 18:31:36 +0000 (18:31 +0000)]
.
Jim Meyering [Wed, 26 Jan 1994 19:19:14 +0000 (19:19 +0000)]
.
Jim Meyering [Wed, 26 Jan 1994 18:58:08 +0000 (18:58 +0000)]
.
Jim Meyering [Wed, 26 Jan 1994 18:51:44 +0000 (18:51 +0000)]
.
Jim Meyering [Wed, 26 Jan 1994 18:46:41 +0000 (18:46 +0000)]
merge with 3.9c
Jim Meyering [Wed, 26 Jan 1994 18:22:44 +0000 (18:22 +0000)]
.
Jim Meyering [Wed, 26 Jan 1994 18:20:04 +0000 (18:20 +0000)]
.
Jim Meyering [Wed, 26 Jan 1994 18:19:10 +0000 (18:19 +0000)]
.
Jim Meyering [Wed, 26 Jan 1994 17:48:15 +0000 (17:48 +0000)]
.
Jim Meyering [Wed, 26 Jan 1994 16:08:35 +0000 (16:08 +0000)]
.
Jim Meyering [Mon, 24 Jan 1994 20:46:23 +0000 (20:46 +0000)]
merge with 1.9.2e
Jim Meyering [Tue, 11 Jan 1994 05:52:05 +0000 (05:52 +0000)]
Revert last change -- timing showed 10% speedup w/o stream I/O.
Jim Meyering [Tue, 11 Jan 1994 05:50:45 +0000 (05:50 +0000)]
Use fwrite insted of write.
Jim Meyering [Sun, 9 Jan 1994 19:20:32 +0000 (19:20 +0000)]
merge with 1.9.1c
Jim Meyering [Sun, 9 Jan 1994 03:47:21 +0000 (03:47 +0000)]
safe_read and full_write + join patch
Jim Meyering [Fri, 7 Jan 1994 00:06:38 +0000 (00:06 +0000)]
* who.c (print_entry): Prepend `/dev/' only if ut_line is not
already an absolute filename. Just to be safe.
Jim Meyering [Mon, 3 Jan 1994 06:22:54 +0000 (06:22 +0000)]
merge with 1.9.2d
Jim Meyering [Mon, 3 Jan 1994 05:22:20 +0000 (05:22 +0000)]
merge with 1.9.2c
Jim Meyering [Wed, 29 Dec 1993 06:16:08 +0000 (06:16 +0000)]
.
Jim Meyering [Wed, 29 Dec 1993 06:13:37 +0000 (06:13 +0000)]
.
Jim Meyering [Wed, 29 Dec 1993 05:07:52 +0000 (05:07 +0000)]
.
Jim Meyering [Wed, 29 Dec 1993 04:40:30 +0000 (04:40 +0000)]
merge with 1.9.2b
Jim Meyering [Tue, 28 Dec 1993 23:46:12 +0000 (23:46 +0000)]
.
Jim Meyering [Tue, 28 Dec 1993 23:22:03 +0000 (23:22 +0000)]
.
Jim Meyering [Tue, 28 Dec 1993 21:18:17 +0000 (21:18 +0000)]
who.c
Jim Meyering [Thu, 23 Dec 1993 19:11:21 +0000 (19:11 +0000)]
merge with 1.9.1b
Jim Meyering [Thu, 23 Dec 1993 00:38:35 +0000 (00:38 +0000)]
merge with 1.9.2a
Jim Meyering [Thu, 23 Dec 1993 00:08:23 +0000 (00:08 +0000)]
.
Jim Meyering [Wed, 22 Dec 1993 22:41:00 +0000 (22:41 +0000)]
.
Jim Meyering [Wed, 22 Dec 1993 22:15:29 +0000 (22:15 +0000)]
.
Jim Meyering [Sun, 19 Dec 1993 06:20:51 +0000 (06:20 +0000)]
(set_fields): Convert ranges like 3-5,6- into 3-.
Before, this was off-by-two and converted 3-5,4-, but not 3-5,5-
Jim Meyering [Fri, 17 Dec 1993 23:51:12 +0000 (23:51 +0000)]
merge with 1.9.1a
Jim Meyering [Fri, 17 Dec 1993 23:12:34 +0000 (23:12 +0000)]
merge with 3.9b
Jim Meyering [Thu, 2 Dec 1993 18:31:46 +0000 (18:31 +0000)]
merge with 1.9.2
Jim Meyering [Tue, 30 Nov 1993 16:07:29 +0000 (16:07 +0000)]
merge with 1.9.1c
Jim Meyering [Tue, 30 Nov 1993 15:51:34 +0000 (15:51 +0000)]
merge with 1.9.1b
Jim Meyering [Sat, 27 Nov 1993 21:59:45 +0000 (21:59 +0000)]
* (main): If an adjustment is specified, but no command is
given, give a diagnostic in addition to the usage message.
(isinteger): Accept a leading `+'.
Jim Meyering [Sat, 27 Nov 1993 00:05:27 +0000 (00:05 +0000)]
Redefine TIOCGWINSZ to TCGETS for Solaris.
Jim Meyering [Sat, 20 Nov 1993 17:00:37 +0000 (17:00 +0000)]
merge with 1.9.1a
Jim Meyering [Sat, 20 Nov 1993 06:00:00 +0000 (06:00 +0000)]
utmpx changes
Jim Meyering [Tue, 16 Nov 1993 14:38:08 +0000 (14:38 +0000)]
merge with 1.9.1
Jim Meyering [Mon, 15 Nov 1993 16:05:00 +0000 (16:05 +0000)]
fix typo in comment
Jim Meyering [Mon, 15 Nov 1993 15:58:21 +0000 (15:58 +0000)]
merge with 1.9.1
Jim Meyering [Mon, 15 Nov 1993 15:57:55 +0000 (15:57 +0000)]
merge with 1.9.1
Jim Meyering [Mon, 15 Nov 1993 14:32:17 +0000 (14:32 +0000)]
merge with 1.9a
Jim Meyering [Wed, 10 Nov 1993 06:05:02 +0000 (06:05 +0000)]
merge with 1.9
Jim Meyering [Tue, 9 Nov 1993 13:21:32 +0000 (13:21 +0000)]
merge with 1.9
Jim Meyering [Sun, 7 Nov 1993 06:09:50 +0000 (06:09 +0000)]
merge with 1.9
Jim Meyering [Tue, 2 Nov 1993 22:10:58 +0000 (22:10 +0000)]
merge with 1.8.1b
Jim Meyering [Tue, 2 Nov 1993 20:26:05 +0000 (20:26 +0000)]
merge with 1.8.1k
Jim Meyering [Sat, 30 Oct 1993 15:57:46 +0000 (15:57 +0000)]
merge with 1.8.1a
Jim Meyering [Thu, 28 Oct 1993 04:34:57 +0000 (04:34 +0000)]
merge with 1.8.1
Jim Meyering [Wed, 27 Oct 1993 16:30:36 +0000 (16:30 +0000)]
merge with 3.9a
Jim Meyering [Tue, 26 Oct 1993 23:39:04 +0000 (23:39 +0000)]
merge with 3.9a
Jim Meyering [Tue, 26 Oct 1993 01:19:12 +0000 (01:19 +0000)]
merge with 1.8i
Jim Meyering [Tue, 26 Oct 1993 00:11:14 +0000 (00:11 +0000)]
merge with 1.8.1i
Jim Meyering [Sun, 24 Oct 1993 21:30:08 +0000 (21:30 +0000)]
merge with 1.8.1h
Jim Meyering [Sun, 24 Oct 1993 20:00:39 +0000 (20:00 +0000)]
merge with 1.8h
Jim Meyering [Sun, 24 Oct 1993 19:04:12 +0000 (19:04 +0000)]
merge with 1.8g
Jim Meyering [Sat, 23 Oct 1993 16:06:33 +0000 (16:06 +0000)]
merge with 1.8f
Jim Meyering [Sat, 23 Oct 1993 15:37:19 +0000 (15:37 +0000)]
merge with 1.8d+
Jim Meyering [Thu, 21 Oct 1993 22:08:53 +0000 (22:08 +0000)]
merge with 1.8d
Jim Meyering [Thu, 21 Oct 1993 17:19:34 +0000 (17:19 +0000)]
merge with 1.8c
Jim Meyering [Thu, 21 Oct 1993 14:48:03 +0000 (14:48 +0000)]
merge with 3.9
Jim Meyering [Thu, 21 Oct 1993 00:10:34 +0000 (00:10 +0000)]
* memchr.c (memchr): Do the 32-bit assignment only if !LONG_64_BITS.
In the 64-bit assignment, be careful to cast the shift operand to
long.
Abort if sizeof (unsigned long) > 8.
Jim Meyering [Wed, 20 Oct 1993 02:17:05 +0000 (02:17 +0000)]
* [MAX]: Macro renamed from max and moved to top of file.
* (bytes_to_octal_digits): New static array.
* (get_format_flags): Combine '+' and ' ' cases of switch stmt.
Return count if for loop terminates. Otherwise --suffix=%- would lose.
* (get_format_width): Use `bytes_to_octal_digits' instead of just 11.
* (get_format_prec): Make sure is_negative is defined before used.
* (get_format_conv_type): Give a different error message if there
is no conversion specifier.
Test ISPRINT (ch) instead of `ch < '~' && ch > ' ''.
* (max_out): Use `%%' rather than `%' in format string.
Jim Meyering [Wed, 20 Oct 1993 02:09:45 +0000 (02:09 +0000)]
Remove register keyword (replace with `int' in two cases).
Jim Meyering [Wed, 20 Oct 1993 02:08:24 +0000 (02:08 +0000)]
patch from rfg
Jim Meyering [Tue, 19 Oct 1993 00:00:06 +0000 (00:00 +0000)]
merge with 3.8.4k
Jim Meyering [Mon, 18 Oct 1993 03:22:20 +0000 (03:22 +0000)]
add newline back, but only for --help output
Jim Meyering [Mon, 18 Oct 1993 03:11:02 +0000 (03:11 +0000)]
Change `fprintf (stdout' to `printf ('.
Jim Meyering [Mon, 18 Oct 1993 03:03:07 +0000 (03:03 +0000)]
remove extra newline in usage message
Jim Meyering [Mon, 18 Oct 1993 02:50:21 +0000 (02:50 +0000)]
[member]: Don't cast index() to an int. That is wrong on systems with 64-bit
pointers.
Jim Meyering [Mon, 18 Oct 1993 02:17:58 +0000 (02:17 +0000)]
merge with 3.8.4h
Jim Meyering [Sun, 17 Oct 1993 22:43:10 +0000 (22:43 +0000)]
merge with 3.8.4g
Jim Meyering [Sun, 17 Oct 1993 22:31:39 +0000 (22:31 +0000)]
[!NINDIR]: Define BSIZE only if it's not already defined.
Jim Meyering [Sun, 17 Oct 1993 03:57:04 +0000 (03:57 +0000)]
merge with 1.8.1g
Jim Meyering [Sun, 17 Oct 1993 02:57:45 +0000 (02:57 +0000)]
merge with 1.8b
Jim Meyering [Sat, 16 Oct 1993 22:55:37 +0000 (22:55 +0000)]
merge with 3.8.4f
Jim Meyering [Sat, 16 Oct 1993 14:47:43 +0000 (14:47 +0000)]
(main): When argc == 1, don't try to xmalloc (0).
Jim Meyering [Wed, 13 Oct 1993 22:30:38 +0000 (22:30 +0000)]
merge with 3.8.4e
Jim Meyering [Tue, 12 Oct 1993 20:24:09 +0000 (20:24 +0000)]
merge with 3.8.4c
Jim Meyering [Tue, 12 Oct 1993 20:13:45 +0000 (20:13 +0000)]
merge with 1.8.1e