git: <termios.h>: Add TABDLY, TAB0 and TAB3 to satisfy POSIX a bit better.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Oct 31 14:01:21 PDT 2019


commit 8edc0afff0354567c37880b380bd590fab2d0f5e
Author: Sascha Wildner <saw at online.de>
Date:   Thu Oct 31 22:01:09 2019 +0100

    <termios.h>: Add TABDLY, TAB0 and TAB3 to satisfy POSIX a bit better.
    
    * TAB3 is what we already have as OXTABS. Make the latter an alias of
      the former in <sys/_termios.h>.
    
    * Add 'tab0' and 'tab3' operands to stty(1) too.
    
    Most other output flags from the POSIX spec deal with actual time delays
    'to allow for mechanical or other movement when certain characters are
    sent to the terminal'. Blast from the past.
    
    Taken-from: FreeBSD (with some adjustments)

Summary of changes:
 bin/stty/modes.c         | 11 ++++++-----
 bin/stty/stty.1          | 16 ++++++++++++++--
 share/man/man4/termios.4 | 10 ++++++++--
 sys/kern/tty.c           |  8 ++++----
 sys/sys/_termios.h       |  5 ++++-
 5 files changed, 36 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8edc0afff0354567c37880b380bd590fab2d0f5e


-- 
DragonFly BSD source repository


More information about the Commits mailing list