Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/sys



Module Name:    src
Committed By:   christos
Date:           Sat Nov 20 14:52:22 UTC 2021

Modified Files:
        src/sys/sys: ttydefaults.h

Log Message:
PR/56496: Hauke Fath: etcupdate(8) merge formatting issue

Follow suit and turn off OXTABS by default

FreeBSD did that in 1994:

r3505 | wollman | 1994-10-10 20:16:28 -0400 (Mon, 10 Oct 1994) | 5 lines
    Turn off OXTABS by default.  Inspection of systems here finds no commercial
    systems with it on by default (or the equivalent flag) and terminal control
    sequences confuse it greatly.  (Try running `ls' under bash in an XTerm,
    for instance.)

OpenBSD did that in 2019:

date: 2019/03/12 11:01:25;  author: nicm;  state: Exp;  lines: +2 -2;
commitid: XOmQAZHjspUKWzDx;
    Almost all terminals now support hardware tabs so default to OXTABS off.

    This makes three changes: adds the ht capability to the standard lines
    in gettytab(5); removes OXTABS from TTYDEF_OFLAG in ttydefaults.h (the
    defaults used by pty(4) - diff from martijn); and only sets OXTABS on
    terminals which lack hts and tbc in tset(1) (from Thomas Dickey
    upstream).

    Addresses problems reported by tedu.

    ok millert


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/sys/ttydefaults.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index