Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-265

Support OSC 0 for changing SSH/telnet window title

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Trivial
    • Resolution: Done
    • None
    • 0.9.13-incubating
    • SSH, Telnet, Terminal
    • None

    Description

      The easiest way to test this is to manually change the window's title. For example, the following command works to change the window's title when using gnome-terminal:

      $ PROMPT_COMMAND='echo -ne "\033]0;SOME TITLE HERE\007"'
      $ 
      $ 
      

      When this same command is run through Guacamole, part of the new title is printed inline on every line (everything save for the first alphabetical character), and resembles artifacting:

      $ PROMPT_COMMAND='echo -ne "\033]0;SOME TITLE HERE\007"'
      OME TITLE HERE $ 
      OME TITLE HERE $ 
      

      ...NB: if you run this same command inside gnu screen, the output is slightly different (note the subsequent command prompts lack the same title artifacting)

      $ PROMPT_COMMAND='echo -ne "\033]0;SOME TITLE HERE\007"'
      OME TITLE HERE $ 
      $ 
      

      ...furthermore, if you detach and reattach to the same gnu screen, the artifacting is gone.

      Attachments

        Issue Links

          Activity

            People

              mjumper Mike Jumper
              Metuchen Mark Tomich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: