1. untar the distribution and cd to the top:% gzip -d -c tkapg-x.x.xx.tar.gz | tar xf -
% cd tkapg-x.x.xx
2. edit file ./tkapg
a. Modify the 3rd string of this file. Originaly it looks like this:exec wish "$0" "$@"
replace word 'wish' with the path to Your wish program.For CYGWIN it will be 'cygwish80'.
For Solaris it will be 'wish'.
For FreeBSD it will be 'wish8.2' or other if you use different version of Tcl/Tk
b. Find the string 'set APGPATH "/usr/local/bin/apg"' and modify it with the real path to 'apg' (/usr/local/bin/apg - is the default location).For CYGWIN I used just 'apg.exe' instead of full path.
c. Find the string 'set APGCLIENTPATH "./apgcli.pl"' and modify it with the real path to 'apgcli.pl' (apgcli.pl - is the perl client for 'apgd'. It included in APG source distribution and in TkAPG source distribution). Also You can set this string to 'set APGCLIENTPATH "telnet your.apgd.host 129"', but i recommend to use 'apgcli.pl' because 'telnet' gives some additional useless output. (NOTE: apgcli.pl - must be configured properly, see sources of apgcli.pl).
NOTE: When you use network password generation ALL SPECIFED OPTIONS ARE IGNORED. Only server administrator can change options for password generation.
3. Copy file ./tkapg to the destination you choose.% cp ./tkapg /your/destination
4. Start X Windows and than run TkAPG