From c0d1ace6291ef9e437069d71183962d3c3a0fd4e Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 13 Aug 2018 01:16:56 -0700 Subject: [PATCH] GUACAMOLE-610: Add SSH/telnet parameter definitions for maximum scrollback size. --- .../main/resources/org/apache/guacamole/protocols/ssh.json | 4 ++++ .../main/resources/org/apache/guacamole/protocols/telnet.json | 4 ++++ guacamole/src/main/webapp/translations/en.json | 2 ++ 3 files changed, 10 insertions(+) diff --git a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/ssh.json b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/ssh.json index a16648f6d..8eef7747c 100644 --- a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/ssh.json +++ b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/ssh.json @@ -59,6 +59,10 @@ "type" : "ENUM", "options" : [ "", "8", "9", "10", "11", "12", "14", "18", "24", "30", "36", "48", "60", "72", "96" ] }, + { + "name" : "scrollback", + "type" : "NUMERIC" + }, { "name" : "read-only", "type" : "BOOLEAN", diff --git a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/telnet.json b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/telnet.json index 42d5be018..9b39168c8 100644 --- a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/telnet.json +++ b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/telnet.json @@ -63,6 +63,10 @@ "type" : "ENUM", "options" : [ "", "8", "9", "10", "11", "12", "14", "18", "24", "30", "36", "48", "60", "72", "96" ] }, + { + "name" : "scrollback", + "type" : "NUMERIC" + }, { "name" : "read-only", "type" : "BOOLEAN", diff --git a/guacamole/src/main/webapp/translations/en.json b/guacamole/src/main/webapp/translations/en.json index 2123de01f..9ec432eb9 100644 --- a/guacamole/src/main/webapp/translations/en.json +++ b/guacamole/src/main/webapp/translations/en.json @@ -499,6 +499,7 @@ "FIELD_HEADER_PASSPHRASE" : "Passphrase:", "FIELD_HEADER_PORT" : "Port:", "FIELD_HEADER_PRIVATE_KEY" : "Private key:", + "FIELD_HEADER_SCROLLBACK" : "Maximum scrollback size:", "FIELD_HEADER_READ_ONLY" : "Read-only:", "FIELD_HEADER_RECORDING_EXCLUDE_MOUSE" : "Exclude mouse:", "FIELD_HEADER_RECORDING_EXCLUDE_OUTPUT" : "Exclude graphics/streams:", @@ -581,6 +582,7 @@ "FIELD_HEADER_RECORDING_INCLUDE_KEYS" : "Include key events:", "FIELD_HEADER_RECORDING_NAME" : "Recording name:", "FIELD_HEADER_RECORDING_PATH" : "Recording path:", + "FIELD_HEADER_SCROLLBACK" : "Maximum scrollback size:", "FIELD_HEADER_TERMINAL_TYPE" : "Terminal type:", "FIELD_HEADER_TYPESCRIPT_NAME" : "Typescript name:", "FIELD_HEADER_TYPESCRIPT_PATH" : "Typescript path:",