2 thoughts on “PuTTY-url 0.62”

  1. I was just wondering if you had considered porting the URL support to Unix as well? I’m currently trying to find a Unix terminal emulator that will support clickable URLs without having to do a ctrl-left click (which everything seems to use, and is difficult for me to regularly use with my disability when I’m using the touchpad instead of an external mouse).

    PuTTY compiles under Unix, but your patch does not– for example, it uses MAX_PATH (which is a Windows-specific definition) in putty.h, so even trying to compile the Unix binary with your patch enabled does not work. Although obviously even if it did, the regex parsing would be missing in the Unix binary.

    Thanks for any help you might be able to provide, I appreciate it.

  2. I have no plans on making the patch work on linux/unix as well.

    If one were to do that, however, one would have to replace any windows specific code (e.g. MAX_PATH that you mentioned), make sure the regex parsing code is included into the unix specific code, add UI code corresponding to what is added in windows/{wincfg,window}.c, and replace ShellExecute with an appropriate URL launcher (e.g. executing xdg-open).

    My guess is that it would be easier to modify the terminal you’re currently using to open links on left click instead of ctrl+left click, though.

Comments are closed.