From b7657cfeb3694b10376baaa0ca1d1a420fcf172d Mon Sep 17 00:00:00 2001 From: t0thkr1s Date: Fri, 10 Jan 2020 13:01:32 +0100 Subject: [PATCH] add data for screen --- data/screen.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 data/screen.json diff --git a/data/screen.json b/data/screen.json new file mode 100644 index 0000000..7a7feaa --- /dev/null +++ b/data/screen.json @@ -0,0 +1,24 @@ +{ + "functions": { + "shell": [ + { + "code": "screen" + } + ], + "file-write": [ + { + "description": "This works on screen version 4.06.02. Data is appended to the file and '\\n' is converted to '\\r\\n'.", + "code": "screen -L -Logfile [file] echo DATA\n" + }, + { + "description": "This works on screen version 4.05.00. Data is appended to the file and '\\n' is converted to '\\r\\n'.", + "code": "screen -L [file] echo DATA\n" + } + ], + "sudo": [ + { + "code": "sudo screen" + } + ] + } +} \ No newline at end of file