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