summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2011-04-27 16:24:42 (UTC)
committer Michael Krelin <hacker@klever.net>2011-04-27 16:24:42 (UTC)
commit6e7e413ca364d79673e523c09767c18e7cff1bec (patch) (unidiff)
tree5b2b0e9131a27043573107bf42d8ca7641ba511a
parentc3b240e06bae3b663505e2b1c52eb67c34ddd3ea (diff)
downloadpumpkin-6e7e413ca364d79673e523c09767c18e7cff1bec.zip
pumpkin-6e7e413ca364d79673e523c09767c18e7cff1bec.tar.gz
pumpkin-6e7e413ca364d79673e523c09767c18e7cff1bec.tar.bz2
bumped dates and versions, updated newsHEAD2.7.3master
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--help/pumpkin.xml6
-rw-r--r--install/install.cpp2
-rw-r--r--install/install.rc10
-rwxr-xr-xpumpkin.rc14
4 files changed, 18 insertions, 14 deletions
diff --git a/help/pumpkin.xml b/help/pumpkin.xml
index 153219a..486ac82 100644
--- a/help/pumpkin.xml
+++ b/help/pumpkin.xml
@@ -1,116 +1,120 @@
1<?xml version="1.0"?> 1<?xml version="1.0"?>
2<winhelp> 2<winhelp>
3 <topic id="About" title="About PumpKIN" keywords="about"> 3 <topic id="About" title="About PumpKIN" keywords="about">
4 <heading scroll="no">About <kin>PumpKIN</kin></heading> 4 <heading scroll="no">About <kin>PumpKIN</kin></heading>
5 <p><kin>PumpKIN</kin> is a program designed to send and receive files over the net while having <kin href="http://kin.klever.net/T42/">T42</kin> or <product>Wintalk</product> session running using <term>TFTP</term> (<rfc num="1350"/>) protocol. It includes full-functional <term>TFTP</term> server/client so it may be useful for maintaining <a href="http://www.cisco.com/">CISCO</a> routers and other network equipment.</p> 5 <p><kin>PumpKIN</kin> is a program designed to send and receive files over the net while having <kin href="http://kin.klever.net/T42/">T42</kin> or <product>Wintalk</product> session running using <term>TFTP</term> (<rfc num="1350"/>) protocol. It includes full-functional <term>TFTP</term> server/client so it may be useful for maintaining <a href="http://www.cisco.com/">CISCO</a> routers and other network equipment.</p>
6 <p/> 6 <p/>
7 <p><b><i>Enjoy!</i></b></p> 7 <p><b><i>Enjoy!</i></b></p>
8 <license years="1997-2006"/> 8 <license years="1997-2011"/>
9 <credist/> 9 <credist/>
10 </topic> 10 </topic>
11 <topic id="News" title="What's New"> 11 <topic id="News" title="What's New">
12 <newsfor version="2.7.3" date="Apr 27th, 2011">
13 <ni>Added configuration option to bind to specific ip address</ni>
14 <ni>Fixed a minor bug that lead to misdiagnosis of the packet from unexpected source</ni>
15 </newsfor>
12 <newsfor version="2.7.2" date="October 18th, 2006"> 16 <newsfor version="2.7.2" date="October 18th, 2006">
13 <ni>Added rejecting of too large file requests with explicit error message about the block size</ni> 17 <ni>Added rejecting of too large file requests with explicit error message about the block size</ni>
14 <ni>A bit more elaborate logging</ni> 18 <ni>A bit more elaborate logging</ni>
15 <ni>Not closing receive socket until the last ACK receved now</ni> 19 <ni>Not closing receive socket until the last ACK receved now</ni>
16 </newsfor> 20 </newsfor>
17 <newsfor version="2.7.1" date="March 13th, 2006"> 21 <newsfor version="2.7.1" date="March 13th, 2006">
18 <ni>Bugfix release</ni> 22 <ni>Bugfix release</ni>
19 </newsfor> 23 </newsfor>
20 <newsfor version="2.7" date="February 28th, 2006"> 24 <newsfor version="2.7" date="February 28th, 2006">
21 <ni>Access lists based on request IP address and TFTP opcode for automating access policy</ni> 25 <ni>Access lists based on request IP address and TFTP opcode for automating access policy</ni>
22 <ni>Possibility to start/stop TFTP server, while keeping client functionality intact</ni> 26 <ni>Possibility to start/stop TFTP server, while keeping client functionality intact</ni>
23 <ni>Logging to file</ni> 27 <ni>Logging to file</ni>
24 <ni>Resizable main window</ni> 28 <ni>Resizable main window</ni>
25 </newsfor> 29 </newsfor>
26 <newsfor version="2.6" date="August 6th, 2005"> 30 <newsfor version="2.6" date="August 6th, 2005">
27 <ni>more robust solution to the backslash/slash dilemma</ni> 31 <ni>more robust solution to the backslash/slash dilemma</ni>
28 <ni>A bit more elaborate error reporting</ni> 32 <ni>A bit more elaborate error reporting</ni>
29 <ni>Fixed uninstall procedure so that it works on XP</ni> 33 <ni>Fixed uninstall procedure so that it works on XP</ni>
30 </newsfor> 34 </newsfor>
31 <newsfor version="2.5" date="July 11th, 2004"> 35 <newsfor version="2.5" date="July 11th, 2004">
32 <ni>Change of <a href="#About">license</a> and opening the source.</ni> 36 <ni>Change of <a href="#About">license</a> and opening the source.</ni>
33 <ni>Minor cosmetic changes</ni> 37 <ni>Minor cosmetic changes</ni>
34 </newsfor> 38 </newsfor>
35 <newsfor version="2.0" date="June 13th, 1998"> 39 <newsfor version="2.0" date="June 13th, 1998">
36 <ni>Sounds customization. Now you can customize <kin>PumpKIN</kin> bells and whistles or turn them off completely.</ni> 40 <ni>Sounds customization. Now you can customize <kin>PumpKIN</kin> bells and whistles or turn them off completely.</ni>
37 <ni>Previous version of <kin>PumpKIN</kin> had a bug causing it to misbehave when you're requesting file from remote <term>tftp</term> server using <b>IP Address</b> (as opposed to <b>hostname</b>).</ni> 41 <ni>Previous version of <kin>PumpKIN</kin> had a bug causing it to misbehave when you're requesting file from remote <term>tftp</term> server using <b>IP Address</b> (as opposed to <b>hostname</b>).</ni>
38 <ni>Typo causing <kin>PumpKIN</kin> to log outgoing request in reverse (i.e. <i>Requesting 'hostname' from 'filename'</i>) fixed.</ni> 42 <ni>Typo causing <kin>PumpKIN</kin> to log outgoing request in reverse (i.e. <i>Requesting 'hostname' from 'filename'</i>) fixed.</ni>
39 <ni>Something else that you may not notice and I can not remember.</ni> 43 <ni>Something else that you may not notice and I can not remember.</ni>
40 </newsfor> 44 </newsfor>
41 <newsfor version="1.5" date="February 12th, 1998"> 45 <newsfor version="1.5" date="February 12th, 1998">
42 <ni>Transfer resumes. No checking on file contents is done, so it's up to you to decide whether you want to start transmission from the beginning or resume unfinished transfer.</ni> 46 <ni>Transfer resumes. No checking on file contents is done, so it's up to you to decide whether you want to start transmission from the beginning or resume unfinished transfer.</ni>
43 <ni>Support for <b>block size</b>, <b>trasnfer size</b> and <b>transfer timeout</b> options as described in <rfc num="1782"/>, <rfc num="1783"/> and <rfc num="1784"/>. I'm not sure if there are any other <term>TFTP</term> implementations supporting this, but at least it makes sense if you use <kin>PumpKIN</kin> on both ends.</ni> 47 <ni>Support for <b>block size</b>, <b>trasnfer size</b> and <b>transfer timeout</b> options as described in <rfc num="1782"/>, <rfc num="1783"/> and <rfc num="1784"/>. I'm not sure if there are any other <term>TFTP</term> implementations supporting this, but at least it makes sense if you use <kin>PumpKIN</kin> on both ends.</ni>
44 <ni>New Install program</ni> 48 <ni>New Install program</ni>
45 </newsfor> 49 </newsfor>
46 </topic> 50 </topic>
47 <topic id="Using" title="Using PumpKIN"> 51 <topic id="Using" title="Using PumpKIN">
48 <heading scroll="no">Using <kin>PumpKIN</kin></heading> 52 <heading scroll="no">Using <kin>PumpKIN</kin></heading>
49 <p>This is a simple program for file exchange between two parties. It allows you to send files over the network to your party while having a <kin href="http://kin.klever.net/T42/">T42</kin> or <product>Wintalk</product> conversation. It uses open sessions to determine IP address of your party. Also you may use it as a <term>TFTP</term> client/server by itself. To get/put files from/to <term>TFTP</term> server you need to enter host name/IP address manually in the <a href="#Request">Request Dialog</a>.</p> 53 <p>This is a simple program for file exchange between two parties. It allows you to send files over the network to your party while having a <kin href="http://kin.klever.net/T42/">T42</kin> or <product>Wintalk</product> conversation. It uses open sessions to determine IP address of your party. Also you may use it as a <term>TFTP</term> client/server by itself. To get/put files from/to <term>TFTP</term> server you need to enter host name/IP address manually in the <a href="#Request">Request Dialog</a>.</p>
50 <p>To Abort transfer(s) currently in progress - select transfer(s) you want to terminate in the list and click <b>Abort xfer</b> button.</p> 54 <p>To Abort transfer(s) currently in progress - select transfer(s) you want to terminate in the list and click <b>Abort xfer</b> button.</p>
51 <p>You may want to hide <kin>PumpKIN</kin> window and leave it as a tray icon only. Just click the <image source="pumpkin.bmp"/> icon in the tray or simply close the window.</p> 55 <p>You may want to hide <kin>PumpKIN</kin> window and leave it as a tray icon only. Just click the <image source="pumpkin.bmp"/> icon in the tray or simply close the window.</p>
52 <p>Use <a href="#Options">Options</a> button to set <kin>PumpKIN</kin> options.</p> 56 <p>Use <a href="#Options">Options</a> button to set <kin>PumpKIN</kin> options.</p>
53 <p>You can start and stop <kin>PumpKIN</kin>'s <term>TFTP</term> server by checking and unchecking the <b>Server is running</b> checkbox in the lower right corner of main <kin>PumpKIN</kin> window.</p> 57 <p>You can start and stop <kin>PumpKIN</kin>'s <term>TFTP</term> server by checking and unchecking the <b>Server is running</b> checkbox in the lower right corner of main <kin>PumpKIN</kin> window.</p>
54 </topic> 58 </topic>
55 <topic id="ConfirmRRQ" title="Confirm Read Request Dialog"> 59 <topic id="ConfirmRRQ" title="Confirm Read Request Dialog">
56 <heading scroll="no">Confirm Read Request Dialog</heading> 60 <heading scroll="no">Confirm Read Request Dialog</heading>
57 <p>When the file is requested from your <term>TFTP</term> server you may choose to <b>Grant Access</b> to this file or to <b>Deny Access</b>. If you hesitate to answer for <a href="#ConfirmationTimeout"><b>Confirmation timeout</b></a> (<i>default - 30 seconds</i>) <kin>PumpKIN</kin> defaults to denial of all requests.</p> 61 <p>When the file is requested from your <term>TFTP</term> server you may choose to <b>Grant Access</b> to this file or to <b>Deny Access</b>. If you hesitate to answer for <a href="#ConfirmationTimeout"><b>Confirmation timeout</b></a> (<i>default - 30 seconds</i>) <kin>PumpKIN</kin> defaults to denial of all requests.</p>
58 </topic> 62 </topic>
59 <topic id="ConfirmWRQ" title="Confirm Write Request Dialog"> 63 <topic id="ConfirmWRQ" title="Confirm Write Request Dialog">
60 <heading scroll="no">Confirm Write Request Dialog</heading> 64 <heading scroll="no">Confirm Write Request Dialog</heading>
61 <p>Whenever your party sends you a file you have always a choice to accept it or not. You can also save the file under a different name by choosing the <b>Rename</b> option. If you already have file with such name you may chose to <b>resume</b> transfer. No checking on file contents is done. This option may or may not work depending on remote implementation of protocol. It does work if you use <kin>PumpKIN</kin> on both ends. If you are still unsure for <a href="#ConfirmationTimeOut"><b>Confirmation timeout</b></a> (<i>default - 30 seconds</i>) <kin>PumpKIN</kin> will make safe decision for you (deny).</p> 65 <p>Whenever your party sends you a file you have always a choice to accept it or not. You can also save the file under a different name by choosing the <b>Rename</b> option. If you already have file with such name you may chose to <b>resume</b> transfer. No checking on file contents is done. This option may or may not work depending on remote implementation of protocol. It does work if you use <kin>PumpKIN</kin> on both ends. If you are still unsure for <a href="#ConfirmationTimeOut"><b>Confirmation timeout</b></a> (<i>default - 30 seconds</i>) <kin>PumpKIN</kin> will make safe decision for you (deny).</p>
62 </topic> 66 </topic>
63 <topic id="Request" title="Request Dialog"> 67 <topic id="Request" title="Request Dialog">
64 <heading scroll="no">Request Dialog</heading> 68 <heading scroll="no">Request Dialog</heading>
65 <p>Request dialog is aimed to let you form read or write request. You may set the following options:</p> 69 <p>Request dialog is aimed to let you form read or write request. You may set the following options:</p>
66 <ul> 70 <ul>
67 <li><b>Local File</b> - You can change the name of the file you're sending (or destination in case you're receiving) right here. You may also use <b>Browse</b> button to select the file.</li> 71 <li><b>Local File</b> - You can change the name of the file you're sending (or destination in case you're receiving) right here. You may also use <b>Browse</b> button to select the file.</li>
68 <li><b>Remote File</b> Specifies the name of file on the remote host you're requesting (in case of read request) or the name of file you want your file to appear as (in case of write request).</li> 72 <li><b>Remote File</b> Specifies the name of file on the remote host you're requesting (in case of read request) or the name of file you want your file to appear as (in case of write request).</li>
69 <li><b>Remote Host</b> is your party's host or <term>TFTP</term> server you're requesting file from/sending file to. To refresh the list of your talk windows use <b>REFRESH</b> button.</li> 73 <li><b>Remote Host</b> is your party's host or <term>TFTP</term> server you're requesting file from/sending file to. To refresh the list of your talk windows use <b>REFRESH</b> button.</li>
70 <li><b>Type</b> is the type of transfer as defined in <rfc num="1350"/>. Doesn't mean much, really. Defined types are '<i>octet</i>' or '<i>netascii</i>'. Default is '<i>octet</i>'.</li> 74 <li><b>Type</b> is the type of transfer as defined in <rfc num="1350"/>. Doesn't mean much, really. Defined types are '<i>octet</i>' or '<i>netascii</i>'. Default is '<i>octet</i>'.</li>
71 <li><b>Block Size</b> - Use this block size if remote is <rfc num="1783"/>-compliant. If remote doesn't support this option <kin>PumpKIN</kin> will fallback to 512 bytes per block.</li> 75 <li><b>Block Size</b> - Use this block size if remote is <rfc num="1783"/>-compliant. If remote doesn't support this option <kin>PumpKIN</kin> will fallback to 512 bytes per block.</li>
72 </ul> 76 </ul>
73 </topic> 77 </topic>
74 <topic id="Options" title="Options"> 78 <topic id="Options" title="Options">
75 <heading scroll="no">Options</heading> 79 <heading scroll="no">Options</heading>
76 <p><kin>PumpKIN</kin> options property sheet consists of two tabs. For more information see <a href="#NetworkOptions"><b>Network</b></a> and <a herf="#ServerOptions"><b>Server</b></a> options.</p> 80 <p><kin>PumpKIN</kin> options property sheet consists of two tabs. For more information see <a href="#NetworkOptions"><b>Network</b></a> and <a herf="#ServerOptions"><b>Server</b></a> options.</p>
77 </topic> 81 </topic>
78 <topic id="NetworkOptions" title="Network Options"> 82 <topic id="NetworkOptions" title="Network Options">
79 <heading scroll="no">Network Options</heading> 83 <heading scroll="no">Network Options</heading>
80 <ul> 84 <ul>
81 <li><b>UDP Ports</b> 85 <li><b>UDP Ports</b>
82 <ul> 86 <ul>
83 <li><b>Listen for incoming connections on port</b> - specifies the port we're listening to. The default as defined in <rfc num="1350"/> is 69.</li> 87 <li><b>Listen for incoming connections on port</b> - specifies the port we're listening to. The default as defined in <rfc num="1350"/> is 69.</li>
84 <li><b>ip address</b> - ip address to listen to.</li> 88 <li><b>ip address</b> - ip address to listen to.</li>
85 <li><b>Send outgoing requests to port</b> - specifies the port we're going to send all requests to.</li> 89 <li><b>Send outgoing requests to port</b> - specifies the port we're going to send all requests to.</li>
86 </ul> 90 </ul>
87 </li> 91 </li>
88 <li><b>Default Connection timeout</b> - if there's no activity for specified time, transfer is considered to be dead and terminated. <kin>PumpKIN</kin> tries to propagate this value to remote as described in <rfc num="1782"/> and <rfc num="1784"/> if possible.</li> 92 <li><b>Default Connection timeout</b> - if there's no activity for specified time, transfer is considered to be dead and terminated. <kin>PumpKIN</kin> tries to propagate this value to remote as described in <rfc num="1782"/> and <rfc num="1784"/> if possible.</li>
89 <li><b>Default Block Size</b> - <kin>PumpKIN</kin> tries to negotiate block size with remote using this value unless specified explicitly in request. If remote doesn't support <rfc num="1782"/> and <rfc num="1783"/> <kin>PumpKIN</kin> falls back to 512 bytes per block.</li> 93 <li><b>Default Block Size</b> - <kin>PumpKIN</kin> tries to negotiate block size with remote using this value unless specified explicitly in request. If remote doesn't support <rfc num="1782"/> and <rfc num="1783"/> <kin>PumpKIN</kin> falls back to 512 bytes per block.</li>
90 </ul> 94 </ul>
91 </topic> 95 </topic>
92 <topic id="ServerOptions" title="Server Options"> 96 <topic id="ServerOptions" title="Server Options">
93 <heading scroll="no">Server Options</heading> 97 <heading scroll="no">Server Options</heading>
94 <ul> 98 <ul>
95 <li><b>TFTP Filesystem root</b> - Specifies the location of files you're transmitting or where to start looking for them from. Defaults to the directory you start <kin>PumpKIN</kin> for the first time from.</li> 99 <li><b>TFTP Filesystem root</b> - Specifies the location of files you're transmitting or where to start looking for them from. Defaults to the directory you start <kin>PumpKIN</kin> for the first time from.</li>
96 <li><b>Allow access to subdirectories</b> - specifies whether you want allow access to the whole subtree of <b>TFTP Root</b> or only to the directory itself.</li> 100 <li><b>Allow access to subdirectories</b> - specifies whether you want allow access to the whole subtree of <b>TFTP Root</b> or only to the directory itself.</li>
97 <li><b>Read Request Behavior</b> - You may choose to automatically agree to give all files requested, to be prompted to confirm these operations, or to deny all requests as if you're not even here.</li> 101 <li><b>Read Request Behavior</b> - You may choose to automatically agree to give all files requested, to be prompted to confirm these operations, or to deny all requests as if you're not even here.</li>
98 <li><b>Write Request Behavior</b> - You may chose to <b>take all files</b> (<i>not recommended</i>), to <b>prompt only if file exists already</b>, <b>Always prompt</b> or <b>Deny all requests</b>.</li> 102 <li><b>Write Request Behavior</b> - You may chose to <b>take all files</b> (<i>not recommended</i>), to <b>prompt only if file exists already</b>, <b>Always prompt</b> or <b>Deny all requests</b>.</li>
99 <li><a name="ConfirmationTimeOut"/><b>Confirmation timeout</b> - this is the time <kin>PumpKIN</kin> will wait for you to accept or deny request before it will give up and take default action which is always deny.</li> 103 <li><a name="ConfirmationTimeOut"/><b>Confirmation timeout</b> - this is the time <kin>PumpKIN</kin> will wait for you to accept or deny request before it will give up and take default action which is always deny.</li>
100 <li><b>Log file</b> - If you want to enable logging to file, set the destination file here.</li> 104 <li><b>Log file</b> - If you want to enable logging to file, set the destination file here.</li>
101 </ul> 105 </ul>
102 </topic> 106 </topic>
103 <topic id="SoundsOptions" title="Sounds Options"> 107 <topic id="SoundsOptions" title="Sounds Options">
104 <heading scroll="no">Sounds</heading> 108 <heading scroll="no">Sounds</heading>
105 <p>You can customize <kin>PumpKIN</kin> sounds notifications here. There are three customizable sounds defined - <b>Incoming request</b>, which notifies you about incoming request prompt if you're set to be prompted whenever incoming request occurs. <b>xfer Aborted</b> - which happens to sound every time transfer is interrupted for whatever reason - time out, explicit kill, denied access, etc. <b>xfer Finished</b> means that your file was successfully transmitted.</p> 109 <p>You can customize <kin>PumpKIN</kin> sounds notifications here. There are three customizable sounds defined - <b>Incoming request</b>, which notifies you about incoming request prompt if you're set to be prompted whenever incoming request occurs. <b>xfer Aborted</b> - which happens to sound every time transfer is interrupted for whatever reason - time out, explicit kill, denied access, etc. <b>xfer Finished</b> means that your file was successfully transmitted.</p>
106 <p>You can select any <b>.wav</b> file or one of the predefined sounds from the dropdown list.</p> 110 <p>You can select any <b>.wav</b> file or one of the predefined sounds from the dropdown list.</p>
107 </topic> 111 </topic>
108 <topic id="ACL" title="Access Lists"> 112 <topic id="ACL" title="Access Lists">
109 <heading scroll="no">Access Lists</heading> 113 <heading scroll="no">Access Lists</heading>
110 <p>You can slightly automate your access policies by setting up read/write request behavior for different incoming requests.</p> 114 <p>You can slightly automate your access policies by setting up read/write request behavior for different incoming requests.</p>
111 <p>The rule consists of <b>request type</b>, source network (<b>ip</b> and <b>netmask</b>) and <b>action</b> to take (see also <a href="#ServerOptions">Server Options</a>).</p> 115 <p>The rule consists of <b>request type</b>, source network (<b>ip</b> and <b>netmask</b>) and <b>action</b> to take (see also <a href="#ServerOptions">Server Options</a>).</p>
112 <p>When <kin>PumpKIN</kin> receives request it goes through the list of rules and bases its decision on the first matching rule. To rearrange order of rules, select the rule you wish to move and use up and down arrows buttons on the right. To remove rule, use the cross button.</p> 116 <p>When <kin>PumpKIN</kin> receives request it goes through the list of rules and bases its decision on the first matching rule. To rearrange order of rules, select the rule you wish to move and use up and down arrows buttons on the right. To remove rule, use the cross button.</p>
113 <p>To add a new rule fill in the information about <b>request type</b>, source <b>address</b> and <b>netmask</b> and desired action. Then click on the 'Add new rule' button.</p> 117 <p>To add a new rule fill in the information about <b>request type</b>, source <b>address</b> and <b>netmask</b> and desired action. Then click on the 'Add new rule' button.</p>
114 <p>If you wish to amend the rule, select it in the rules list, change parameters below and click the 'Replace rule' button.</p> 118 <p>If you wish to amend the rule, select it in the rules list, change parameters below and click the 'Replace rule' button.</p>
115 </topic> 119 </topic>
116</winhelp> 120</winhelp>
diff --git a/install/install.cpp b/install/install.cpp
index 58ed997..ea27a2c 100644
--- a/install/install.cpp
+++ b/install/install.cpp
@@ -1,74 +1,74 @@
1#include "resource.h" 1#include "resource.h"
2#include "../shared-code/install.h" 2#include "../shared-code/install.h"
3 3
4#define VERSION "2.7.2" 4#define VERSION "2.7.3"
5 #defineKINAME "PumpKIN " VERSION 5 #defineKINAME "PumpKIN " VERSION
6#define SKINAME "PumpKIN" 6#define SKINAME "PumpKIN"
7 7
8BOOL Install(void) 8BOOL Install(void)
9{ 9{
10STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path"); 10STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path");
11STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); 11STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath");
12LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); 12LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings");
13STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath); 13STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath);
14 if(!path) 14 if(!path)
15 return NULL; 15 return NULL;
16 16
17 #ifdefK_ANNED 17 #ifdefK_ANNED
18STRING sysDir(_MAX_PATH); 18STRING sysDir(_MAX_PATH);
19 GetSystemDirectory(sysDir,_MAX_PATH); 19 GetSystemDirectory(sysDir,_MAX_PATH);
20 INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll"); 20 INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll");
21#endif 21#endif
22 22
23 MAKE_PATH(path); 23 MAKE_PATH(path);
24STRING shortPath = GET_SHORT_PATH(path); 24STRING shortPath = GET_SHORT_PATH(path);
25 if(!shortPath){ 25 if(!shortPath){
26 MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); 26 MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK);
27 return FALSE; 27 return FALSE;
28 } 28 }
29 29
30 if(!( 30 if(!(
31 INSTALLFILE(SKINAME ".ex_",path,SKINAME ".exe") && 31 INSTALLFILE(SKINAME ".ex_",path,SKINAME ".exe") &&
32 INSTALLFILE(SKINAME ".hl_",path,SKINAME ".hlp") && 32 INSTALLFILE(SKINAME ".hl_",path,SKINAME ".hlp") &&
33 INSTALLFILE(SKINAME ".cn_",path,SKINAME ".cnt") 33 INSTALLFILE(SKINAME ".cn_",path,SKINAME ".cnt")
34 )){ 34 )){
35 MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); 35 MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK);
36 return FALSE; 36 return FALSE;
37 } 37 }
38 ADDMENU("Klever Group",SKINAME,path, SKINAME ".exe"); 38 ADDMENU("Klever Group",SKINAME,path, SKINAME ".exe");
39 39
40 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path",path); 40 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path",path);
41 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path); 41 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path);
42 42
43FILE* inf=CREATE_INF_FILE(path,SKINAME ".INF"); 43FILE* inf=CREATE_INF_FILE(path,SKINAME ".INF");
44 if(!inf){ 44 if(!inf){
45 MessageBox(NULL,"Failed to install " KINAME,NULL,MB_ICONERROR|MB_OK); 45 MessageBox(NULL,"Failed to install " KINAME,NULL,MB_ICONERROR|MB_OK);
46 return FALSE; 46 return FALSE;
47 } 47 }
48 INF_FILE_HEADER(inf); 48 INF_FILE_HEADER(inf);
49 INF_FILE_SECTION(inf,"Uninstall"); 49 INF_FILE_SECTION(inf,"Uninstall");
50 fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n"); 50 fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n");
51 INF_FILE_SECTION(inf,"kFiles"); 51 INF_FILE_SECTION(inf,"kFiles");
52 INF_REMOVE_ROOT(inf,SKINAME "Files",shortPath); 52 INF_REMOVE_ROOT(inf,SKINAME "Files",shortPath);
53 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".exe"); 53 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".exe");
54 INF_REMOVE_HELP_FILE(inf,SKINAME "Files",SKINAME); 54 INF_REMOVE_HELP_FILE(inf,SKINAME "Files",SKINAME);
55 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".inf"); 55 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".inf");
56 INF_FILE_SECTION(inf,"kReg"); 56 INF_FILE_SECTION(inf,"kReg");
57 INF_UNINSTALL_REG(inf,SKINAME); 57 INF_UNINSTALL_REG(inf,SKINAME);
58 INF_FILE_SECTION(inf,"kMenu"); 58 INF_FILE_SECTION(inf,"kMenu");
59 INF_MENU_GROUP(inf,1,"Klever Group"); 59 INF_MENU_GROUP(inf,1,"Klever Group");
60 INF_MENU_ITEM(inf,1,SKINAME); 60 INF_MENU_ITEM(inf,1,SKINAME);
61 fclose(inf); 61 fclose(inf);
62 62
63 REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall"); 63 REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall");
64 REG_UNINSTALL_ICON(SKINAME,path,SKINAME ".exe",0); 64 REG_UNINSTALL_ICON(SKINAME,path,SKINAME ".exe",0);
65 REG_UNINSTALL_COMMENT(SKINAME,"Klever PumpKIN"); 65 REG_UNINSTALL_COMMENT(SKINAME,"Klever PumpKIN");
66 REG_UNINSTALL_VERSION(SKINAME,VERSION); 66 REG_UNINSTALL_VERSION(SKINAME,VERSION);
67 REG_UNINSTALL_LOCATION(SKINAME,path); 67 REG_UNINSTALL_LOCATION(SKINAME,path);
68 REG_UNINSTALL_PUBLISHER(SKINAME,"Klever Group"); 68 REG_UNINSTALL_PUBLISHER(SKINAME,"Klever Group");
69 REG_UNINSTALL_URLS(SKINAME,"http://www.klever.net/","http://kin.klever.net/pumpkin/"); 69 REG_UNINSTALL_URLS(SKINAME,"http://www.klever.net/","http://kin.klever.net/pumpkin/");
70 70
71 MessageBox(NULL,KINAME " installed successfully, you may now run it from 'Programs/Klever Group' menu or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK); 71 MessageBox(NULL,KINAME " installed successfully, you may now run it from 'Programs/Klever Group' menu or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK);
72 72
73 return TRUE; 73 return TRUE;
74} 74}
diff --git a/install/install.rc b/install/install.rc
index 6967799..2dce211 100644
--- a/install/install.rc
+++ b/install/install.rc
@@ -1,182 +1,182 @@
1//Microsoft Developer Studio generated resource script. 1//Microsoft Developer Studio generated resource script.
2// 2//
3#include "resource.h" 3#include "resource.h"
4 4
5#define APSTUDIO_READONLY_SYMBOLS 5#define APSTUDIO_READONLY_SYMBOLS
6///////////////////////////////////////////////////////////////////////////// 6/////////////////////////////////////////////////////////////////////////////
7// 7//
8// Generated from the TEXTINCLUDE 2 resource. 8// Generated from the TEXTINCLUDE 2 resource.
9// 9//
10#include "afxres.h" 10#include "afxres.h"
11 11
12///////////////////////////////////////////////////////////////////////////// 12/////////////////////////////////////////////////////////////////////////////
13#undef APSTUDIO_READONLY_SYMBOLS 13#undef APSTUDIO_READONLY_SYMBOLS
14 14
15///////////////////////////////////////////////////////////////////////////// 15/////////////////////////////////////////////////////////////////////////////
16// English (U.S.) resources 16// English (U.S.) resources
17 17
18#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) 18#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
19#ifdef _WIN32 19#ifdef _WIN32
20LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US 20LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
21#pragma code_page(1252) 21#pragma code_page(1252)
22#endif //_WIN32 22#endif //_WIN32
23 23
24///////////////////////////////////////////////////////////////////////////// 24/////////////////////////////////////////////////////////////////////////////
25// 25//
26// Dialog 26// Dialog
27// 27//
28 28
29#if defined(APSTUDIO_INVOKED) || defined(FALSE) 29#if defined(APSTUDIO_INVOKED) || defined(FALSE)
30#if defined(APSTUDIO_INVOKED) 30#if defined(APSTUDIO_INVOKED)
31IDD_INSTALLING$(FALSE) DIALOGEX 0, 0, 200, 74 31IDD_INSTALLING$(FALSE) DIALOGEX 0, 0, 200, 74
32#else 32#else
33IDD_INSTALLING DIALOGEX 0, 0, 200, 74 33IDD_INSTALLING DIALOGEX 0, 0, 200, 74
34#endif 34#endif
35STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP 35STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP
36FONT 8, "MS Sans Serif", 0, 0, 0x1 36FONT 8, "MS Sans Serif", 0, 0, 0x1
37BEGIN 37BEGIN
38 PUSHBUTTON "Cancel",IDCANCEL,143,53,50,14,BS_CENTER | BS_VCENTER | 38 PUSHBUTTON "Cancel",IDCANCEL,143,53,50,14,BS_CENTER | BS_VCENTER |
39 BS_NOTIFY | BS_FLAT,WS_EX_DLGMODALFRAME 39 BS_NOTIFY | BS_FLAT,WS_EX_DLGMODALFRAME
40 CONTROL "Animate1",IDC_DISKS,"SysAnimate32",ACS_TRANSPARENT | 40 CONTROL "Animate1",IDC_DISKS,"SysAnimate32",ACS_TRANSPARENT |
41 ACS_AUTOPLAY | WS_TABSTOP,161,7,32,32 41 ACS_AUTOPLAY | WS_TABSTOP,161,7,32,32
42 LTEXT "",IDC_STATE,7,7,150,32,SS_NOPREFIX | SS_NOTIFY 42 LTEXT "",IDC_STATE,7,7,150,32,SS_NOPREFIX | SS_NOTIFY
43 CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",0x0,7,45, 43 CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",0x0,7,45,
44 186,7,WS_EX_DLGMODALFRAME 44 186,7,WS_EX_DLGMODALFRAME
45END 45END
46#endif 46#endif
47 47
48IDD_PATH DIALOGEX 0, 0, 255, 73 48IDD_PATH DIALOGEX 0, 0, 255, 73
49STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP | 49STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP |
50 WS_VISIBLE | WS_CAPTION 50 WS_VISIBLE | WS_CAPTION
51EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE 51EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE
52FONT 8, "MS Sans Serif", 0, 0, 0x1 52FONT 8, "MS Sans Serif", 0, 0, 0x1
53BEGIN 53BEGIN
54 LTEXT "",IDC_PROMPT,7,7,241,30 54 LTEXT "",IDC_PROMPT,7,7,241,30
55 EDITTEXT IDC_PATH,7,37,195,12,ES_AUTOHSCROLL 55 EDITTEXT IDC_PATH,7,37,195,12,ES_AUTOHSCROLL
56 PUSHBUTTON "B&rowse..",IDC_BROWSE,208,37,40,12 56 PUSHBUTTON "B&rowse..",IDC_BROWSE,208,37,40,12
57 DEFPUSHBUTTON "OK",IDOK,69,52,50,14 57 DEFPUSHBUTTON "OK",IDOK,69,52,50,14
58 PUSHBUTTON "Cancel",IDCANCEL,135,52,50,14 58 PUSHBUTTON "Cancel",IDCANCEL,135,52,50,14
59END 59END
60 60
61 61
62///////////////////////////////////////////////////////////////////////////// 62/////////////////////////////////////////////////////////////////////////////
63// 63//
64// DESIGNINFO 64// DESIGNINFO
65// 65//
66 66
67#ifdef APSTUDIO_INVOKED 67#ifdef APSTUDIO_INVOKED
68GUIDELINES DESIGNINFO DISCARDABLE 68GUIDELINES DESIGNINFO DISCARDABLE
69BEGIN 69BEGIN
70 "IDD_INSTALLING$(FALSE)", DIALOG 70 "IDD_INSTALLING$(FALSE)", DIALOG
71 BEGIN 71 BEGIN
72 LEFTMARGIN, 7 72 LEFTMARGIN, 7
73 RIGHTMARGIN, 193 73 RIGHTMARGIN, 193
74 TOPMARGIN, 7 74 TOPMARGIN, 7
75 BOTTOMMARGIN, 67 75 BOTTOMMARGIN, 67
76 HORZGUIDE, 39 76 HORZGUIDE, 39
77 END 77 END
78 78
79 IDD_PATH, DIALOG 79 IDD_PATH, DIALOG
80 BEGIN 80 BEGIN
81 LEFTMARGIN, 7 81 LEFTMARGIN, 7
82 RIGHTMARGIN, 248 82 RIGHTMARGIN, 248
83 VERTGUIDE, 202 83 VERTGUIDE, 202
84 VERTGUIDE, 208 84 VERTGUIDE, 208
85 TOPMARGIN, 7 85 TOPMARGIN, 7
86 BOTTOMMARGIN, 66 86 BOTTOMMARGIN, 66
87 HORZGUIDE, 37 87 HORZGUIDE, 37
88 END 88 END
89END 89END
90#endif // APSTUDIO_INVOKED 90#endif // APSTUDIO_INVOKED
91 91
92 92
93#ifdef APSTUDIO_INVOKED 93#ifdef APSTUDIO_INVOKED
94///////////////////////////////////////////////////////////////////////////// 94/////////////////////////////////////////////////////////////////////////////
95// 95//
96// TEXTINCLUDE 96// TEXTINCLUDE
97// 97//
98 98
991 TEXTINCLUDE DISCARDABLE 991 TEXTINCLUDE DISCARDABLE
100BEGIN 100BEGIN
101 "resource.h\0" 101 "resource.h\0"
102END 102END
103 103
1042 TEXTINCLUDE DISCARDABLE 1042 TEXTINCLUDE DISCARDABLE
105BEGIN 105BEGIN
106 "#include ""afxres.h""\r\n" 106 "#include ""afxres.h""\r\n"
107 "\0" 107 "\0"
108END 108END
109 109
1103 TEXTINCLUDE DISCARDABLE 1103 TEXTINCLUDE DISCARDABLE
111BEGIN 111BEGIN
112 "#include ""custom.rch""\0" 112 "#include ""custom.rch""\0"
113END 113END
114 114
115#endif // APSTUDIO_INVOKED 115#endif // APSTUDIO_INVOKED
116 116
117 117
118///////////////////////////////////////////////////////////////////////////// 118/////////////////////////////////////////////////////////////////////////////
119// 119//
120// Icon 120// Icon
121// 121//
122 122
123// Icon with lowest ID value placed first to ensure application icon 123// Icon with lowest ID value placed first to ensure application icon
124// remains consistent on all systems. 124// remains consistent on all systems.
125IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico" 125IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico"
126 126
127#ifndef _MAC 127#ifndef _MAC
128///////////////////////////////////////////////////////////////////////////// 128/////////////////////////////////////////////////////////////////////////////
129// 129//
130// Version 130// Version
131// 131//
132 132
133VS_VERSION_INFO VERSIONINFO 133VS_VERSION_INFO VERSIONINFO
134 FILEVERSION 2,7,2,0 134 FILEVERSION 2,7,3,0
135 PRODUCTVERSION 2,7,2,0 135 PRODUCTVERSION 2,7,3,0
136 FILEFLAGSMASK 0x3fL 136 FILEFLAGSMASK 0x3fL
137#ifdef _DEBUG 137#ifdef _DEBUG
138 FILEFLAGS 0x1L 138 FILEFLAGS 0x1L
139#else 139#else
140 FILEFLAGS 0x0L 140 FILEFLAGS 0x0L
141#endif 141#endif
142 FILEOS 0x40004L 142 FILEOS 0x40004L
143 FILETYPE 0x1L 143 FILETYPE 0x1L
144 FILESUBTYPE 0x0L 144 FILESUBTYPE 0x0L
145BEGIN 145BEGIN
146 BLOCK "StringFileInfo" 146 BLOCK "StringFileInfo"
147 BEGIN 147 BEGIN
148 BLOCK "040904b0" 148 BLOCK "040904b0"
149 BEGIN 149 BEGIN
150 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" 150 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0"
151 VALUE "FileDescription", "INSTALL: PumpKIN, tftp client/daemon\0" 151 VALUE "FileDescription", "INSTALL: PumpKIN, tftp client/daemon\0"
152 VALUE "FileVersion", "2, 7, 2, 0\0" 152 VALUE "FileVersion", "2, 7, 3, 0\0"
153 VALUE "InternalName", "INSTALL\0" 153 VALUE "InternalName", "INSTALL\0"
154 VALUE "LegalCopyright", "Copyright © 1997-2006 Klever Group (http://www.klever.net/)\0" 154 VALUE "LegalCopyright", "Copyright © 1997-2011 Klever Group (http://www.klever.net/)\0"
155 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" 155 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0"
156 VALUE "OriginalFilename", "INSTALL.EXE\0" 156 VALUE "OriginalFilename", "INSTALL.EXE\0"
157 VALUE "ProductName", "PumpKIN\0" 157 VALUE "ProductName", "PumpKIN\0"
158 VALUE "ProductVersion", "2, 7, 2, 0\0" 158 VALUE "ProductVersion", "2, 7, 3, 0\0"
159 END 159 END
160 END 160 END
161 BLOCK "VarFileInfo" 161 BLOCK "VarFileInfo"
162 BEGIN 162 BEGIN
163 VALUE "Translation", 0x409, 1200 163 VALUE "Translation", 0x409, 1200
164 END 164 END
165END 165END
166 166
167#endif // !_MAC 167#endif // !_MAC
168 168
169#endif // English (U.S.) resources 169#endif // English (U.S.) resources
170///////////////////////////////////////////////////////////////////////////// 170/////////////////////////////////////////////////////////////////////////////
171 171
172 172
173 173
174#ifndef APSTUDIO_INVOKED 174#ifndef APSTUDIO_INVOKED
175///////////////////////////////////////////////////////////////////////////// 175/////////////////////////////////////////////////////////////////////////////
176// 176//
177// Generated from the TEXTINCLUDE 3 resource. 177// Generated from the TEXTINCLUDE 3 resource.
178// 178//
179#include "custom.rch" 179#include "custom.rch"
180///////////////////////////////////////////////////////////////////////////// 180/////////////////////////////////////////////////////////////////////////////
181#endif // not APSTUDIO_INVOKED 181#endif // not APSTUDIO_INVOKED
182 182
diff --git a/pumpkin.rc b/pumpkin.rc
index babd066..6f01fdf 100755
--- a/pumpkin.rc
+++ b/pumpkin.rc
@@ -1,689 +1,689 @@
1//Microsoft Developer Studio generated resource script. 1//Microsoft Developer Studio generated resource script.
2// 2//
3#include "resource.h" 3#include "resource.h"
4 4
5#define APSTUDIO_READONLY_SYMBOLS 5#define APSTUDIO_READONLY_SYMBOLS
6///////////////////////////////////////////////////////////////////////////// 6/////////////////////////////////////////////////////////////////////////////
7// 7//
8// Generated from the TEXTINCLUDE 2 resource. 8// Generated from the TEXTINCLUDE 2 resource.
9// 9//
10#include "afxres.h" 10#include "afxres.h"
11 11
12///////////////////////////////////////////////////////////////////////////// 12/////////////////////////////////////////////////////////////////////////////
13#undef APSTUDIO_READONLY_SYMBOLS 13#undef APSTUDIO_READONLY_SYMBOLS
14 14
15///////////////////////////////////////////////////////////////////////////// 15/////////////////////////////////////////////////////////////////////////////
16// English (U.S.) resources 16// English (U.S.) resources
17 17
18#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) 18#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
19#ifdef _WIN32 19#ifdef _WIN32
20LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US 20LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
21#pragma code_page(1252) 21#pragma code_page(1252)
22#endif //_WIN32 22#endif //_WIN32
23 23
24#ifdef APSTUDIO_INVOKED 24#ifdef APSTUDIO_INVOKED
25///////////////////////////////////////////////////////////////////////////// 25/////////////////////////////////////////////////////////////////////////////
26// 26//
27// TEXTINCLUDE 27// TEXTINCLUDE
28// 28//
29 29
301 TEXTINCLUDE DISCARDABLE 301 TEXTINCLUDE DISCARDABLE
31BEGIN 31BEGIN
32 "resource.h\0" 32 "resource.h\0"
33END 33END
34 34
352 TEXTINCLUDE DISCARDABLE 352 TEXTINCLUDE DISCARDABLE
36BEGIN 36BEGIN
37 "#include ""afxres.h""\r\n" 37 "#include ""afxres.h""\r\n"
38 "\0" 38 "\0"
39END 39END
40 40
413 TEXTINCLUDE DISCARDABLE 413 TEXTINCLUDE DISCARDABLE
42BEGIN 42BEGIN
43 "#define _AFX_NO_SPLITTER_RESOURCES\r\n" 43 "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
44 "#define _AFX_NO_OLE_RESOURCES\r\n" 44 "#define _AFX_NO_OLE_RESOURCES\r\n"
45 "#define _AFX_NO_TRACKER_RESOURCES\r\n" 45 "#define _AFX_NO_TRACKER_RESOURCES\r\n"
46 "#define _AFX_NO_PROPERTY_RESOURCES\r\n" 46 "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
47 "\r\n" 47 "\r\n"
48 "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" 48 "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
49 "#ifdef _WIN32\r\n" 49 "#ifdef _WIN32\r\n"
50 "LANGUAGE 9, 1\r\n" 50 "LANGUAGE 9, 1\r\n"
51 "#pragma code_page(1252)\r\n" 51 "#pragma code_page(1252)\r\n"
52 "#endif\r\n" 52 "#endif\r\n"
53 "#include ""res\\PumpKIN.rc2"" // non-Microsoft Visual C++ edited resources\r\n" 53 "#include ""res\\PumpKIN.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
54 "#include ""afxres.rc"" // Standard components\r\n" 54 "#include ""afxres.rc"" // Standard components\r\n"
55 "#endif\0" 55 "#endif\0"
56END 56END
57 57
58#endif // APSTUDIO_INVOKED 58#endif // APSTUDIO_INVOKED
59 59
60 60
61///////////////////////////////////////////////////////////////////////////// 61/////////////////////////////////////////////////////////////////////////////
62// 62//
63// Icon 63// Icon
64// 64//
65 65
66// Icon with lowest ID value placed first to ensure application icon 66// Icon with lowest ID value placed first to ensure application icon
67// remains consistent on all systems. 67// remains consistent on all systems.
68IDI_RRQ ICON DISCARDABLE "res\\wrq.ico" 68IDI_RRQ ICON DISCARDABLE "res\\wrq.ico"
69IDI_WRQ ICON DISCARDABLE "res\\rrq.ico" 69IDI_WRQ ICON DISCARDABLE "res\\rrq.ico"
70IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico" 70IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico"
71IDR_MAINFRAME ICON DISCARDABLE "res\\pumpkin.ico" 71IDR_MAINFRAME ICON DISCARDABLE "res\\pumpkin.ico"
72IDI_PLAY ICON DISCARDABLE "shared-data/play-icon.ico" 72IDI_PLAY ICON DISCARDABLE "shared-data/play-icon.ico"
73IDI_UP ICON DISCARDABLE "res\\up.ico" 73IDI_UP ICON DISCARDABLE "res\\up.ico"
74IDI_DOWN ICON DISCARDABLE "res\\down.ico" 74IDI_DOWN ICON DISCARDABLE "res\\down.ico"
75IDI_REMOVE ICON DISCARDABLE "res\\remove.ico" 75IDI_REMOVE ICON DISCARDABLE "res\\remove.ico"
76 76
77///////////////////////////////////////////////////////////////////////////// 77/////////////////////////////////////////////////////////////////////////////
78// 78//
79// Dialog 79// Dialog
80// 80//
81 81
82IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74 82IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74
83STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 83STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
84CAPTION "About PumpKIN" 84CAPTION "About PumpKIN"
85FONT 8, "MS Sans Serif" 85FONT 8, "MS Sans Serif"
86BEGIN 86BEGIN
87 ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20 87 ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20
88 LTEXT "PumpKIN, Version 2.7.2",IDC_STATIC,40,15,119,8, 88 LTEXT "PumpKIN, Version 2.7.3",IDC_STATIC,40,15,119,8,
89 SS_NOPREFIX 89 SS_NOPREFIX
90 LTEXT "Copyright © 1997-2006 Klever Group",IDC_STATIC,40,30, 90 LTEXT "Copyright © 1997-2011 Klever Group",IDC_STATIC,40,30,
91 170,8 91 170,8
92 DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP 92 DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
93 PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14 93 PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14
94END 94END
95 95
96IDD_PUMPKIN_DIALOG DIALOGEX 0, 0, 362, 193 96IDD_PUMPKIN_DIALOG DIALOGEX 0, 0, 362, 193
97STYLE DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME 97STYLE DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
98EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW 98EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW
99CAPTION " PumpKIN" 99CAPTION " PumpKIN"
100FONT 8, "MS Sans Serif", 0, 0, 0x1 100FONT 8, "MS Sans Serif", 0, 0, 0x1
101BEGIN 101BEGIN
102 CONTROL "List1",IDC_CONNECTIONS,"SysListView32",LVS_REPORT | 102 CONTROL "List1",IDC_CONNECTIONS,"SysListView32",LVS_REPORT |
103 LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,7,7,295,108, 103 LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,7,7,295,108,
104 WS_EX_DLGMODALFRAME 104 WS_EX_DLGMODALFRAME
105 PUSHBUTTON "&Get File",IDC_GET,305,7,50,17,BS_NOTIFY, 105 PUSHBUTTON "&Get File",IDC_GET,305,7,50,17,BS_NOTIFY,
106 WS_EX_CLIENTEDGE 106 WS_EX_CLIENTEDGE
107 PUSHBUTTON "&Put File",IDC_PUT,305,25,50,17,BS_NOTIFY, 107 PUSHBUTTON "&Put File",IDC_PUT,305,25,50,17,BS_NOTIFY,
108 WS_EX_CLIENTEDGE 108 WS_EX_CLIENTEDGE
109 PUSHBUTTON "&Abort xfer",IDC_ABORT,305,43,50,17,BS_NOTIFY, 109 PUSHBUTTON "&Abort xfer",IDC_ABORT,305,43,50,17,BS_NOTIFY,
110 WS_EX_CLIENTEDGE 110 WS_EX_CLIENTEDGE
111 PUSHBUTTON "&Options",IDC_OPTIONS,305,61,50,17,BS_NOTIFY, 111 PUSHBUTTON "&Options",IDC_OPTIONS,305,61,50,17,BS_NOTIFY,
112 WS_EX_CLIENTEDGE 112 WS_EX_CLIENTEDGE
113 PUSHBUTTON "E&xit",IDC_EXIT,305,79,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE 113 PUSHBUTTON "E&xit",IDC_EXIT,305,79,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE
114 PUSHBUTTON "&Help",ID_HELP,305,97,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE 114 PUSHBUTTON "&Help",ID_HELP,305,97,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE
115 LISTBOX IDC_LOG,7,115,348,64,LBS_USETABSTOPS | 115 LISTBOX IDC_LOG,7,115,348,64,LBS_USETABSTOPS |
116 LBS_NOINTEGRALHEIGHT | LBS_NOSEL | WS_VSCROLL | 116 LBS_NOINTEGRALHEIGHT | LBS_NOSEL | WS_VSCROLL |
117 WS_HSCROLL,WS_EX_DLGMODALFRAME 117 WS_HSCROLL,WS_EX_DLGMODALFRAME
118 PUSHBUTTON "..",IDCANCEL,0,183,6,7,NOT WS_VISIBLE | NOT WS_TABSTOP 118 PUSHBUTTON "..",IDCANCEL,0,183,6,7,NOT WS_VISIBLE | NOT WS_TABSTOP
119 CONTROL "&Server is running",IDC_LISTENING,"Button", 119 CONTROL "&Server is running",IDC_LISTENING,"Button",
120 BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_FLAT | WS_TABSTOP,286, 120 BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_FLAT | WS_TABSTOP,286,
121 181,69,11,WS_EX_TRANSPARENT | WS_EX_STATICEDGE 121 181,69,11,WS_EX_TRANSPARENT | WS_EX_STATICEDGE
122END 122END
123 123
124IDD_PROPS_SERVER DIALOG DISCARDABLE 0, 0, 300, 201 124IDD_PROPS_SERVER DIALOG DISCARDABLE 0, 0, 300, 201
125STYLE WS_CHILD | WS_DISABLED | WS_CAPTION 125STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
126CAPTION "Server" 126CAPTION "Server"
127FONT 8, "MS Sans Serif" 127FONT 8, "MS Sans Serif"
128BEGIN 128BEGIN
129 GROUPBOX "TFTP filesystem &root (download path)",IDC_STATIC,7,7, 129 GROUPBOX "TFTP filesystem &root (download path)",IDC_STATIC,7,7,
130 286,38 130 286,38
131 EDITTEXT IDC_TFTPROOT,13,16,256,13,ES_AUTOHSCROLL 131 EDITTEXT IDC_TFTPROOT,13,16,256,13,ES_AUTOHSCROLL
132 PUSHBUTTON "&B",IDC_BROWSE,274,16,13,13,BS_ICON 132 PUSHBUTTON "&B",IDC_BROWSE,274,16,13,13,BS_ICON
133 CONTROL "Allow access to &subdirectories",IDC_TFTPSUBDIRS, 133 CONTROL "Allow access to &subdirectories",IDC_TFTPSUBDIRS,
134 "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,31,111,10 134 "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,31,111,10
135 GROUPBOX "Read Request Behavior",IDC_STATIC,7,48,243,56 135 GROUPBOX "Read Request Behavior",IDC_STATIC,7,48,243,56
136 CONTROL "Give &all files",IDC_RRQ_GIVEALL,"Button", 136 CONTROL "Give &all files",IDC_RRQ_GIVEALL,"Button",
137 BS_AUTORADIOBUTTON | BS_NOTIFY | WS_GROUP,13,63,53,10 137 BS_AUTORADIOBUTTON | BS_NOTIFY | WS_GROUP,13,63,53,10
138 CONTROL "&Prompt before giving file",IDC_RRQ_ALWAYSCONFIRM, 138 CONTROL "&Prompt before giving file",IDC_RRQ_ALWAYSCONFIRM,
139 "Button",BS_AUTORADIOBUTTON | BS_NOTIFY,43,75,91,10 139 "Button",BS_AUTORADIOBUTTON | BS_NOTIFY,43,75,91,10
140 CONTROL "&Deny all requests",IDC_RRQ_DENYALL,"Button", 140 CONTROL "&Deny all requests",IDC_RRQ_DENYALL,"Button",
141 BS_AUTORADIOBUTTON | BS_NOTIFY,73,87,70,10 141 BS_AUTORADIOBUTTON | BS_NOTIFY,73,87,70,10
142 GROUPBOX "Write Request Behavior",IDC_STATIC,7,106,243,56, 142 GROUPBOX "Write Request Behavior",IDC_STATIC,7,106,243,56,
143 WS_GROUP 143 WS_GROUP
144 CONTROL "Take a&ll files",IDC_WRQ_TAKEALL,"Button", 144 CONTROL "Take a&ll files",IDC_WRQ_TAKEALL,"Button",
145 BS_AUTORADIOBUTTON | WS_GROUP,13,116,55,10 145 BS_AUTORADIOBUTTON | WS_GROUP,13,116,55,10
146 CONTROL "Prompt if file &exists",IDC_WRQ_PROMPTEXISTING,"Button", 146 CONTROL "Prompt if file &exists",IDC_WRQ_PROMPTEXISTING,"Button",
147 BS_AUTORADIOBUTTON,43,126,73,10 147 BS_AUTORADIOBUTTON,43,126,73,10
148 CONTROL "Always pro&mpt before accepting file", 148 CONTROL "Always pro&mpt before accepting file",
149 IDC_WRQ_ALWAYSCONFIRM,"Button",BS_AUTORADIOBUTTON,73,136, 149 IDC_WRQ_ALWAYSCONFIRM,"Button",BS_AUTORADIOBUTTON,73,136,
150 139,10 150 139,10
151 CONTROL "D&eny all requests",IDC_WRQ_DENYALL,"Button", 151 CONTROL "D&eny all requests",IDC_WRQ_DENYALL,"Button",
152 BS_AUTORADIOBUTTON,103,146,70,10 152 BS_AUTORADIOBUTTON,103,146,70,10
153 CTEXT "Confirmation &timeout",IDC_STATIC,253,52,40,19, 153 CTEXT "Confirmation &timeout",IDC_STATIC,253,52,40,19,
154 SS_NOTIFY 154 SS_NOTIFY
155 CONTROL "Slider1",IDC_PROMPTTIMEOUT,"msctls_trackbar32", 155 CONTROL "Slider1",IDC_PROMPTTIMEOUT,"msctls_trackbar32",
156 TBS_AUTOTICKS | TBS_VERT | TBS_TOP | WS_TABSTOP,272,72, 156 TBS_AUTOTICKS | TBS_VERT | TBS_TOP | WS_TABSTOP,272,72,
157 21,90 157 21,90
158 GROUPBOX "Log file (leave empty to disable logging to file)", 158 GROUPBOX "Log file (leave empty to disable logging to file)",
159 IDC_STATIC,7,165,286,29 159 IDC_STATIC,7,165,286,29
160 EDITTEXT IDC_LOGFILE,13,175,256,13,ES_AUTOHSCROLL 160 EDITTEXT IDC_LOGFILE,13,175,256,13,ES_AUTOHSCROLL
161 PUSHBUTTON "",IDC_LOGFILE_BROWSE,274,175,13,13,BS_ICON 161 PUSHBUTTON "",IDC_LOGFILE_BROWSE,274,175,13,13,BS_ICON
162END 162END
163 163
164IDD_PROPS_NETWORK DIALOG DISCARDABLE 0, 0, 300, 201 164IDD_PROPS_NETWORK DIALOG DISCARDABLE 0, 0, 300, 201
165STYLE WS_CHILD | WS_DISABLED | WS_CAPTION 165STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
166CAPTION "Network" 166CAPTION "Network"
167FONT 8, "MS Sans Serif" 167FONT 8, "MS Sans Serif"
168BEGIN 168BEGIN
169 GROUPBOX "UDP Ports",IDC_STATIC,7,7,286,55 169 GROUPBOX "UDP Ports",IDC_STATIC,7,7,286,55
170 RTEXT "Listen for &incoming requests on port:",IDC_STATIC,13, 170 RTEXT "Listen for &incoming requests on port:",IDC_STATIC,13,
171 18,135,8 171 18,135,8
172 EDITTEXT IDC_LISTENPORT,154,16,61,13,ES_AUTOHSCROLL 172 EDITTEXT IDC_LISTENPORT,154,16,61,13,ES_AUTOHSCROLL
173 CONTROL "Spin1",IDC_LISTENSPIN,"msctls_updown32",UDS_WRAP | 173 CONTROL "Spin1",IDC_LISTENSPIN,"msctls_updown32",UDS_WRAP |
174 UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | 174 UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
175 UDS_ARROWKEYS | UDS_NOTHOUSANDS,204,16,11,13 175 UDS_ARROWKEYS | UDS_NOTHOUSANDS,204,16,11,13
176 RTEXT "Send &outging requests to port:",IDC_STATIC,13,46,135,8 176 RTEXT "Send &outging requests to port:",IDC_STATIC,13,46,135,8
177 EDITTEXT IDC_SPEAKPORT,154,44,61,13,ES_AUTOHSCROLL 177 EDITTEXT IDC_SPEAKPORT,154,44,61,13,ES_AUTOHSCROLL
178 CONTROL "Spin1",IDC_SPEAKSPIN,"msctls_updown32",UDS_WRAP | 178 CONTROL "Spin1",IDC_SPEAKSPIN,"msctls_updown32",UDS_WRAP |
179 UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | 179 UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
180 UDS_ARROWKEYS | UDS_NOTHOUSANDS,204,43,11,13 180 UDS_ARROWKEYS | UDS_NOTHOUSANDS,204,43,11,13
181 LTEXT "Default connection timeout:",IDC_STATIC,7,66,88,8 181 LTEXT "Default connection timeout:",IDC_STATIC,7,66,88,8
182 EDITTEXT IDC_TIMEOUT,110,64,40,13,ES_AUTOHSCROLL | ES_NUMBER 182 EDITTEXT IDC_TIMEOUT,110,64,40,13,ES_AUTOHSCROLL | ES_NUMBER
183 CONTROL "Spin3",IDC_TIMESPIN,"msctls_updown32",UDS_WRAP | 183 CONTROL "Spin3",IDC_TIMESPIN,"msctls_updown32",UDS_WRAP |
184 UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | 184 UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
185 UDS_ARROWKEYS | UDS_NOTHOUSANDS,140,64,11,13 185 UDS_ARROWKEYS | UDS_NOTHOUSANDS,140,64,11,13
186 LTEXT "Default block size:",IDC_STATIC,7,80,59,8 186 LTEXT "Default block size:",IDC_STATIC,7,80,59,8
187 LTEXT "seconds",IDC_STATIC,154,66,28,8 187 LTEXT "seconds",IDC_STATIC,154,66,28,8
188 LTEXT "bytes",IDC_STATIC,154,80,18,8 188 LTEXT "bytes",IDC_STATIC,154,80,18,8
189 EDITTEXT IDC_BLOCKSIZE,110,78,40,13,ES_AUTOHSCROLL | ES_NUMBER 189 EDITTEXT IDC_BLOCKSIZE,110,78,40,13,ES_AUTOHSCROLL | ES_NUMBER
190 CONTROL "Spin3",IDC_BSIZESPIN,"msctls_updown32",UDS_WRAP | 190 CONTROL "Spin3",IDC_BSIZESPIN,"msctls_updown32",UDS_WRAP |
191 UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | 191 UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
192 UDS_ARROWKEYS | UDS_NOTHOUSANDS,140,78,11,13 192 UDS_ARROWKEYS | UDS_NOTHOUSANDS,140,78,11,13
193 RTEXT "ip address:",IDC_STATIC,13,32,135,8 193 RTEXT "ip address:",IDC_STATIC,13,32,135,8
194 EDITTEXT IDC_LISTENADDRESS,154,28,61,14,ES_AUTOHSCROLL 194 EDITTEXT IDC_LISTENADDRESS,154,28,61,14,ES_AUTOHSCROLL
195END 195END
196 196
197IDD_CONFIRM_RRQ DIALOGEX 0, 0, 181, 79 197IDD_CONFIRM_RRQ DIALOGEX 0, 0, 181, 79
198STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | 198STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP |
199 WS_CAPTION 199 WS_CAPTION
200EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE 200EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE
201CAPTION " PumpKIN - Confirm Read Request" 201CAPTION " PumpKIN - Confirm Read Request"
202FONT 8, "MS Sans Serif", 0, 0, 0x1 202FONT 8, "MS Sans Serif", 0, 0, 0x1
203BEGIN 203BEGIN
204 DEFPUSHBUTTON "&Grant Access",IDOK,27,58,54,14 204 DEFPUSHBUTTON "&Grant Access",IDOK,27,58,54,14
205 PUSHBUTTON "&Deny Access",IDCANCEL,97,58,54,14 205 PUSHBUTTON "&Deny Access",IDCANCEL,97,58,54,14
206 LTEXT "The host",IDC_STATIC,77,7,29,8 206 LTEXT "The host",IDC_STATIC,77,7,29,8
207 CTEXT "255.255.255.255",IDC_HOST,57,15,68,14,SS_NOTIFY | 207 CTEXT "255.255.255.255",IDC_HOST,57,15,68,14,SS_NOTIFY |
208 SS_SUNKEN | WS_BORDER,WS_EX_DLGMODALFRAME | 208 SS_SUNKEN | WS_BORDER,WS_EX_DLGMODALFRAME |
209 WS_EX_CLIENTEDGE 209 WS_EX_CLIENTEDGE
210 CTEXT "is requesting the file",IDC_STATIC,23,29,135,8 210 CTEXT "is requesting the file",IDC_STATIC,23,29,135,8
211 CTEXT "",IDC_FILE,23,37,135,14,SS_NOTIFY | SS_SUNKEN | 211 CTEXT "",IDC_FILE,23,37,135,14,SS_NOTIFY | SS_SUNKEN |
212 WS_BORDER,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE 212 WS_BORDER,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE
213 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,54,167,1 213 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,54,167,1
214 ICON IDR_MAINFRAME,IDC_STATIC,7,7,18,20 214 ICON IDR_MAINFRAME,IDC_STATIC,7,7,18,20
215 ICON IDR_MAINFRAME,IDC_STATIC,153,7,18,20 215 ICON IDR_MAINFRAME,IDC_STATIC,153,7,18,20
216END 216END
217 217
218IDD_CONFIRM_WRQ DIALOGEX 0, 0, 201, 95 218IDD_CONFIRM_WRQ DIALOGEX 0, 0, 201, 95
219STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION 219STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION
220EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE 220EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE
221CAPTION " PumpKIN - Confirm Write Request" 221CAPTION " PumpKIN - Confirm Write Request"
222FONT 8, "MS Sans Serif", 0, 0, 0x1 222FONT 8, "MS Sans Serif", 0, 0, 0x1
223BEGIN 223BEGIN
224 DEFPUSHBUTTON "&Accept",IDOK,7,58,59,14 224 DEFPUSHBUTTON "&Accept",IDOK,7,58,59,14
225 PUSHBUTTON "&Rename",IDC_RENAME,71,58,59,14 225 PUSHBUTTON "&Rename",IDC_RENAME,71,58,59,14
226 PUSHBUTTON "&Deny Access",IDCANCEL,135,58,59,14 226 PUSHBUTTON "&Deny Access",IDCANCEL,135,58,59,14
227 LTEXT "The host",IDC_STATIC,87,7,29,8 227 LTEXT "The host",IDC_STATIC,87,7,29,8
228 CTEXT "255.255.255.255",IDC_HOST,67,15,68,14,SS_NOTIFY | 228 CTEXT "255.255.255.255",IDC_HOST,67,15,68,14,SS_NOTIFY |
229 SS_SUNKEN | WS_BORDER,WS_EX_DLGMODALFRAME | 229 SS_SUNKEN | WS_BORDER,WS_EX_DLGMODALFRAME |
230 WS_EX_CLIENTEDGE 230 WS_EX_CLIENTEDGE
231 CTEXT "is attempting to send you a file",IDC_STATIC,33,29,135, 231 CTEXT "is attempting to send you a file",IDC_STATIC,33,29,135,
232 8 232 8
233 CTEXT "",IDC_FILE,33,37,135,14,SS_NOTIFY | SS_SUNKEN | 233 CTEXT "",IDC_FILE,33,37,135,14,SS_NOTIFY | SS_SUNKEN |
234 WS_BORDER,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE 234 WS_BORDER,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE
235 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,54,187,1 235 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,54,187,1
236 ICON IDR_MAINFRAME,IDC_STATIC,7,7,21,20 236 ICON IDR_MAINFRAME,IDC_STATIC,7,7,21,20
237 ICON IDR_MAINFRAME,IDC_STATIC,173,7,21,20 237 ICON IDR_MAINFRAME,IDC_STATIC,173,7,21,20
238 PUSHBUTTON "Res&ume",IDC_RESUME,71,74,59,14 238 PUSHBUTTON "Res&ume",IDC_RESUME,71,74,59,14
239END 239END
240 240
241IDD_REQUEST DIALOGEX 0, 0, 191, 161 241IDD_REQUEST DIALOGEX 0, 0, 191, 161
242STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION | 242STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION |
243 WS_SYSMENU 243 WS_SYSMENU
244EXSTYLE WS_EX_CLIENTEDGE 244EXSTYLE WS_EX_CLIENTEDGE
245CAPTION "Request" 245CAPTION "Request"
246FONT 8, "MS Sans Serif", 0, 0, 0x1 246FONT 8, "MS Sans Serif", 0, 0, 0x1
247BEGIN 247BEGIN
248 LTEXT "&Local file:",IDC_STATIC,7,7,31,8,SS_NOTIFY 248 LTEXT "&Local file:",IDC_STATIC,7,7,31,8,SS_NOTIFY
249 EDITTEXT IDC_LOCALFILE,7,16,157,14,ES_AUTOHSCROLL, 249 EDITTEXT IDC_LOCALFILE,7,16,157,14,ES_AUTOHSCROLL,
250 WS_EX_CLIENTEDGE | WS_EX_STATICEDGE 250 WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
251 PUSHBUTTON "...",IDC_BROWSE,165,16,19,14,BS_ICON,WS_EX_STATICEDGE 251 PUSHBUTTON "...",IDC_BROWSE,165,16,19,14,BS_ICON,WS_EX_STATICEDGE
252 LTEXT "&Remote file:",IDC_STATIC,7,34,38,8,SS_NOTIFY 252 LTEXT "&Remote file:",IDC_STATIC,7,34,38,8,SS_NOTIFY
253 EDITTEXT IDC_REMOTEFILE,7,44,177,14,ES_AUTOHSCROLL, 253 EDITTEXT IDC_REMOTEFILE,7,44,177,14,ES_AUTOHSCROLL,
254 WS_EX_CLIENTEDGE | WS_EX_STATICEDGE 254 WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
255 LTEXT "Remote &host:",IDC_STATIC,7,61,43,8,SS_NOTIFY 255 LTEXT "Remote &host:",IDC_STATIC,7,61,43,8,SS_NOTIFY
256 COMBOBOX IDC_TALKS,7,72,157,66,CBS_SIMPLE | CBS_AUTOHSCROLL | 256 COMBOBOX IDC_TALKS,7,72,157,66,CBS_SIMPLE | CBS_AUTOHSCROLL |
257 CBS_SORT | CBS_NOINTEGRALHEIGHT | WS_VSCROLL | 257 CBS_SORT | CBS_NOINTEGRALHEIGHT | WS_VSCROLL |
258 WS_TABSTOP,WS_EX_CLIENTEDGE | WS_EX_STATICEDGE 258 WS_TABSTOP,WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
259 PUSHBUTTON "R\nE\n&F\nR\nE\nS\nH",IDC_REFRESH,165,72,19,66, 259 PUSHBUTTON "R\nE\n&F\nR\nE\nS\nH",IDC_REFRESH,165,72,19,66,
260 BS_CENTER | BS_VCENTER | BS_MULTILINE | BS_NOTIFY, 260 BS_CENTER | BS_VCENTER | BS_MULTILINE | BS_NOTIFY,
261 WS_EX_CLIENTEDGE 261 WS_EX_CLIENTEDGE
262 LTEXT "&Type:",IDC_STATIC,58,34,19,8 262 LTEXT "&Type:",IDC_STATIC,58,34,19,8
263 COMBOBOX IDC_TYPE,80,31,43,41,CBS_DROPDOWN | CBS_AUTOHSCROLL | 263 COMBOBOX IDC_TYPE,80,31,43,41,CBS_DROPDOWN | CBS_AUTOHSCROLL |
264 CBS_LOWERCASE | WS_VSCROLL | WS_TABSTOP 264 CBS_LOWERCASE | WS_VSCROLL | WS_TABSTOP
265 LTEXT "&Block:",IDC_STATIC,127,34,21,8 265 LTEXT "&Block:",IDC_STATIC,127,34,21,8
266 COMBOBOX IDC_BSIZE,149,31,35,53,CBS_DROPDOWN | WS_VSCROLL | 266 COMBOBOX IDC_BSIZE,149,31,35,53,CBS_DROPDOWN | WS_VSCROLL |
267 WS_TABSTOP 267 WS_TABSTOP
268 DEFPUSHBUTTON "OK",IDOK,35,140,50,14 268 DEFPUSHBUTTON "OK",IDOK,35,140,50,14
269 PUSHBUTTON "Cancel",IDCANCEL,101,140,50,14 269 PUSHBUTTON "Cancel",IDCANCEL,101,140,50,14
270 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT,52,32,1,11 270 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT,52,32,1,11
271END 271END
272 272
273IDD_PROPS_SOUNDS DIALOG DISCARDABLE 0, 0, 300, 201 273IDD_PROPS_SOUNDS DIALOG DISCARDABLE 0, 0, 300, 201
274STYLE WS_CHILD | WS_DISABLED | WS_CAPTION 274STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
275CAPTION "Sounds" 275CAPTION "Sounds"
276FONT 8, "MS Sans Serif" 276FONT 8, "MS Sans Serif"
277BEGIN 277BEGIN
278 LTEXT "&Incoming request:",IDC_STATIC,7,9,57,8 278 LTEXT "&Incoming request:",IDC_STATIC,7,9,57,8
279 COMBOBOX IDC_RING,70,7,188,100,CBS_DROPDOWN | CBS_AUTOHSCROLL | 279 COMBOBOX IDC_RING,70,7,188,100,CBS_DROPDOWN | CBS_AUTOHSCROLL |
280 CBS_SORT | WS_VSCROLL | WS_TABSTOP 280 CBS_SORT | WS_VSCROLL | WS_TABSTOP
281 PUSHBUTTON "browse",IDC_RING_BROWSE,263,7,13,13,BS_ICON 281 PUSHBUTTON "browse",IDC_RING_BROWSE,263,7,13,13,BS_ICON
282 PUSHBUTTON "play",IDC_RING_PLAY,280,7,13,13,BS_ICON 282 PUSHBUTTON "play",IDC_RING_PLAY,280,7,13,13,BS_ICON
283 LTEXT "xfer &finished:",IDC_STATIC,7,25,57,8 283 LTEXT "xfer &finished:",IDC_STATIC,7,25,57,8
284 COMBOBOX IDC_FINISHED,70,22,188,100,CBS_DROPDOWN | 284 COMBOBOX IDC_FINISHED,70,22,188,100,CBS_DROPDOWN |
285 CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP 285 CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP
286 PUSHBUTTON "browse",IDC_FINISHED_BROWSE,263,22,13,13,BS_ICON 286 PUSHBUTTON "browse",IDC_FINISHED_BROWSE,263,22,13,13,BS_ICON
287 PUSHBUTTON "play",IDC_FINISHED_PLAY,280,22,13,13,BS_ICON 287 PUSHBUTTON "play",IDC_FINISHED_PLAY,280,22,13,13,BS_ICON
288 LTEXT "xfer &aborted:",IDC_STATIC,7,40,57,8 288 LTEXT "xfer &aborted:",IDC_STATIC,7,40,57,8
289 COMBOBOX IDC_ABORTED,70,37,188,100,CBS_DROPDOWN | CBS_AUTOHSCROLL | 289 COMBOBOX IDC_ABORTED,70,37,188,100,CBS_DROPDOWN | CBS_AUTOHSCROLL |
290 CBS_SORT | WS_VSCROLL | WS_TABSTOP 290 CBS_SORT | WS_VSCROLL | WS_TABSTOP
291 PUSHBUTTON "browse",IDC_ABORTED_BROWSE,263,37,13,13,BS_ICON 291 PUSHBUTTON "browse",IDC_ABORTED_BROWSE,263,37,13,13,BS_ICON
292 PUSHBUTTON "play",IDC_ABORTED_PLAY,280,37,13,13,BS_ICON 292 PUSHBUTTON "play",IDC_ABORTED_PLAY,280,37,13,13,BS_ICON
293END 293END
294 294
295IDD_PROPS_ACL DIALOG DISCARDABLE 0, 0, 300, 201 295IDD_PROPS_ACL DIALOG DISCARDABLE 0, 0, 300, 201
296STYLE WS_CHILD | WS_DISABLED | WS_CAPTION 296STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
297CAPTION "Access Lists" 297CAPTION "Access Lists"
298FONT 8, "MS Sans Serif" 298FONT 8, "MS Sans Serif"
299BEGIN 299BEGIN
300 CONTROL "List1",IDC_ACL_LIST,"SysListView32",LVS_REPORT | 300 CONTROL "List1",IDC_ACL_LIST,"SysListView32",LVS_REPORT |
301 WS_BORDER | WS_TABSTOP,7,7,258,110 301 WS_BORDER | WS_TABSTOP,7,7,258,110
302 PUSHBUTTON "&Up",IDC_ACL_UP,273,7,20,30,BS_ICON | BS_CENTER | 302 PUSHBUTTON "&Up",IDC_ACL_UP,273,7,20,30,BS_ICON | BS_CENTER |
303 BS_VCENTER 303 BS_VCENTER
304 PUSHBUTTON "&Down",IDC_ACL_DOWN,273,87,20,30,BS_ICON | BS_CENTER | 304 PUSHBUTTON "&Down",IDC_ACL_DOWN,273,87,20,30,BS_ICON | BS_CENTER |
305 BS_VCENTER 305 BS_VCENTER
306 PUSHBUTTON "&Remove",IDC_ACL_REMOVE,273,47,20,30,BS_ICON | 306 PUSHBUTTON "&Remove",IDC_ACL_REMOVE,273,47,20,30,BS_ICON |
307 BS_CENTER | BS_VCENTER 307 BS_CENTER | BS_VCENTER
308 LTEXT "If",IDC_STATIC,13,128,8,8 308 LTEXT "If",IDC_STATIC,13,128,8,8
309 COMBOBOX IDC_ACL_XFER,21,125,48,67,CBS_DROPDOWNLIST | WS_VSCROLL | 309 COMBOBOX IDC_ACL_XFER,21,125,48,67,CBS_DROPDOWNLIST | WS_VSCROLL |
310 WS_TABSTOP 310 WS_TABSTOP
311 LTEXT "request comes from the address in the network", 311 LTEXT "request comes from the address in the network",
312 IDC_STATIC,71,128,122,8 312 IDC_STATIC,71,128,122,8
313 EDITTEXT IDC_ACL_ADDR,47,143,80,12,ES_AUTOHSCROLL 313 EDITTEXT IDC_ACL_ADDR,47,143,80,12,ES_AUTOHSCROLL
314 LTEXT "with netmask",IDC_STATIC,129,145,41,8 314 LTEXT "with netmask",IDC_STATIC,129,145,41,8
315 EDITTEXT IDC_ACL_NETMASK,173,143,80,12,ES_AUTOHSCROLL 315 EDITTEXT IDC_ACL_NETMASK,173,143,80,12,ES_AUTOHSCROLL
316 LTEXT "then",IDC_STATIC,124,160,15,8 316 LTEXT "then",IDC_STATIC,124,160,15,8
317 COMBOBOX IDC_ACL_RULE,143,158,123,117,CBS_DROPDOWNLIST | 317 COMBOBOX IDC_ACL_RULE,143,158,123,117,CBS_DROPDOWNLIST |
318 WS_VSCROLL | WS_TABSTOP 318 WS_VSCROLL | WS_TABSTOP
319 PUSHBUTTON "&Add new rule",IDC_ACL_ADD,7,178,130,16 319 PUSHBUTTON "&Add new rule",IDC_ACL_ADD,7,178,130,16
320 PUSHBUTTON "&Replace rule",IDC_ACL_REPLACE,152,178,130,16 320 PUSHBUTTON "&Replace rule",IDC_ACL_REPLACE,152,178,130,16
321END 321END
322 322
323 323
324#ifndef _MAC 324#ifndef _MAC
325///////////////////////////////////////////////////////////////////////////// 325/////////////////////////////////////////////////////////////////////////////
326// 326//
327// Version 327// Version
328// 328//
329 329
330VS_VERSION_INFO VERSIONINFO 330VS_VERSION_INFO VERSIONINFO
331 FILEVERSION 2,7,2,0 331 FILEVERSION 2,7,3,0
332 PRODUCTVERSION 2,7,2,0 332 PRODUCTVERSION 2,7,3,0
333 FILEFLAGSMASK 0x3fL 333 FILEFLAGSMASK 0x3fL
334#ifdef _DEBUG 334#ifdef _DEBUG
335 FILEFLAGS 0x1L 335 FILEFLAGS 0x1L
336#else 336#else
337 FILEFLAGS 0x0L 337 FILEFLAGS 0x0L
338#endif 338#endif
339 FILEOS 0x4L 339 FILEOS 0x4L
340 FILETYPE 0x1L 340 FILETYPE 0x1L
341 FILESUBTYPE 0x0L 341 FILESUBTYPE 0x0L
342BEGIN 342BEGIN
343 BLOCK "StringFileInfo" 343 BLOCK "StringFileInfo"
344 BEGIN 344 BEGIN
345 BLOCK "040904b0" 345 BLOCK "040904b0"
346 BEGIN 346 BEGIN
347 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" 347 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0"
348 VALUE "FileDescription", "PumpKIN, tftp client/daemon\0" 348 VALUE "FileDescription", "PumpKIN, tftp client/daemon\0"
349 VALUE "FileVersion", "2, 7, 2, 0\0" 349 VALUE "FileVersion", "2, 7, 3, 0\0"
350 VALUE "InternalName", "PUMPKIN\0" 350 VALUE "InternalName", "PUMPKIN\0"
351 VALUE "LegalCopyright", "Copyright © 1997-2006 Klever Group (http://www.klever.net)\0" 351 VALUE "LegalCopyright", "Copyright © 1997-2011 Klever Group (http://www.klever.net)\0"
352 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" 352 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0"
353 VALUE "OriginalFilename", "PUMPKIN.EXE\0" 353 VALUE "OriginalFilename", "PUMPKIN.EXE\0"
354 VALUE "ProductName", "PumpKIN\0" 354 VALUE "ProductName", "PumpKIN\0"
355 VALUE "ProductVersion", "2, 7, 2, 0\0" 355 VALUE "ProductVersion", "2, 7, 3, 0\0"
356 END 356 END
357 END 357 END
358 BLOCK "VarFileInfo" 358 BLOCK "VarFileInfo"
359 BEGIN 359 BEGIN
360 VALUE "Translation", 0x409, 1200 360 VALUE "Translation", 0x409, 1200
361 END 361 END
362END 362END
363 363
364#endif // !_MAC 364#endif // !_MAC
365 365
366 366
367///////////////////////////////////////////////////////////////////////////// 367/////////////////////////////////////////////////////////////////////////////
368// 368//
369// DESIGNINFO 369// DESIGNINFO
370// 370//
371 371
372#ifdef APSTUDIO_INVOKED 372#ifdef APSTUDIO_INVOKED
373GUIDELINES DESIGNINFO DISCARDABLE 373GUIDELINES DESIGNINFO DISCARDABLE
374BEGIN 374BEGIN
375 IDD_ABOUTBOX, DIALOG 375 IDD_ABOUTBOX, DIALOG
376 BEGIN 376 BEGIN
377 LEFTMARGIN, 7 377 LEFTMARGIN, 7
378 RIGHTMARGIN, 210 378 RIGHTMARGIN, 210
379 TOPMARGIN, 7 379 TOPMARGIN, 7
380 BOTTOMMARGIN, 67 380 BOTTOMMARGIN, 67
381 END 381 END
382 382
383 IDD_PUMPKIN_DIALOG, DIALOG 383 IDD_PUMPKIN_DIALOG, DIALOG
384 BEGIN 384 BEGIN
385 LEFTMARGIN, 7 385 LEFTMARGIN, 7
386 RIGHTMARGIN, 355 386 RIGHTMARGIN, 355
387 TOPMARGIN, 7 387 TOPMARGIN, 7
388 BOTTOMMARGIN, 186 388 BOTTOMMARGIN, 186
389 HORZGUIDE, 115 389 HORZGUIDE, 115
390 END 390 END
391 391
392 IDD_PROPS_SERVER, DIALOG 392 IDD_PROPS_SERVER, DIALOG
393 BEGIN 393 BEGIN
394 LEFTMARGIN, 7 394 LEFTMARGIN, 7
395 RIGHTMARGIN, 293 395 RIGHTMARGIN, 293
396 TOPMARGIN, 7 396 TOPMARGIN, 7
397 BOTTOMMARGIN, 194 397 BOTTOMMARGIN, 194
398 END 398 END
399 399
400 IDD_PROPS_NETWORK, DIALOG 400 IDD_PROPS_NETWORK, DIALOG
401 BEGIN 401 BEGIN
402 LEFTMARGIN, 7 402 LEFTMARGIN, 7
403 RIGHTMARGIN, 293 403 RIGHTMARGIN, 293
404 TOPMARGIN, 7 404 TOPMARGIN, 7
405 BOTTOMMARGIN, 194 405 BOTTOMMARGIN, 194
406 END 406 END
407 407
408 IDD_CONFIRM_RRQ, DIALOG 408 IDD_CONFIRM_RRQ, DIALOG
409 BEGIN 409 BEGIN
410 LEFTMARGIN, 7 410 LEFTMARGIN, 7
411 RIGHTMARGIN, 174 411 RIGHTMARGIN, 174
412 TOPMARGIN, 7 412 TOPMARGIN, 7
413 BOTTOMMARGIN, 72 413 BOTTOMMARGIN, 72
414 END 414 END
415 415
416 IDD_CONFIRM_WRQ, DIALOG 416 IDD_CONFIRM_WRQ, DIALOG
417 BEGIN 417 BEGIN
418 LEFTMARGIN, 7 418 LEFTMARGIN, 7
419 RIGHTMARGIN, 194 419 RIGHTMARGIN, 194
420 TOPMARGIN, 7 420 TOPMARGIN, 7
421 BOTTOMMARGIN, 88 421 BOTTOMMARGIN, 88
422 END 422 END
423 423
424 IDD_REQUEST, DIALOG 424 IDD_REQUEST, DIALOG
425 BEGIN 425 BEGIN
426 LEFTMARGIN, 7 426 LEFTMARGIN, 7
427 RIGHTMARGIN, 184 427 RIGHTMARGIN, 184
428 TOPMARGIN, 7 428 TOPMARGIN, 7
429 BOTTOMMARGIN, 154 429 BOTTOMMARGIN, 154
430 END 430 END
431 431
432 IDD_PROPS_SOUNDS, DIALOG 432 IDD_PROPS_SOUNDS, DIALOG
433 BEGIN 433 BEGIN
434 LEFTMARGIN, 7 434 LEFTMARGIN, 7
435 RIGHTMARGIN, 293 435 RIGHTMARGIN, 293
436 TOPMARGIN, 7 436 TOPMARGIN, 7
437 BOTTOMMARGIN, 194 437 BOTTOMMARGIN, 194
438 END 438 END
439 439
440 IDD_PROPS_ACL, DIALOG 440 IDD_PROPS_ACL, DIALOG
441 BEGIN 441 BEGIN
442 LEFTMARGIN, 7 442 LEFTMARGIN, 7
443 RIGHTMARGIN, 293 443 RIGHTMARGIN, 293
444 TOPMARGIN, 7 444 TOPMARGIN, 7
445 BOTTOMMARGIN, 194 445 BOTTOMMARGIN, 194
446 HORZGUIDE, 117 446 HORZGUIDE, 117
447 HORZGUIDE, 125 447 HORZGUIDE, 125
448 END 448 END
449END 449END
450#endif // APSTUDIO_INVOKED 450#endif // APSTUDIO_INVOKED
451 451
452 452
453///////////////////////////////////////////////////////////////////////////// 453/////////////////////////////////////////////////////////////////////////////
454// 454//
455// Bitmap 455// Bitmap
456// 456//
457 457
458IDB_BACKGROUND BITMAP DISCARDABLE "shared-data/klever-background.bmp" 458IDB_BACKGROUND BITMAP DISCARDABLE "shared-data/klever-background.bmp"
459 459
460///////////////////////////////////////////////////////////////////////////// 460/////////////////////////////////////////////////////////////////////////////
461// 461//
462// WAVE 462// WAVE
463// 463//
464 464
465IDR_WAVE_RING WAVE DISCARDABLE "res\\ring.wav" 465IDR_WAVE_RING WAVE DISCARDABLE "res\\ring.wav"
466IDR_WAVE_FINISHED WAVE DISCARDABLE "res\\finished.wav" 466IDR_WAVE_FINISHED WAVE DISCARDABLE "res\\finished.wav"
467IDR_WAVE_ABORTED WAVE DISCARDABLE "res\\failed.wav" 467IDR_WAVE_ABORTED WAVE DISCARDABLE "res\\failed.wav"
468 468
469///////////////////////////////////////////////////////////////////////////// 469/////////////////////////////////////////////////////////////////////////////
470// 470//
471// Dialog Info 471// Dialog Info
472// 472//
473 473
474IDD_REQUEST DLGINIT 474IDD_REQUEST DLGINIT
475BEGIN 475BEGIN
476 IDC_TYPE, 0x403, 6, 0 476 IDC_TYPE, 0x403, 6, 0
4770x636f, 0x6574, 0x0074, 4770x636f, 0x6574, 0x0074,
478 IDC_TYPE, 0x403, 9, 0 478 IDC_TYPE, 0x403, 9, 0
4790x656e, 0x6174, 0x6373, 0x6969, "\000" 4790x656e, 0x6174, 0x6373, 0x6969, "\000"
480 IDC_BSIZE, 0x403, 4, 0 480 IDC_BSIZE, 0x403, 4, 0
4810x3135, 0x0032, 4810x3135, 0x0032,
482 IDC_BSIZE, 0x403, 5, 0 482 IDC_BSIZE, 0x403, 5, 0
4830x3031, 0x3432, "\000" 4830x3031, 0x3432, "\000"
484 IDC_BSIZE, 0x403, 5, 0 484 IDC_BSIZE, 0x403, 5, 0
4850x3032, 0x3834, "\000" 4850x3032, 0x3834, "\000"
486 IDC_BSIZE, 0x403, 5, 0 486 IDC_BSIZE, 0x403, 5, 0
4870x3034, 0x3639, "\000" 4870x3034, 0x3639, "\000"
488 IDC_BSIZE, 0x403, 5, 0 488 IDC_BSIZE, 0x403, 5, 0
4890x3138, 0x3239, "\000" 4890x3138, 0x3239, "\000"
490 0 490 0
491END 491END
492 492
493IDD_PROPS_ACL DLGINIT 493IDD_PROPS_ACL DLGINIT
494BEGIN 494BEGIN
495 IDC_ACL_XFER, 0x403, 5, 0 495 IDC_ACL_XFER, 0x403, 5, 0
4960x6572, 0x6461, "\000" 4960x6572, 0x6461, "\000"
497 IDC_ACL_XFER, 0x403, 6, 0 497 IDC_ACL_XFER, 0x403, 6, 0
4980x7277, 0x7469, 0x0065, 4980x7277, 0x7469, 0x0065,
499 IDC_ACL_RULE, 0x403, 12, 0 499 IDC_ACL_RULE, 0x403, 12, 0
5000x6361, 0x6563, 0x7470, 0x6620, 0x6c69, 0x0065, 5000x6361, 0x6563, 0x7470, 0x6620, 0x6c69, 0x0065,
501 IDC_ACL_RULE, 0x403, 33, 0 501 IDC_ACL_RULE, 0x403, 33, 0
5020x6361, 0x6563, 0x7470, 0x6120, 0x646e, 0x7220, 0x6e65, 0x6d61, 0x2065, 5020x6361, 0x6563, 0x7470, 0x6120, 0x646e, 0x7220, 0x6e65, 0x6d61, 0x2065,
5030x6669, 0x6620, 0x6c69, 0x2065, 0x7865, 0x7369, 0x7374, "\000" 5030x6669, 0x6620, 0x6c69, 0x2065, 0x7865, 0x7369, 0x7374, "\000"
504 IDC_ACL_RULE, 0x403, 12, 0 504 IDC_ACL_RULE, 0x403, 12, 0
5050x6572, 0x656a, 0x7463, 0x6620, 0x6c69, 0x0065, 5050x6572, 0x656a, 0x7463, 0x6620, 0x6c69, 0x0065,
506 IDC_ACL_RULE, 0x403, 31, 0 506 IDC_ACL_RULE, 0x403, 31, 0
5070x6166, 0x6c6c, 0x6162, 0x6b63, 0x7420, 0x206f, 0x6874, 0x2065, 0x6c67, 5070x6166, 0x6c6c, 0x6162, 0x6b63, 0x7420, 0x206f, 0x6874, 0x2065, 0x6c67,
5080x626f, 0x6c61, 0x7320, 0x7465, 0x6974, 0x676e, "\000" 5080x626f, 0x6c61, 0x7320, 0x7465, 0x6974, 0x676e, "\000"
509 0 509 0
510END 510END
511 511
512 512
513///////////////////////////////////////////////////////////////////////////// 513/////////////////////////////////////////////////////////////////////////////
514// 514//
515// Menu 515// Menu
516// 516//
517 517
518IDM_POPUPS MENU DISCARDABLE 518IDM_POPUPS MENU DISCARDABLE
519BEGIN 519BEGIN
520 POPUP "&Tray" 520 POPUP "&Tray"
521 BEGIN 521 BEGIN
522 MENUITEM "&Send File", ID_TRAY_SENDFILE 522 MENUITEM "&Send File", ID_TRAY_SENDFILE
523 MENUITEM "F&etch file", ID_TRAY_FETCHFILE 523 MENUITEM "F&etch file", ID_TRAY_FETCHFILE
524 MENUITEM "&Options", ID_TRAY_OPTIONS 524 MENUITEM "&Options", ID_TRAY_OPTIONS
525 MENUITEM "&Listen to requests", ID_TRAY_LISTEN 525 MENUITEM "&Listen to requests", ID_TRAY_LISTEN
526 MENUITEM "Show &PumpKIN Window", ID_TRAY_SHOWPUMPKINWINDOW 526 MENUITEM "Show &PumpKIN Window", ID_TRAY_SHOWPUMPKINWINDOW
527 MENUITEM "Open &Files Folder", ID_TRAY_OPENFILESFOLDER 527 MENUITEM "Open &Files Folder", ID_TRAY_OPENFILESFOLDER
528 MENUITEM SEPARATOR 528 MENUITEM SEPARATOR
529 MENUITEM "&Help Topics", ID_TRAY_HELP 529 MENUITEM "&Help Topics", ID_TRAY_HELP
530 MENUITEM "&About PumpKIN", ID_TRAY_ABOUTPUMPKIN 530 MENUITEM "&About PumpKIN", ID_TRAY_ABOUTPUMPKIN
531 MENUITEM SEPARATOR 531 MENUITEM SEPARATOR
532 MENUITEM "E&xit", ID_TRAY_EXIT 532 MENUITEM "E&xit", ID_TRAY_EXIT
533 END 533 END
534END 534END
535 535
536 536
537///////////////////////////////////////////////////////////////////////////// 537/////////////////////////////////////////////////////////////////////////////
538// 538//
539// String Table 539// String Table
540// 540//
541 541
542STRINGTABLE DISCARDABLE 542STRINGTABLE DISCARDABLE
543BEGIN 543BEGIN
544 IDS_ABOUTBOX "&About PumpKIN..." 544 IDS_ABOUTBOX "&About PumpKIN..."
545 IDS_FMT_BYTES "%lu" 545 IDS_FMT_BYTES "%lu"
546 IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed." 546 IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed."
547 IDS_TFTP_ERROR_ACCESS "Access violation" 547 IDS_TFTP_ERROR_ACCESS "Access violation"
548 IDS_TFTP_ERROR_NOTFOUND "File not found" 548 IDS_TFTP_ERROR_NOTFOUND "File not found"
549 IDS_TFTP_ERROR_DIRFULL "Directory is full" 549 IDS_TFTP_ERROR_DIRFULL "Directory is full"
550 IDS_TFTP_ERROR_SHARING "Sharing violation" 550 IDS_TFTP_ERROR_SHARING "Sharing violation"
551 IDS_TFTP_ERROR_DISKFULL "Disk full" 551 IDS_TFTP_ERROR_DISKFULL "Disk full"
552 IDS_TFTP_ERROR_UNDEFINED "Undefined error" 552 IDS_TFTP_ERROR_UNDEFINED "Undefined error"
553 IDS_LOG_START "PumpKIN started" 553 IDS_LOG_START "PumpKIN started"
554 IDS_LOG_LISTENRECEIVEERROR "Error listening for incoming connections" 554 IDS_LOG_LISTENRECEIVEERROR "Error listening for incoming connections"
555END 555END
556 556
557STRINGTABLE DISCARDABLE 557STRINGTABLE DISCARDABLE
558BEGIN 558BEGIN
559 IDS_LOG_LISTENACCEPTERROR "Error accepting incoming connection" 559 IDS_LOG_LISTENACCEPTERROR "Error accepting incoming connection"
560 IDS_LOG_RRQSERVE "'%s' of type '%s' is requested from %s" 560 IDS_LOG_RRQSERVE "'%s' of type '%s' is requested from %s"
561 IDS_LOG_LISTENOPCODE "Invalid opcode in initial connection request" 561 IDS_LOG_LISTENOPCODE "Invalid opcode in initial connection request"
562 IDS_LOG_XFERUDPSEND "UDP packet send failed" 562 IDS_LOG_XFERUDPSEND "UDP packet send failed"
563 IDS_LOG_XFERRECEIVE "Error on xfer socket" 563 IDS_LOG_XFERRECEIVE "Error on xfer socket"
564 IDS_LOG_XFERSEND "Error on xfer socket" 564 IDS_LOG_XFERSEND "Error on xfer socket"
565 IDS_LOG_XFERUDPRECEIVE "UDP packet receive failed" 565 IDS_LOG_XFERUDPRECEIVE "UDP packet receive failed"
566 IDS_LOG_XFERSOURCETID "Packet from unexpected source" 566 IDS_LOG_XFERSOURCETID "Packet from unexpected source"
567 IDS_LOG_SENTTFTPERROR ">> %u: %s" 567 IDS_LOG_SENTTFTPERROR ">> %u: %s"
568 IDS_LOG_GOTTFTPERROR "TFTP:%u: %s" 568 IDS_LOG_GOTTFTPERROR "TFTP:%u: %s"
569 IDS_LOG_XFEROPCODE "Invalid opcode (%u) during transfer received" 569 IDS_LOG_XFEROPCODE "Invalid opcode (%u) during transfer received"
570 IDS_LOG_XFERRRQFINISHED "Transfer of '%s' has successfully completed" 570 IDS_LOG_XFERRRQFINISHED "Transfer of '%s' has successfully completed"
571 IDS_TITLE_OPTIONS "Options" 571 IDS_TITLE_OPTIONS "Options"
572 IDS_LOG_WRQSERVE "Writing of '%s' of type '%s' is requested by %s" 572 IDS_LOG_WRQSERVE "Writing of '%s' of type '%s' is requested by %s"
573 IDS_TFTP_ERROR_FAILEDTORENAME "Too many clones of the file" 573 IDS_TFTP_ERROR_FAILEDTORENAME "Too many clones of the file"
574 IDS_RENAME_TITLE "Save As" 574 IDS_RENAME_TITLE "Save As"
575END 575END
576 576
577STRINGTABLE DISCARDABLE 577STRINGTABLE DISCARDABLE
578BEGIN 578BEGIN
579 IDS_LOG_TIMEDOUT "Transmission of '%s' is timed out" 579 IDS_LOG_TIMEDOUT "Transmission of '%s' is timed out"
580 IDS_CONFIRMEXIT_TITLE "Exit" 580 IDS_CONFIRMEXIT_TITLE "Exit"
581 IDS_CONFIRMEXIT_TEXT "File transmission is currently in progress. Are you sure you want to exit?" 581 IDS_CONFIRMEXIT_TEXT "File transmission is currently in progress. Are you sure you want to exit?"
582 IDS_LOG_XFERWRQFINISHED "Transfer of '%s' has successfully completed" 582 IDS_LOG_XFERWRQFINISHED "Transfer of '%s' has successfully completed"
583 IDS_LOG_XFERABORTED "Transfer of '%s' was aborted" 583 IDS_LOG_XFERABORTED "Transfer of '%s' was aborted"
584 IDS_TITLE_PUTREQUEST "Send file" 584 IDS_TITLE_PUTREQUEST "Send file"
585 IDS_TITLE_GETREQUEST "Fetch file" 585 IDS_TITLE_GETREQUEST "Fetch file"
586 IDS_WTALKHEADING "Talk with " 586 IDS_WTALKHEADING "Talk with "
587 IDS_TITLE_BROWSEFILE "Browse" 587 IDS_TITLE_BROWSEFILE "Browse"
588 IDS_LOG_RESOLVEFAILED "Failed to resolve host address for '%s'" 588 IDS_LOG_RESOLVEFAILED "Failed to resolve host address for '%s'"
589 IDS_LOG_FAILEDLOCALFILE "Failed to open local file '%s'" 589 IDS_LOG_FAILEDLOCALFILE "Failed to open local file '%s'"
590 IDS_LOG_FAILEDTOOPEN "Failed to open '%s'" 590 IDS_LOG_FAILEDTOOPEN "Failed to open '%s'"
591 IDS_OTALXHEADING "Open Talks: talking to " 591 IDS_OTALXHEADING "Open Talks: talking to "
592 IDS_REGISTRYKEY "Klever Group" 592 IDS_REGISTRYKEY "Klever Group"
593 IDS_KLEVERNET_URL "http://www.klever.net/" 593 IDS_KLEVERNET_URL "http://www.klever.net/"
594 IDS_LOGTIMEFORMAT "%H:%M:%S %B %d" 594 IDS_LOGTIMEFORMAT "%H:%M:%S %B %d"
595END 595END
596 596
597STRINGTABLE DISCARDABLE 597STRINGTABLE DISCARDABLE
598BEGIN 598BEGIN
599 ID_TRAY_HELP "Read the help on PumpKIN" 599 ID_TRAY_HELP "Read the help on PumpKIN"
600 ID_TRAY_ABOUTPUMPKIN "Learn about PumpKIN and it's creator" 600 ID_TRAY_ABOUTPUMPKIN "Learn about PumpKIN and it's creator"
601 ID_TRAY_EXIT "Close PumpKIN" 601 ID_TRAY_EXIT "Close PumpKIN"
602 ID_TRAY_SENDFILE "Send file over the network to your tete-a-tete" 602 ID_TRAY_SENDFILE "Send file over the network to your tete-a-tete"
603 ID_TRAY_FETCHFILE "Fetch file from remote computer" 603 ID_TRAY_FETCHFILE "Fetch file from remote computer"
604 ID_TRAY_OPTIONS "Set PumpKIN options" 604 ID_TRAY_OPTIONS "Set PumpKIN options"
605 ID_TRAY_SHOWPUMPKINWINDOW "Show main window" 605 ID_TRAY_SHOWPUMPKINWINDOW "Show main window"
606 ID_TRAY_OPENFILESFOLDER "Explore TFTP root folder" 606 ID_TRAY_OPENFILESFOLDER "Explore TFTP root folder"
607 ID_TRAY_LISTEN "Listen for incoming requests" 607 ID_TRAY_LISTEN "Listen for incoming requests"
608END 608END
609 609
610STRINGTABLE DISCARDABLE 610STRINGTABLE DISCARDABLE
611BEGIN 611BEGIN
612 IDC_CONNECTIONS "Active transfers" 612 IDC_CONNECTIONS "Active transfers"
613 IDC_LOG "PumpKIN Activity Log" 613 IDC_LOG "PumpKIN Activity Log"
614 IDC_GET "Fetch file from remote server" 614 IDC_GET "Fetch file from remote server"
615 IDC_PUT "Send file over the net" 615 IDC_PUT "Send file over the net"
616 IDC_ABORT "Abort transfer currently in progress" 616 IDC_ABORT "Abort transfer currently in progress"
617 IDC_EXIT "Close PumpKIN" 617 IDC_EXIT "Close PumpKIN"
618END 618END
619 619
620STRINGTABLE DISCARDABLE 620STRINGTABLE DISCARDABLE
621BEGIN 621BEGIN
622 IDC_OPTIONS "Set PumpKIN options" 622 IDC_OPTIONS "Set PumpKIN options"
623 IDC_REFRESH "Refresh talks list" 623 IDC_REFRESH "Refresh talks list"
624 IDC_BROWSE "Browse" 624 IDC_BROWSE "Browse"
625END 625END
626 626
627STRINGTABLE DISCARDABLE 627STRINGTABLE DISCARDABLE
628BEGIN 628BEGIN
629 ID_HELP "Read help on PumpKIN" 629 ID_HELP "Read help on PumpKIN"
630END 630END
631 631
632STRINGTABLE DISCARDABLE 632STRINGTABLE DISCARDABLE
633BEGIN 633BEGIN
634 IDS_DROPFILES_TITLE "Drop Files" 634 IDS_DROPFILES_TITLE "Drop Files"
635 IDS_NOMULTIPLEDROP_TEXT "You can't drop more than one file here. Only the first one will be accepted" 635 IDS_NOMULTIPLEDROP_TEXT "You can't drop more than one file here. Only the first one will be accepted"
636 IDS_LOG_REQUESTING "Requesting '%s' from '%s'" 636 IDS_LOG_REQUESTING "Requesting '%s' from '%s'"
637 IDS_LOG_SENDING "Sending '%s' to '%s'" 637 IDS_LOG_SENDING "Sending '%s' to '%s'"
638 IDS_WTALKAT "@" 638 IDS_WTALKAT "@"
639 IDS_OTALXAT " at " 639 IDS_OTALXAT " at "
640 IDS_TFTP_ERROR_TSIZE "Invalid transfer size" 640 IDS_TFTP_ERROR_TSIZE "Invalid transfer size"
641 IDS_TFTP_ERROR_BSIZE "Invalid block size" 641 IDS_TFTP_ERROR_BSIZE "Invalid block size"
642 IDS_TFTP_ERROR_TOUT "Invalid timeout" 642 IDS_TFTP_ERROR_TOUT "Invalid timeout"
643 IDS_SELECT_TFTPROOT "Select TFTP filesystem root.." 643 IDS_SELECT_TFTPROOT "Select TFTP filesystem root.."
644 IDS_FILTER_WAV "Sound Files (*.wav)|*.wav||" 644 IDS_FILTER_WAV "Sound Files (*.wav)|*.wav||"
645 IDS_TITLE_WAV "Select sound.." 645 IDS_TITLE_WAV "Select sound.."
646 IDS_BOX_CANTBIND "Failed to create listening socket. The port may be in use by another application." 646 IDS_BOX_CANTBIND "Failed to create listening socket. The port may be in use by another application."
647 IDS_NO_XFER_OP "No request type specified." 647 IDS_NO_XFER_OP "No request type specified."
648 IDS_INVALID_IP "Invalid IP address." 648 IDS_INVALID_IP "Invalid IP address."
649 IDS_INVALID_NETMASK "Invalid netmask." 649 IDS_INVALID_NETMASK "Invalid netmask."
650END 650END
651 651
652STRINGTABLE DISCARDABLE 652STRINGTABLE DISCARDABLE
653BEGIN 653BEGIN
654 AFX_IDS_APP_TITLE "PUMPKIN" 654 AFX_IDS_APP_TITLE "PUMPKIN"
655END 655END
656 656
657STRINGTABLE DISCARDABLE 657STRINGTABLE DISCARDABLE
658BEGIN 658BEGIN
659 IDS_INVALID_RULE "Invalid access rule." 659 IDS_INVALID_RULE "Invalid access rule."
660 IDS_LOG_LOGERROR "Error logging to '%s'" 660 IDS_LOG_LOGERROR "Error logging to '%s'"
661 IDS_TFTP_ERROR_TOOBIG "File is too big, try increasing block size" 661 IDS_TFTP_ERROR_TOOBIG "File is too big, try increasing block size"
662END 662END
663 663
664#endif // English (U.S.) resources 664#endif // English (U.S.) resources
665///////////////////////////////////////////////////////////////////////////// 665/////////////////////////////////////////////////////////////////////////////
666 666
667 667
668 668
669#ifndef APSTUDIO_INVOKED 669#ifndef APSTUDIO_INVOKED
670///////////////////////////////////////////////////////////////////////////// 670/////////////////////////////////////////////////////////////////////////////
671// 671//
672// Generated from the TEXTINCLUDE 3 resource. 672// Generated from the TEXTINCLUDE 3 resource.
673// 673//
674#define _AFX_NO_SPLITTER_RESOURCES 674#define _AFX_NO_SPLITTER_RESOURCES
675#define _AFX_NO_OLE_RESOURCES 675#define _AFX_NO_OLE_RESOURCES
676#define _AFX_NO_TRACKER_RESOURCES 676#define _AFX_NO_TRACKER_RESOURCES
677#define _AFX_NO_PROPERTY_RESOURCES 677#define _AFX_NO_PROPERTY_RESOURCES
678 678
679#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) 679#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
680#ifdef _WIN32 680#ifdef _WIN32
681LANGUAGE 9, 1 681LANGUAGE 9, 1
682#pragma code_page(1252) 682#pragma code_page(1252)
683#endif 683#endif
684#include "res\PumpKIN.rc2" // non-Microsoft Visual C++ edited resources 684#include "res\PumpKIN.rc2" // non-Microsoft Visual C++ edited resources
685#include "afxres.rc" // Standard components 685#include "afxres.rc" // Standard components
686#endif 686#endif
687///////////////////////////////////////////////////////////////////////////// 687/////////////////////////////////////////////////////////////////////////////
688#endif // not APSTUDIO_INVOKED 688#endif // not APSTUDIO_INVOKED
689 689