Note as of 26th October 2017

Please note that this post is now out of date. You should use these fantastic PuTTY scripts instead as they provide much more complete functionality.

The following steps can be used to add Jaws support for PuTTY.

I’m really not sure why Freedomcientific have not added this support already considering it’s so easy to do it.

  1. start PuTTY.
  2. Start the Jaws script manager. This can be done by pressing the insert and 0 key combination.
  3. Paste the following text into the script:


    Include "HjGlobal.jsh" ; default HJ global variables
    Include "hjconst.jsh" ; default HJ constants

    Void Function SayNonHighlightedText (handle hwnd, string buffer)
    var
    string TheClass
    let TheClass=GetWindowClass(hWnd)
    If GetScreenEcho () > ECHO_NONE ; Screen echo is on,
    && GetWindowsOS() == OS_WIN_NT Then ; operating system isn't 95/98/ME.
    If (TheClass == "PuTTY") then
    Say (buffer, OT_NONHIGHLIGHTED_SCREEN_TEXT);
    Return
    endIf
    endIf
    if (GetScreenEcho() > 1) then
    Say (buffer, OT_NONHIGHLIGHTED_SCREEN_TEXT)
    endIf
    EndFunction

  4. Now save the file by pressing control and s. YOu will hear jaws say compile complete or something similar.
  5. close the script manager using alt F4 or your prefered method and return to the Putty window. You will now find that jaws speaks new text as it is written to the screen.

I hadn’t remembered until after I wrote these instructions that I had written a blog post about getting the most from PuTTY before. If you want to learn more about how to get a lot out of SSH access, read Jump starting Putty