You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by darchons <gi...@git.apache.org> on 2018/05/16 16:01:15 UTC

[GitHub] guacamole-client pull request #288: GUACAMOLE-565: Add terminal-type paramet...

GitHub user darchons opened a pull request:

    https://github.com/apache/guacamole-client/pull/288

    GUACAMOLE-565: Add terminal-type parameter for SSH and Telnet.

    Add the new terminal-type parameter (apache/guacamole-server#167) to the protocol JSON files.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/darchons/guacamole-client guac-565-add-terminal-type-parameter

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/guacamole-client/pull/288.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #288
    
----
commit 8ba43a6c57bcefc89fe3f28e1abafc4fe146b500
Author: Jim Chen <nc...@...>
Date:   2018-05-16T15:57:31Z

    GUACAMOLE-565: Add terminal-type parameter for SSH and Telnet.
    
    Add the new terminal-type parameter to the protocol JSON files.

----


---

[GitHub] guacamole-client pull request #288: GUACAMOLE-565: Add terminal-type paramet...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/guacamole-client/pull/288


---

[GitHub] guacamole-client pull request #288: GUACAMOLE-565: Add terminal-type paramet...

Posted by mike-jumper <gi...@git.apache.org>.
Github user mike-jumper commented on a diff in the pull request:

    https://github.com/apache/guacamole-client/pull/288#discussion_r191080827
  
    --- Diff: guacamole-ext/src/main/resources/org/apache/guacamole/protocols/ssh.json ---
    @@ -83,6 +83,11 @@
                         "name"    : "backspace",
                         "type"    : "ENUM",
                         "options" : [ "", "127", "8" ]
    +                },
    +                {
    +                    "name"  : "terminal-type",
    +                    "type"    : "ENUM",
    +                    "options" : [ "xterm", "xterm-256color", "vt220", "vt100", "ansi", "linux" ]
    --- End diff --
    
    As long as they're not the default (the server-side terminal emulator still uses "linux" if this parameter is omitted), it's probably OK. In fact, recent changes adding xterm-specific terminal codes will not have any effect unless "xterm" or "xterm-256color" are used.
    
    I'm personally OK with this as long as it's documented in the manual that xterm and xterm-256color are not fully supported yet.


---

[GitHub] guacamole-client pull request #288: GUACAMOLE-565: Add terminal-type paramet...

Posted by necouchman <gi...@git.apache.org>.
Github user necouchman commented on a diff in the pull request:

    https://github.com/apache/guacamole-client/pull/288#discussion_r191073017
  
    --- Diff: guacamole-ext/src/main/resources/org/apache/guacamole/protocols/telnet.json ---
    @@ -66,6 +66,11 @@
                         "name"    : "backspace",
                         "type"    : "ENUM",
                         "options" : [ "", "127", "8" ]
    +                },
    +                {
    +                    "name"  : "terminal-type",
    +                    "type"    : "ENUM",
    +                    "options" : [ "xterm", "xterm-256color", "vt220", "vt100", "ansi", "linux" ]
    --- End diff --
    
    As above - not sure about whether xterm should be supported, yet, but others look good.


---

[GitHub] guacamole-client pull request #288: GUACAMOLE-565: Add terminal-type paramet...

Posted by necouchman <gi...@git.apache.org>.
Github user necouchman commented on a diff in the pull request:

    https://github.com/apache/guacamole-client/pull/288#discussion_r191073000
  
    --- Diff: guacamole-ext/src/main/resources/org/apache/guacamole/protocols/ssh.json ---
    @@ -83,6 +83,11 @@
                         "name"    : "backspace",
                         "type"    : "ENUM",
                         "options" : [ "", "127", "8" ]
    +                },
    +                {
    +                    "name"  : "terminal-type",
    +                    "type"    : "ENUM",
    +                    "options" : [ "xterm", "xterm-256color", "vt220", "vt100", "ansi", "linux" ]
    --- End diff --
    
    @mike-jumper can comment more on this, but I'm not sure that `xterm` and `xterm-256color` should be included in this list, yet.  There's a JIRA issue, 277 [1] , that deals with providing xterm compatibility, and it isn't completed, yet, AFAIK.  The other values should be fine, and I'm not sure if there are more we can add to the list.
    
    [1] - https://issues.apache.org/jira/browse/GUACAMOLE-277


---