PuTTY-url

PuTTY-url is a patch for PuTTY that provides support for clickable URLs.

  • Hilights and makes URLs clickable (launches in default or specified application)
  • Uses ShellExecute, meaning support for arbitrary protocols (e.g. Spotify) with an appropriate regexp
  • Sets default font to Consolas and enables ClearType if using Windows Vista or later
  • Written in plain C (unlike most other patches providing this functionality)
  • Shinier icons (originally from PuTTY Tray)
File Description
putty.exe (32 bit), putty.exe (64 bit) PuTTY-url based on PuTTY 0.70
putty-url-0.70.patch Patch for PuTTY 0.70
putty-url-icons.tar.gz Icon package.
putty-url-0.69.patch Patch for PuTTY 0.69
putty-url-0.68.patch Patch for PuTTY 0.68
putty-url-0.67-r1.patch Patch for PuTTY 0.67, revision 1.
putty-url-0.67.patch Patch for PuTTY 0.67.
putty-url-0.66-r1.patch Patch for PuTTY 0.66, revision 1.
putty-url-0.66.patch Patch for PuTTY 0.66
putty-url-0.65.patch Patch for PuTTY 0.65
putty-url-0.64.patch Patch for PuTTY 0.64
putty-url-0.63-r1.patch Patch for PuTTY 0.63, revision 1.
putty-url-0.63.patch Patch for PuTTY 0.63
putty-url-0.62.patch Patch for PuTTY 0.62
putty-tobbez-0.61-r1.patch Updated patch for PuTTY 0.61 with some bug fixes.
putty-tobbez-0.61.patch First release of the patch for PuTTY 0.61.

2017-09-03

New binaries for 0.70. The old binaries were subtly broken, and wouldn't start on certain machines. The cause seems to be bug with the new toolchain (newer GCC and MinGW-w64 instead of MinGW).

Starting today, binaries are instead built using clang-cl, the same compiler used by upstream PuTTY.

2017-07-09

PuTTY-url based on PuTTY 0.70 released.

2017-04-30

PuTTY-url based on PuTTY 0.69 released.

2017-02-21

PuTTY-url based on PuTTY 0.68 released.

2017-02-06

Revision 1 of patch for PuTTY 0.67 released. This version adds 64-bit builds. In addition, the default regular expression for matching URLs has changed from:

(((https?|ftp):\/\/)|www\.)(([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)|localhost|([a-zA-Z0-9\-]+\.)*[a-zA-Z0-9\-]+\.(com|net|org|info|biz|gov|name|edu|[a-zA-Z][a-zA-Z]))(:[0-9]+)?((\/|\?)[^ "]*[^ ,;\.:">)])?
to:
((https?|ftp)://|www\.).(([^ ]*\([^ ]*\))([^ ()]*[^ ,;.:"')>])?|([^ ()]*[^ ,;.:"')>]))

2016-10-17

PuTTY-url based on PuTTY 0.67 released.

2016-02-21

Revision 1 of patch for 0.66 released. Fixes an issue where unicode characters would prevent URL detection from working.

2015-11-09

PuTTY-url based on PuTTY 0.66 released.

2015-09-12

PuTTY-url based on PuTTY 0.65 released.

2015-06-23

PuTTY-url based on PuTTY 0.64 released.

2013-12-04

Revision 1 of patch for 0.63 released. Fixes an issue where specifying a non-default browser would not work.

2013-08-08

PuTTY-url based on PuTTY 0.63 released.

2011-12-17

This page went live with a patch for PuTTY 0.62.

2011-07-25

Revision 1 of patch for 0.61 including a fix for a crash the patch introduced.

2011-07-14

The first version for PuTTY 0.61 was released on my blog.

This patch was created when PuTTY 0.61 was released, since PuTTY Tray was no longer being developed. When that happened I decided to port the functionality I was interested in to the new version, and in the process I also rewrote the C++ parts in C.

The URL handling code from PuTTY Tray originally came from Nutty.

  1. Download the PuTTY source, the icons and the patch
  2. Unpack the source, the icons, and apply the patch: tar xzf putty-*.tar.gz; cd putty-$VERSION; tar xzf ../putty-url-icons.tar.gz; patch -p1 < ../putty-url-*.patch
  3. Generate build files: ./mkfiles.pl
  4. Export the TOOLPATH variable so that the variables CC and RC in windows/Makefile.mgw point to your tools (e.g. export TOOLPATH="i686-mingw32-")
  5. Build it: cd windows; make -f Makefile.mgw.
  6. The created executable (putty.exe) can be found in the windows/ subdirectory of the source directory.