summaryrefslogtreecommitdiff
path: root/src/stty.c
AgeCommit message (Collapse)Author
2003-04-17Remove uses of PROTOTYPE macro.Jim Meyering
2003-04-11Remove SPC in SPC-TAB sequence.Jim Meyering
2003-04-10(wrapf): Declare with format attribute.Jim Meyering
2002-12-18(valid_options): Declare to be static.Jim Meyering
2002-12-15Remove all uses of `PARAMS'.Jim Meyering
2002-11-21stty doesn't support all baud rates available in current Linux kernels.Jim Meyering
When trying to set a high baud rate using stty, it says "invalid argument". When the high rate is already configured, "stty -a" returns 0 instead of the true baud rate. (struct speeds): Add support for all baud rates defined in linux-2.4.19.
2002-08-31Change `exit (0)' to `exit (EXIT_SUCCESS)',Jim Meyering
`exit (1)' to `exit (EXIT_FAILURE)', and `usage (1)' to `usage (EXIT_FAILURE)'.
2002-08-30Change `error (1, ...' to `error (EXIT_FAILURE, ...'.Jim Meyering
2002-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2001-12-15Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTIONJim Meyering
instead of hard-coding --help and --version descriptions. Split --help output into smaller pieces. Use fputs, not printf.
2001-09-16(usage): Prefix each line with a space, so thatJim Meyering
help2man produces a better stty.1 man page.
2000-07-17(visible): Don't mark `<undef>' for translation.Jim Meyering
The standard requires that exact string.
2000-06-21(valid_options): Don't segfault on `stty erase -'.Jim Meyering
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-03-03Make it so stty's rprnt attribute works on HPUX 10.20.Jim Meyering
[CREPRINT && !CRPRNT] (CRPRNT): Define. (control_info): Recognize HPUX's CREPRINT.
2000-01-29(screen_columns): Change #if-0 (test code, mistakenly committed in last delta)Jim Meyering
back to #ifdef TIOCGWINSZ.
2000-01-28(wrapf): Emit a newline only if 0 < current_col.Jim Meyering
(screen_columns): Use xstrtol, not atoi. If get_win_size fails and $COLUMNS == 0, then return 80, not `0'.
1999-08-30(usage): Correct --help message.Jim Meyering
1999-03-31(PROGRAM_NAME, AUTHORS): Define and use.Jim Meyering
1999-03-04(main): Include author name argument in call to parse_long_options.Jim Meyering
1999-02-16(main): #ifdef-out unreachable code.Jim Meyering
1999-02-16update copyright datesJim Meyering
1999-01-25(usage): Remove static attribute.Jim Meyering
1998-09-19update bug-reporting addressJim Meyering
1998-09-19(main): Revamp option processing, again.Jim Meyering
stty couldn't parse some of its options.
1998-07-04tweak commentJim Meyering
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1998-04-04Use "%s", not device_name, as the format string, in case theJim Meyering
latter contains `%'.
1998-04-04clean up commentsJim Meyering
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