You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Bradley Bennett (Jira)" <ji...@apache.org> on 2026/03/05 14:51:00 UTC

[jira] [Comment Edited] (GUACAMOLE-2237) Pasting multiline text via browser menu produces single line in SSH/Telnet/RDP

    [ https://issues.apache.org/jira/browse/GUACAMOLE-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18063237#comment-18063237 ] 

Bradley Bennett edited comment on GUACAMOLE-2237 at 3/5/26 2:50 PM:
--------------------------------------------------------------------

Actually, that's a separate issue: the backslash is not being processed correctly.

I'll look into further later & file a more detailed Jira for this issue.


was (Author: JIRAUSER311824):
Actually, that's a separate issue: the backslash is not being processed correctly.

> Pasting multiline text via browser menu produces single line in SSH/Telnet/RDP 
> -------------------------------------------------------------------------------
>
>                 Key: GUACAMOLE-2237
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-2237
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacd
>    Affects Versions: 1.6.0, 1.6.1
>         Environment: Linux, macOS, Windows
>            Reporter: Bradley Bennett
>            Priority: Minor
>
> Pasting:
> {code:java}
> line1
> line2{code}
> Is translated to:
> {code:java}
> line1line2
> {code}
> or
> {code:java}
> line1Jline2J{code}
> There are 3 separate issues:
>  * {*}SSH/Telnet (browser paste){*}: Guacamole normalizes line endings to LF and types them 0xFF0A. The terminal handler sends this as 0x0A, which works on Linux/macOS but is ignored by Windows SSH.
>  * {*}RDP (browser paste){*}: Similarly, Guacamole sends 0xFF0A but RDP has no scan code for LF so it falls through to UnicodeKeyboardEvent(), which maps it to 'J'.
>  * {*}SSH/Telnet (right-click and Ctrl+Shift+V paste){*}: Clipboard bytes are sent directly to stdin. Keyboard emulation CRLF and LF to \n, which Windows SSH ignores.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)