summaryrefslogtreecommitdiff
path: root/usr.bin/grep
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-04-20 13:25:37 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-04-20 13:25:37 +0000
commitb6ebde8d3afae589199e27016f4c8f060b8ca07f (patch)
tree55be890209be007f860dc9deb2302ae671b54a21 /usr.bin/grep
parent3e52d29d3db263b73e601c30a30d8e687795cce9 (diff)
Tidy up the terminal detection and feature code and add named sets of
terminal features, each of which are defined in one place and map to a builtin set of terminfo(5) capabilities. Features can be specified based on TERM with a new terminal-features option or with the -T flag when running tmux. tmux will also detect a few common terminals from the DA and DSR responses. This is intended to make it easier to configure tmux's use of terminfo(5) even in the presence of outdated ncurses(3) or terminfo(5) databases or for features which do not yet have a terminfo(5) entry. Instead of having to grok terminfo(5) capability names and what they should be set to in the terminal-overrides option, the user can hopefully just give tmux a feature name and let it do the right thing. The terminal-overrides option remains both for backwards compatibility and to allow tweaks of individual capabilities. tmux already did much of this already, this makes it tidier and simpler to configure.
Diffstat (limited to 'usr.bin/grep')
0 files changed, 0 insertions, 0 deletions