Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3302bb26ec9dbcb2b6670570972d2204c33c75584abe9f3961d9232e0c1c2939
Ticket: e67618079ff8e8c6b3b4c92fd9b59fb0cf117595
Win rdp forwarded serial port: setting -sysbuffer gives "can't setup comm buffers: invalid argument"
User & Date: oehhar on 2020-04-22 13:39:55
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    A Windows 10 computer screen is forewarded to a ThinClient (Linux) via rdp protocoll.
    A physical serial port on the Thin Client is forewarded to the WIndows 10 computer by the same rdp connection.
    Wish8.6.10 is started on the Windows computer:
    
    <verbatim>
    % set h [open COM2 RDWR]
    file3903678
    % fconfigure $h -mode 19200,n,8,1 -buffering full -blocking 0 -translation binary
    % fconfigure $h -sysbuffer 32768
    can't setup comm buffers: invalid argument
    % fconfigure $h
    -blocking 0 -buffering full -buffersize 32768 -encoding binary -eofchar {{} {}}\
    -translation {lf lf} -mode 19200,n,8,1 -pollinterval 10 -sysbuffer {4096 4096} -xchar { }
    % fconfigure $h -sysbuffer 4096
    can't set comm state: no such device
    </verbatim>
    
    Setting the option "-sysbuffer" for the forewarded serial port causes different error messages:
    
       *   32768:   "can't setup comm buffers: invalid argument".
       *   4096 (the default value): "can't set comm state: no such device"
    
    Thank you all,
    Harald
    
  5. foundin changed to: "8.6.10"
  6. is_private changed to: "0"
  7. login: "oehhar"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "oehhar"
  14. subsystem changed to: "27. Channel Types"
  15. title changed to:
    Win rdp forwarded serial port: setting -sysbuffer gives "can't setup comm buffers: invalid argument"
    
  16. type changed to: "Bug"