Convert keyboard events into Unicode properly. I can now type all manner of
[u/mdw/putty] / mac / mac_res.r
index c3545a2..6105a55 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: mac_res.r,v 1.21 2003/01/20 22:55:08 ben Exp $ */
+/* $Id: mac_res.r,v 1.25 2003/02/02 15:59:00 ben Exp $ */
 /*
  * Copyright (c) 1999, 2002 Ben Harris
  * All rights reserved.
@@ -142,6 +142,30 @@ resource 'BNDL' (129, purgeable) {
     };
 };
 
+/* Open resource, for the Translation Manager and Navigation Services */
+resource 'open' (open_pTTY) {
+    'pTTY',
+    { 'Sess' }
+};
+
+/* Kind resources, for Navigation services etc. */
+resource 'kind' (128) {
+    'pTTY',
+    verBritain,
+    {
+       'Sess', "PuTTY saved session",
+    }
+};
+
+resource 'kind' (129) {
+    'pTTI',
+    verBritain,
+    {
+       'HKey', "PuTTY host key database",
+       'Seed', "PuTTY random number seed",
+    }
+};
+
 /* Icons, courtesy of DeRez */
 
 /* Application icon */
@@ -791,11 +815,11 @@ resource 'ics8' (FREF_Seed) {
 };
 
 resource 'vers' (1, purgeable) {
-    /* XXX This needs to be updated for each new version */
-    VERSION_MAJOR, VERSION_MINOR,
 #ifdef RELEASE
+    VERSION_MAJOR, VERSION_MINOR,
     beta,
 #else
+    VERSION_MAJOR, VERSION_MINOR + 1,
     development,
 #endif
     0, /* No prerelease version */
@@ -815,11 +839,11 @@ resource 'vers' (1, purgeable) {
 };
 
 resource 'vers' (2, purgeable) {
-    /* XXX This needs to be updated for each new version */
-    VERSION_MAJOR, VERSION_MINOR,
 #ifdef RELEASE
+    VERSION_MAJOR, VERSION_MINOR,
     beta,
 #else
+    VERSION_MAJOR, VERSION_MINOR + 1,
     development,
 #endif
     0, /* No prerelease version */
@@ -893,15 +917,17 @@ resource 'MENU' (mApple, preload) {
 resource 'MENU' (mFile, preload) {
     mFile,
     textMenuProc,
-    0b11111111111111111111111111011111,
+    0b11111111111111111111111101111011,
     enabled,
     "Session",
     {
        "New",                  noicon, "N",   nomark, plain,
        "Open\0xc9",            noicon, "O",   nomark, plain,
+       "-",                    noicon, nokey, nomark, plain,
        "Close",                noicon, "W",   nomark, plain,
        "Save",                 noicon, "S",   nomark, plain,
        "Save As\0xc9",         noicon, nokey, nomark, plain,
+       "Duplicate",            noicon, "D",   nomark, plain,
        "-",                    noicon, nokey, nomark, plain,
        "Quit",                 noicon, "Q",   nomark, plain,
     }
@@ -1052,7 +1078,7 @@ resource 'TEXT' (wLicence, "licence", purgeable) {
     "\n"
     "Portions copyright Robert de Bath, Joris van Rantwijk, Delian"
     "Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry,"
-    "Justin Bradford, and CORE SDI S.A.\n"
+    "Justin Bradford, Ben Harris, and CORE SDI S.A.\n"
     "\n"    
     "Permission is hereby granted, free of charge, to any person "
     "obtaining a copy of this software and associated documentation "