summaryrefslogtreecommitdiff
path: root/src/shared/cap-list.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-07 23:02:08 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-07 23:44:08 +0100
commit3c4230a5afb27faec2176d4642c0e2e145971b5c (patch)
tree26a2d91f9d83661385be661106e96c9ff412012e /src/shared/cap-list.h
parent2efe2438fd65ddda79551f97bf85160e520d52d8 (diff)
util: upgrade default $TERM from vt102 to vt220 if we have no idea about the connected terminal
So far, if we had no knowledge about the correct $TERM we defaulted to v102, as a safe, conservative choice. However, the terminfo data for vt102 is not aware of pageup/pagedown, which makes "less" much harder work with than necessary. Setting vt220 allows them to work correctly. "vt220" should be a sufficiently safe choice too, given that xterm, gnome-terminal and the linux console all strive to implement vt220 as baseline, already to pass pageup/pagedown correctly to apps. Effectively, with this change "journalctl -e" run inside a "systemd-nspawn" terminal will now run a pager where pageup/pagedown works, which is quite an improvement of usability for containers.
Diffstat (limited to 'src/shared/cap-list.h')
0 files changed, 0 insertions, 0 deletions