From e3847e2e7674ae853d1ef0240ab5534a039dc677 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Sat, 16 Feb 2019 08:57:39 +0000 Subject: [PATCH] Add some basic GNU Screen config values to allow mouse scrolling of the buffer --- .ansible/roles/desktop/files/screen/.screenrc | 2 ++ .ansible/roles/desktop/tasks/common/screen.yaml | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 .ansible/roles/desktop/files/screen/.screenrc create mode 100644 .ansible/roles/desktop/tasks/common/screen.yaml diff --git a/.ansible/roles/desktop/files/screen/.screenrc b/.ansible/roles/desktop/files/screen/.screenrc new file mode 100644 index 0000000..589c8d7 --- /dev/null +++ b/.ansible/roles/desktop/files/screen/.screenrc @@ -0,0 +1,2 @@ +defscrollback 5000 +termcapinfo xterm* ti@:te@ diff --git a/.ansible/roles/desktop/tasks/common/screen.yaml b/.ansible/roles/desktop/tasks/common/screen.yaml new file mode 100644 index 0000000..a1d5fe8 --- /dev/null +++ b/.ansible/roles/desktop/tasks/common/screen.yaml @@ -0,0 +1,8 @@ +- name: 'Screen: Basic config' + tags: + - config + - screen + copy: + src: 'screen/.screenrc' + dest: '~' + mode: '0600'