summaryrefslogtreecommitdiff
path: root/src/stty.c
AgeCommit message (Collapse)Author
1998-04-04(valid_options): Parenthesize assignment in while expr.Jim Meyering
(main): Remove dcl of unused `cp'.
1998-04-04Use STREQ in place of strcmp everywhere.Jim Meyering
(valid_options): Indent (main): s/case 'f':/case 'F':/ Tweak error messages to make them consistent. Remove #if-0'd block. Move dcl of fdflags into scope where it's used.
1998-04-04[1998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>]Jim Meyering
(main): Fix broken options parsing that worked only by serendipity (getopt_long_only already parsed short options; no need to parse them again manually!). Add support for the --file option, which allows the user to specify the device whose line settings are to be set. This is necessary because POSIX ttys will block waiting for carrier detect to go high if CLOCAL is not set, unless the device is opened with the O_NONBLOCK flag. Unfortunately, the shell doesn't use this flag, so users lose. Opening the device in stty is the easist way to fix this. (speeds): Add support for 230400 and 460800 line speeds, which are supported by Linux.
1997-12-21s/__P/PARAMS/Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-02-09update copyrights for 1997Jim Meyering
1997-02-05Bracket inclusion of termios.h with #if HAVE_TERMIOS_H.Jim Meyering
Masami Takikawa reported that NeXTStep 3.0 doesn't have termios.h.
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1996-12-10Include config.h before testing for TERMIOS_NEEDS_XOPEN_SOURCE.Jim Meyering
Patch from Karl Heuer.
1996-12-08(get_win_size): Rename formal parameter from fileno to FD.Jim Meyering
1996-11-24(get_win_size): Take a FILENO parameter rather thanJim Meyering
trying to get a size from both stdin and stdout. Update callers. Use STDIN_FILENO and STDOUT_FILENO instead of literal 0, 1.
1996-11-24Big patch from Karl Heuer. FIXME: fill in detailsJim Meyering
1996-11-04(recover_mode): Fail also if there are too many fields. From Karl Heuer.Jim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-24Guard inclusion of stdarg.h and definition of VA_STARTJim Meyering
with #if PROTOTYPES rather than with #ifdef __STDC__. The latter loses with Dynix/PTX. (wrapf) [PROTOTYPES]: Similarly, guard ANSI-style ... definition. Suggestion from Marcus Daniels.
1996-10-21(main): Remove TAB from diagnostic, for consistency.Jim Meyering
1996-10-05(main): update --version output to conform to coding standardJim Meyering
1996-09-02(usage): Tell where to report bugs.Jim Meyering
1996-07-21(usage): Correct typo (-iucl -> -iuclc) in usage message.Jim Meyering
From Thomas Olsson <d95to@efd.lth.se>.
1996-07-13[GWINSZ_BROKEN]: Remove thus-guarded `#undef TIOCGWINSZ'.Jim Meyering
GWINSZ_BROKEN can't be defined anymore.
1996-04-24update Copyright years for 1996Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-24(main): Reformat if-block a little.Jim Meyering
Declare index I to be of type size_t to avoid warning from gcc -Wall.
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-12(main): Initialize for internationalized message support:Jim Meyering
call setlocale, bindtextdomain, and textdomain.
1996-02-29(wrapf) [!__STDC__]: Indent by one space the first line of the pre-ANSIJim Meyering
function definition so ansi2knr doesn't munge it.
1996-01-17Break some long lines.Jim Meyering
Add const attribute to a few parameters.
1996-01-17(integer_arg): Use xstrtol instead of open-coding this.Jim Meyering
1996-01-17(visible): Change parameter type to unsigned int from unsigned char.Jim Meyering
1996-01-17Protoize and __P-protect forward dcls.Jim Meyering
1996-01-14Indent cpp directives.Jim Meyering
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-11-08(usage): Clarify descriptions of ignpar and ignbrk.Jim Meyering
From Theodore Ts'o and Ulrich Windl.
1995-08-08Annotate localizable strings with _(...). From Franc,ois.Jim Meyering
1995-05-15(usage): Add one- and two-line descriptions to --help output.Jim Meyering
From Karl.
1995-03-09add 1995 to Copyright datesJim Meyering
1995-02-27(main, set_window_size): Use memset instead of bzero.Jim Meyering
1994-12-20* src/*.c: Include "error.h" instead of simply declaringJim Meyering
`void error ();'.
1994-10-08merge with 1.10qJim Meyering
1994-10-01.Jim Meyering
1994-09-27merge with 1.10n2Jim Meyering
1994-09-25.Jim Meyering
1994-09-24(wrapf): Declare first argument const char *.Jim Meyering
1994-09-15.Jim Meyering
1994-09-08merge with 1.10iJim Meyering
1994-07-13merge with 1.10eJim Meyering
1994-06-20.Jim Meyering