Skip to content
Tcl Source Code History Of Ticket e67618079f
Login

History Of Ticket e67618079f

Artifacts Associated With Ticket e67618079f

  1. Ticket change [3302bb26ec] (rid 182234) by oehhar on 2020-04-22 13:39:55:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized 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 initialized to: "8.6.10"
    6. is_private initialized to: "0"
    7. login: "oehhar"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "oehhar"
    14. subsystem initialized to: "27. Channel Types"
    15. title initialized to:
      Win rdp forwarded serial port: setting -sysbuffer gives "can't setup comm buffers: invalid argument"
      
    16. type initialized to: "Bug"
  2. Ticket change [29206a03a7] (rid 182237) by jan.nijtmans on 2020-04-22 14:14:17:

    1. assignee changed to: "jan.nijtmans"
    2. icomment:
      Please try: [8b444e9115ef688c]
      
      According to Microsoft's documentation, SetCommState() has some restrictions. This might help, but I cannot test it.
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
  3. Ticket change [3ce3cf76ec] (rid 182238) by oehhar on 2020-04-22 14:27:38:

    1. icomment:
      Light speed, will test.
      
      To add, the option "-handshake" also fails in this situation.
      All other options are ok.
      
      Thank you,
      Harald
      
    2. login: "oehhar"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "oehhar"
  4. Ticket change [5e05a9da82] (rid 182239) by oehhar on 2020-04-22 14:37:36:

    1. icomment:
      Sorry, but it is still the same error.
      
      Thank you,
      Harald
      
    2. login: "oehhar"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "oehhar"