• PUTTY: display wrong tty name (Release 0.67)

    From Alamy Liu@21:1/5 to All on Fri Jun 9 17:11:15 2017
    System: Linux
    device: /dev/ttyUSB2
    Version: putty-0.69.tar.gz

    Reproduce
    1) Create a putty session using /dev/ttyUSB2
    - Serial line: /dev/ttyUSB2
    - Connection type: Serial
    - Saved sessions: ttyUSB2

    2) Make sure the device (/dev/ttyUSB2) is not available in system
    - ls /dev/ttyUSB*

    3) Lunch putty
    - $ putty -load ttyUSB2

    *** The error message says "Unable to open connection to /dev/ttyUSB0" ***


    Fixing
    Change CONF_host to CONF_serline in the error message display block (~line 4277)

    <src>/unix/gtkwin.c::start_backend()
    if (error) {
    char *msg = dupprintf("Unable to open connection to %s:\n%s",
    conf_get_str(inst->conf, CONF_serline), error);
    inst->exited = TRUE;
    fatal_message_box(inst->window, msg);
    sfree(msg);
    exit(0);
    }

    *** Now it shows /dev/ttyUSB2 ***


    * I didn't find your GIT repository, or I would have sent a patch.

    Regards,
    Alamy

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kaz Kylheku@21:1/5 to Alamy Liu on Sat Jun 10 03:36:43 2017
    On 2017-06-10, Alamy Liu <alamy.liu@gmail.com> wrote:
    System: Linux
    device: /dev/ttyUSB2
    Version: putty-0.69.tar.gz

    Yo.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)