home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume11 / contool / patch3 / patch.Z.uu / patch.Z / patch
Encoding:
Text File  |  1991-01-27  |  64.2 KB  |  1,428 lines

  1. *** README.orig    Tue Jan 15 11:44:03 1991
  2. --- README    Thu Nov 29 15:36:54 1990
  3. ***************
  4. *** 183,185 ****
  5. --- 183,192 ----
  6.       3.0b            Fixed "tiny icon" bug.
  7.                   Added "About contool..." dialog.
  8.                   Source restructuring for maintainability.
  9. +     3.0c            Added -n option to prevent console
  10. +                    acquisition on startup.
  11. +                 Fixed bugs in send mail dialog.
  12. +                 Changed send mail "Cancel" to close window.
  13. +                 Updated help for "File" button.
  14. +                 Dialogs no longer come up clipped by the
  15. +                    bottom of the screen.
  16. *** contool.man.orig    Tue Jan 15 11:44:04 1991
  17. --- contool.man    Thu Nov 29 15:55:09 1990
  18. ***************
  19. *** 2,8 ****
  20.   .SH NAME
  21.   contool \- capture and display console output
  22.   .SH SYNOPSIS
  23. ! contool [\fB\(hyf\fP \fIfile\fP] [\fB\(hyl\fP] [\f3\(hyL\fP \f2logfile\fP]
  24.   .SH DESCRIPTION
  25.   .LP
  26.   \f2Contool\fP captures and displays any messages sent to the system console.
  27. --- 2,8 ----
  28.   .SH NAME
  29.   contool \- capture and display console output
  30.   .SH SYNOPSIS
  31. ! contool [\fB\(hyf\fP \fIfile\fP] [\fB\(hyl\fP] [\f3\(hyL\fP \f2logfile\fP] [\f3\(hyn\fP]
  32.   .SH DESCRIPTION
  33.   .LP
  34.   \f2Contool\fP captures and displays any messages sent to the system console.
  35. ***************
  36. *** 30,35 ****
  37. --- 30,39 ----
  38.   options used together allow multiple copies of contool to be started on 
  39.   a single machine, with each copy logging to a different file, without
  40.   having to create and maintain multiple configuration files.
  41. + .IP "\fB\\(hyn\fP"
  42. + prevents \f2contool\fP from acquiring the console when it starts.  This
  43. + is most useful when testing a new version of contool, so that the test
  44. + copy does not interfere with any previously running console tool.
  45.   .SH USER INTERFACE
  46.   .LP
  47.   \f2Contool\fP presents the user with a control panel containing three
  48. ***************
  49. *** 85,90 ****
  50. --- 89,97 ----
  51.   uses the \*(lqPrint Filter\*(rq specified in the tool properties to 
  52.   print the contents of the console.  Only messages saved in the console
  53.   can be printed.
  54. + .IP "\fBFile: About Contool...\fP"
  55. + provides a brief history of \f2contool\fP, and allows users to send
  56. + e-mail to the contool developer.
  57.   .IP "\fBView: Become Console\fP"
  58.   ensures that \f2contool\fP has the system console attribute.  SunOS
  59.   allows exactly one process in the system to own the console.  If some
  60. *** contool.info.orig    Tue Jan 15 11:44:05 1991
  61. --- contool.info    Tue Jan 15 11:23:53 1991
  62. ***************
  63. *** 19,24 ****
  64. --- 19,26 ----
  65.   
  66.   "Print" prints the contents of the console use the print filter specified in the Properties dialog. 
  67.   
  68. + "About Contool" displays a brief history of contool, and allows users to send e-mail to contool's developer.
  69.   The default action is "Load Configuration".
  70.   # 
  71.   :view
  72. *** about.c.orig    Tue Jan 15 11:44:07 1991
  73. --- about.c    Tue Jan 15 08:47:18 1991
  74. ***************
  75. *** 1,4 ****
  76. --- 1,23 ----
  77.   /************************************************************************/
  78. + /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  79. + /*                                    */
  80. + /*    Full ownership of this software, and all rights pertaining to     */
  81. + /*    the for-profit distribution of this software, are retained by     */
  82. + /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  83. + /*    use this software without fee.  This software is provided "as     */
  84. + /*    is" without express or implied warranty.  You may redistribute     */
  85. + /*    this software, provided that this copyright notice is retained,    */
  86. + /*    and that the software is not distributed for profit.  If you     */
  87. + /*    wish to use this software in a profit-making venture, you must     */
  88. + /*    first license this code and its underlying technology from     */
  89. + /*    Harris Corporation.                         */
  90. + /*                                    */
  91. + /*    Bottom line: you can have this software, you can use it, you     */
  92. + /*    can give it away.  You just can't sell any or all parts of it     */
  93. + /*    without prior permission from Harris Corporation.         */
  94. + /************************************************************************/
  95. + /************************************************************************/
  96.   /*                                    */
  97.   /*    about.c        display a little information window        */
  98.   /*                                    */
  99. *** busy.c.orig    Tue Jan 15 11:44:08 1991
  100. --- busy.c    Tue Jan 15 08:38:58 1991
  101. ***************
  102. *** 1,19 ****
  103.   /************************************************************************/
  104. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  105.   /*                                    */
  106. ! /*    Permission to use, copy, modify, and distribute this software    */
  107. ! /*    and its documentation for any purpose and without fee is    */
  108. ! /*    hereby granted, provided that the above copyright notice    */
  109. ! /*    appear in all copies and that both that copyright notice and    */
  110. ! /*    this permission notice appear in supporting documentation, and    */
  111. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  112. ! /*    used in advertising or publicity pertaining to distribution    */
  113. ! /*    of the software without specific, written prior permission.    */
  114. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  115. ! /*    about the suitability of this software for any purpose.  It is    */
  116. ! /*    provided "as is" without express or implied warranty.  This     */
  117. ! /*    software may not be sold without the prior explicit permission    */
  118. ! /*    of Harris Corporation.                        */
  119.   /************************************************************************/
  120.   
  121.   /************************************************************************/
  122. --- 1,20 ----
  123.   /************************************************************************/
  124. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  125.   /*                                    */
  126. ! /*    Full ownership of this software, and all rights pertaining to     */
  127. ! /*    the for-profit distribution of this software, are retained by     */
  128. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  129. ! /*    use this software without fee.  This software is provided "as     */
  130. ! /*    is" without express or implied warranty.  You may redistribute     */
  131. ! /*    this software, provided that this copyright notice is retained,    */
  132. ! /*    and that the software is not distributed for profit.  If you     */
  133. ! /*    wish to use this software in a profit-making venture, you must     */
  134. ! /*    first license this code and its underlying technology from     */
  135. ! /*    Harris Corporation.                         */
  136. ! /*                                    */
  137. ! /*    Bottom line: you can have this software, you can use it, you     */
  138. ! /*    can give it away.  You just can't sell any or all parts of it     */
  139. ! /*    without prior permission from Harris Corporation.         */
  140.   /************************************************************************/
  141.   
  142.   /************************************************************************/
  143. *** contool.c.orig    Tue Jan 15 11:44:09 1991
  144. --- contool.c    Tue Jan 15 08:47:05 1991
  145. ***************
  146. *** 1,19 ****
  147.   /************************************************************************/
  148. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  149.   /*                                    */
  150. ! /*    Permission to use, copy, modify, and distribute this software    */
  151. ! /*    and its documentation for any purpose and without fee is    */
  152. ! /*    hereby granted, provided that the above copyright notice    */
  153. ! /*    appear in all copies and that both that copyright notice and    */
  154. ! /*    this permission notice appear in supporting documentation, and    */
  155. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  156. ! /*    used in advertising or publicity pertaining to distribution    */
  157. ! /*    of the software without specific, written prior permission.    */
  158. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  159. ! /*    about the suitability of this software for any purpose.  It is    */
  160. ! /*    provided "as is" without express or implied warranty.  This     */
  161. ! /*    software may not be sold without the prior explicit permission    */
  162. ! /*    of Harris Corporation.                        */
  163.   /************************************************************************/
  164.   
  165.   /************************************************************************/
  166. --- 1,20 ----
  167.   /************************************************************************/
  168. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  169.   /*                                    */
  170. ! /*    Full ownership of this software, and all rights pertaining to     */
  171. ! /*    the for-profit distribution of this software, are retained by     */
  172. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  173. ! /*    use this software without fee.  This software is provided "as     */
  174. ! /*    is" without express or implied warranty.  You may redistribute     */
  175. ! /*    this software, provided that this copyright notice is retained,    */
  176. ! /*    and that the software is not distributed for profit.  If you     */
  177. ! /*    wish to use this software in a profit-making venture, you must     */
  178. ! /*    first license this code and its underlying technology from     */
  179. ! /*    Harris Corporation.                         */
  180. ! /*                                    */
  181. ! /*    Bottom line: you can have this software, you can use it, you     */
  182. ! /*    can give it away.  You just can't sell any or all parts of it     */
  183. ! /*    without prior permission from Harris Corporation.         */
  184.   /************************************************************************/
  185.   
  186.   /************************************************************************/
  187. ***************
  188. *** 32,37 ****
  189. --- 33,39 ----
  190.   #include    <sys/param.h>
  191.   
  192.   #include    <X11/Xlib.h>
  193. + #include    <X11/Xutil.h>
  194.   
  195.   #include    <xview/xview.h>
  196.   #include    <xview/icon.h>
  197. ***************
  198. *** 67,73 ****
  199.   #include    "icons/mask.icon"
  200.                      };
  201.   
  202. ! PRIVATE    char            *ct_usage = "usage: contool [-c <file>] [-l] [-L <file>]\n";
  203.   
  204.   PRIVATE    Server_image        default_good_icon, good = NULL;
  205.   PRIVATE    Server_image        default_bad_icon, bad = NULL;
  206. --- 69,75 ----
  207.   #include    "icons/mask.icon"
  208.                      };
  209.   
  210. ! PRIVATE    char            *ct_usage = "usage: contool [-c <file>] [-l] [-L <file>] [-n]\n";
  211.   
  212.   PRIVATE    Server_image        default_good_icon, good = NULL;
  213.   PRIVATE    Server_image        default_bad_icon, bad = NULL;
  214. ***************
  215. *** 83,88 ****
  216. --- 85,91 ----
  217.   PRIVATE    int            explicit_filters = FALSE;
  218.   PRIVATE    int            masking_works;
  219.   PRIVATE    FILE            *master = NULL;
  220. + PRIVATE    int            no_console = FALSE;
  221.   PRIVATE    int            old_time = 0;
  222.   PRIVATE    char            *program;
  223.   PRIVATE    FILE            *slave = NULL;
  224. ***************
  225. *** 575,581 ****
  226.       sprintf(path, "%s/.contool", getenv("HOME"));
  227.       filter_file = strsave(path);
  228.   
  229. !     while ((c = getopt(argc, argv, "c:lL:?", &s)) != EOF)
  230.          switch (c) {
  231.             case 'c' : filter_file = expand_tilde(s);
  232.                      explicit_filters = TRUE;
  233. --- 578,584 ----
  234.       sprintf(path, "%s/.contool", getenv("HOME"));
  235.       filter_file = strsave(path);
  236.   
  237. !     while ((c = getopt(argc, argv, "c:lL:n?", &s)) != EOF)
  238.          switch (c) {
  239.             case 'c' : filter_file = expand_tilde(s);
  240.                      explicit_filters = TRUE;
  241. ***************
  242. *** 584,589 ****
  243. --- 587,594 ----
  244.                      break;
  245.             case 'L' : log_file = expand_tilde(s);
  246.                      break;
  247. +           case 'n' : no_console = TRUE;
  248. +                    break;
  249.             case '?' : fprintf(stderr, ct_usage);
  250.                      exit(0);
  251.                      break;
  252. ***************
  253. *** 610,618 ****
  254.   int    argc;
  255.   char    **argv;
  256.   
  257. ! {    char    buf[1024], *path, *open_psuedo_tty();
  258.       int    i;
  259.       XWindowAttributes    attr;
  260.   
  261.       program = strsave(argv[0]);
  262.   
  263. --- 615,624 ----
  264.   int    argc;
  265.   char    **argv;
  266.   
  267. ! {    char    buf[1024], *p, *path, *open_psuedo_tty();
  268.       int    i;
  269.       XWindowAttributes    attr;
  270. +     XClassHint    hints;
  271.   
  272.       program = strsave(argv[0]);
  273.   
  274. ***************
  275. *** 627,634 ****
  276.       if (fcntl(fileno(master), F_SETFL, i) == -1)
  277.          abend("%s: could not force %s to non-blocking i/o", program);
  278.   
  279. -     acquire_console(path);
  280.       xv_init(XV_INIT_ARGC_PTR_ARGV, &argc, argv, 0);
  281.       INSTANCE = xv_unique_key();
  282.   
  283. --- 633,638 ----
  284. ***************
  285. *** 658,666 ****
  286. --- 662,676 ----
  287.       XGetWindowAttributes(xv_get(contool_base->base, XV_DISPLAY), xv_get(xv_get(contool_base->base, XV_ROOT), XV_XID), &attr);
  288.       masking_works = (attr.depth > 1);
  289.   
  290. +     hints.res_class = "Contool";
  291. +     hints.res_name = (p = rindex(program, '/'))? p + 1 : program;
  292. +     XSetClassHint(xv_get(contool_base->base, XV_DISPLAY), xv_get(xv_get(contool_base->base, XV_ROOT), XV_XID), &hints);
  293.       parse_options(&argc, argv);
  294.       load_filters();
  295.       update_icons();
  296. +     if (!no_console)
  297. +        acquire_console();
  298.   
  299.       notify_set_input_func(contool_base->base, input_func, fileno(master));
  300.       notify_interpose_destroy_func(contool_base->base, destroy_proc);
  301. *** contool.h.orig    Tue Jan 15 11:44:11 1991
  302. --- contool.h    Tue Jan 15 08:47:03 1991
  303. ***************
  304. *** 1,19 ****
  305.   /************************************************************************/
  306. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  307.   /*                                    */
  308. ! /*    Permission to use, copy, modify, and distribute this software    */
  309. ! /*    and its documentation for any purpose and without fee is    */
  310. ! /*    hereby granted, provided that the above copyright notice    */
  311. ! /*    appear in all copies and that both that copyright notice and    */
  312. ! /*    this permission notice appear in supporting documentation, and    */
  313. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  314. ! /*    used in advertising or publicity pertaining to distribution    */
  315. ! /*    of the software without specific, written prior permission.    */
  316. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  317. ! /*    about the suitability of this software for any purpose.  It is    */
  318. ! /*    provided "as is" without express or implied warranty.  This     */
  319. ! /*    software may not be sold without the prior explicit permission    */
  320. ! /*    of Harris Corporation.                        */
  321.   /************************************************************************/
  322.   
  323.   /************************************************************************/
  324. --- 1,20 ----
  325.   /************************************************************************/
  326. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  327.   /*                                    */
  328. ! /*    Full ownership of this software, and all rights pertaining to     */
  329. ! /*    the for-profit distribution of this software, are retained by     */
  330. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  331. ! /*    use this software without fee.  This software is provided "as     */
  332. ! /*    is" without express or implied warranty.  You may redistribute     */
  333. ! /*    this software, provided that this copyright notice is retained,    */
  334. ! /*    and that the software is not distributed for profit.  If you     */
  335. ! /*    wish to use this software in a profit-making venture, you must     */
  336. ! /*    first license this code and its underlying technology from     */
  337. ! /*    Harris Corporation.                         */
  338. ! /*                                    */
  339. ! /*    Bottom line: you can have this software, you can use it, you     */
  340. ! /*    can give it away.  You just can't sell any or all parts of it     */
  341. ! /*    without prior permission from Harris Corporation.         */
  342.   /************************************************************************/
  343.   
  344.   /************************************************************************/
  345. *** contool_ui.c.orig    Tue Jan 15 11:44:12 1991
  346. --- contool_ui.c    Tue Jan 15 11:23:54 1991
  347. ***************
  348. *** 65,71 ****
  349.               NULL,
  350.           MENU_ITEM,
  351.               XV_KEY_DATA, INSTANCE, ip,
  352. !             MENU_STRING, "About contool...",
  353.               MENU_GEN_PROC, popup_about_contool,
  354.               NULL,
  355.           MENU_DEFAULT, 2,
  356. --- 65,71 ----
  357.               NULL,
  358.           MENU_ITEM,
  359.               XV_KEY_DATA, INSTANCE, ip,
  360. !             MENU_STRING, "About Contool...",
  361.               MENU_GEN_PROC, popup_about_contool,
  362.               NULL,
  363.           MENU_DEFAULT, 2,
  364. ***************
  365. *** 313,319 ****
  366.           XV_KEY_DATA, INSTANCE, ip,
  367.           XV_WIDTH, 575,
  368.           XV_HEIGHT, 246,
  369. !         XV_LABEL, "Contool 3.0b",
  370.           FRAME_CLOSED, FALSE,
  371.           FRAME_SHOW_FOOTER, TRUE,
  372.           FRAME_SHOW_RESIZE_CORNER, TRUE,
  373. --- 313,319 ----
  374.           XV_KEY_DATA, INSTANCE, ip,
  375.           XV_WIDTH, 575,
  376.           XV_HEIGHT, 246,
  377. !         XV_LABEL, "Contool 3.0c",
  378.           FRAME_CLOSED, FALSE,
  379.           FRAME_SHOW_FOOTER, TRUE,
  380.           FRAME_SHOW_RESIZE_CORNER, TRUE,
  381. ***************
  382. *** 2011,2019 ****
  383.           XV_HELP_DATA, "contool:message1",
  384.           XV_X, 210,
  385.           XV_Y, 14,
  386. !         XV_WIDTH, 85,
  387.           XV_HEIGHT, 13,
  388. !         PANEL_LABEL_STRING, "Contool 3.0b",
  389.           PANEL_LABEL_BOLD, TRUE,
  390.           NULL);
  391.       return obj;
  392. --- 2011,2019 ----
  393.           XV_HELP_DATA, "contool:message1",
  394.           XV_X, 210,
  395.           XV_Y, 14,
  396. !         XV_WIDTH, 83,
  397.           XV_HEIGHT, 13,
  398. !         PANEL_LABEL_STRING, "Contool 3.0c",
  399.           PANEL_LABEL_BOLD, TRUE,
  400.           NULL);
  401.       return obj;
  402. ***************
  403. *** 2037,2043 ****
  404.           XV_Y, 30,
  405.           XV_WIDTH, 152,
  406.           XV_HEIGHT, 13,
  407. !         PANEL_LABEL_STRING, "Copyright 1988 - 1990",
  408.           PANEL_LABEL_BOLD, TRUE,
  409.           NULL);
  410.       return obj;
  411. --- 2037,2043 ----
  412.           XV_Y, 30,
  413.           XV_WIDTH, 152,
  414.           XV_HEIGHT, 13,
  415. !         PANEL_LABEL_STRING, "Copyright 1988 - 1991",
  416.           PANEL_LABEL_BOLD, TRUE,
  417.           NULL);
  418.       return obj;
  419. ***************
  420. *** 2299,2307 ****
  421.           XV_HELP_DATA, "contool:message16",
  422.           XV_X, 14,
  423.           XV_Y, 254,
  424. !         XV_WIDTH, 481,
  425.           XV_HEIGHT, 13,
  426. !         PANEL_LABEL_STRING, "Contool has been placed in the public domain, but the copyright on the source",
  427.           PANEL_LABEL_BOLD, FALSE,
  428.           NULL);
  429.       return obj;
  430. --- 2299,2307 ----
  431.           XV_HELP_DATA, "contool:message16",
  432.           XV_X, 14,
  433.           XV_Y, 254,
  434. !         XV_WIDTH, 463,
  435.           XV_HEIGHT, 13,
  436. !         PANEL_LABEL_STRING, "Contool has been released for private, not-for-profit use, and the copyright",
  437.           PANEL_LABEL_BOLD, FALSE,
  438.           NULL);
  439.       return obj;
  440. ***************
  441. *** 2323,2331 ****
  442.           XV_HELP_DATA, "contool:message17",
  443.           XV_X, 14,
  444.           XV_Y, 270,
  445. !         XV_WIDTH, 472,
  446.           XV_HEIGHT, 13,
  447. !         PANEL_LABEL_STRING, "code is retained by myself and Harris Corporation, my employer.  This means",
  448.           PANEL_LABEL_BOLD, FALSE,
  449.           NULL);
  450.       return obj;
  451. --- 2323,2331 ----
  452.           XV_HELP_DATA, "contool:message17",
  453.           XV_X, 14,
  454.           XV_Y, 270,
  455. !         XV_WIDTH, 480,
  456.           XV_HEIGHT, 13,
  457. !         PANEL_LABEL_STRING, "on the source code is retained by myself and Harris Corporation, my employer.",
  458.           PANEL_LABEL_BOLD, FALSE,
  459.           NULL);
  460.       return obj;
  461. ***************
  462. *** 2347,2355 ****
  463.           XV_HELP_DATA, "contool:message18",
  464.           XV_X, 14,
  465.           XV_Y, 286,
  466. !         XV_WIDTH, 460,
  467.           XV_HEIGHT, 13,
  468. !         PANEL_LABEL_STRING, "that you can give the source code to anyone but you cannot sell any part of",
  469.           PANEL_LABEL_BOLD, FALSE,
  470.           NULL);
  471.       return obj;
  472. --- 2347,2355 ----
  473.           XV_HELP_DATA, "contool:message18",
  474.           XV_X, 14,
  475.           XV_Y, 286,
  476. !         XV_WIDTH, 463,
  477.           XV_HEIGHT, 13,
  478. !         PANEL_LABEL_STRING, "This means that you can give the source code to anyone but you cannot sell",
  479.           PANEL_LABEL_BOLD, FALSE,
  480.           NULL);
  481.       return obj;
  482. ***************
  483. *** 2373,2379 ****
  484.           XV_Y, 302,
  485.           XV_WIDTH, 455,
  486.           XV_HEIGHT, 13,
  487. !         PANEL_LABEL_STRING, "the source code, nor can you incorporate any part of the source code into a",
  488.           PANEL_LABEL_BOLD, FALSE,
  489.           NULL);
  490.       return obj;
  491. --- 2373,2379 ----
  492.           XV_Y, 302,
  493.           XV_WIDTH, 455,
  494.           XV_HEIGHT, 13,
  495. !         PANEL_LABEL_STRING, "any part of the source code, nor can you incorporate any part of the source",
  496.           PANEL_LABEL_BOLD, FALSE,
  497.           NULL);
  498.       return obj;
  499. ***************
  500. *** 2395,2403 ****
  501.           XV_HELP_DATA, "contool:message20",
  502.           XV_X, 14,
  503.           XV_Y, 318,
  504. !         XV_WIDTH, 219,
  505.           XV_HEIGHT, 13,
  506. !         PANEL_LABEL_STRING, "product which is subsequently sold.",
  507.           PANEL_LABEL_BOLD, FALSE,
  508.           NULL);
  509.       return obj;
  510. --- 2395,2403 ----
  511.           XV_HELP_DATA, "contool:message20",
  512.           XV_X, 14,
  513.           XV_Y, 318,
  514. !         XV_WIDTH, 290,
  515.           XV_HEIGHT, 13,
  516. !         PANEL_LABEL_STRING, "code into a product which is subsequently sold.",
  517.           PANEL_LABEL_BOLD, FALSE,
  518.           NULL);
  519.       return obj;
  520. ***************
  521. *** 2470,2475 ****
  522. --- 2470,2476 ----
  523.       caddr_t        ip;
  524.       Xv_opaque    owner;
  525.   {
  526. +     extern void    done_mail();
  527.       Xv_opaque    obj;
  528.       
  529.       obj = xv_create(owner, FRAME_CMD,
  530. ***************
  531. *** 2481,2486 ****
  532. --- 2482,2488 ----
  533.           FRAME_SHOW_FOOTER, FALSE,
  534.           FRAME_SHOW_RESIZE_CORNER, FALSE,
  535.           FRAME_CMD_PUSHPIN_IN, FALSE,
  536. +         FRAME_DONE_PROC, done_mail,
  537.           NULL);
  538.       xv_set(xv_get(obj, FRAME_CMD_PANEL), WIN_SHOW, FALSE, NULL);
  539.       return obj;
  540. *** error.c.orig    Tue Jan 15 11:44:20 1991
  541. --- error.c    Tue Jan 15 08:46:54 1991
  542. ***************
  543. *** 1,19 ****
  544.   /************************************************************************/
  545. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  546.   /*                                    */
  547. ! /*    Permission to use, copy, modify, and distribute this software    */
  548. ! /*    and its documentation for any purpose and without fee is    */
  549. ! /*    hereby granted, provided that the above copyright notice    */
  550. ! /*    appear in all copies and that both that copyright notice and    */
  551. ! /*    this permission notice appear in supporting documentation, and    */
  552. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  553. ! /*    used in advertising or publicity pertaining to distribution    */
  554. ! /*    of the software without specific, written prior permission.    */
  555. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  556. ! /*    about the suitability of this software for any purpose.  It is    */
  557. ! /*    provided "as is" without express or implied warranty.  This     */
  558. ! /*    software may not be sold without the prior explicit permission    */
  559. ! /*    of Harris Corporation.                        */
  560.   /************************************************************************/
  561.   
  562.   /************************************************************************/
  563. --- 1,20 ----
  564.   /************************************************************************/
  565. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  566.   /*                                    */
  567. ! /*    Full ownership of this software, and all rights pertaining to     */
  568. ! /*    the for-profit distribution of this software, are retained by     */
  569. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  570. ! /*    use this software without fee.  This software is provided "as     */
  571. ! /*    is" without express or implied warranty.  You may redistribute     */
  572. ! /*    this software, provided that this copyright notice is retained,    */
  573. ! /*    and that the software is not distributed for profit.  If you     */
  574. ! /*    wish to use this software in a profit-making venture, you must     */
  575. ! /*    first license this code and its underlying technology from     */
  576. ! /*    Harris Corporation.                         */
  577. ! /*                                    */
  578. ! /*    Bottom line: you can have this software, you can use it, you     */
  579. ! /*    can give it away.  You just can't sell any or all parts of it     */
  580. ! /*    without prior permission from Harris Corporation.         */
  581.   /************************************************************************/
  582.   
  583.   /************************************************************************/
  584. *** expand.c.orig    Tue Jan 15 11:44:20 1991
  585. --- expand.c    Tue Jan 15 08:38:51 1991
  586. ***************
  587. *** 1,19 ****
  588.   /************************************************************************/
  589. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  590.   /*                                    */
  591. ! /*    Permission to use, copy, modify, and distribute this software    */
  592. ! /*    and its documentation for any purpose and without fee is    */
  593. ! /*    hereby granted, provided that the above copyright notice    */
  594. ! /*    appear in all copies and that both that copyright notice and    */
  595. ! /*    this permission notice appear in supporting documentation, and    */
  596. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  597. ! /*    used in advertising or publicity pertaining to distribution    */
  598. ! /*    of the software without specific, written prior permission.    */
  599. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  600. ! /*    about the suitability of this software for any purpose.  It is    */
  601. ! /*    provided "as is" without express or implied warranty.  This     */
  602. ! /*    software may not be sold without the prior explicit permission    */
  603. ! /*    of Harris Corporation.                        */
  604.   /************************************************************************/
  605.   
  606.   #include    <sys/types.h>
  607. --- 1,20 ----
  608.   /************************************************************************/
  609. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  610.   /*                                    */
  611. ! /*    Full ownership of this software, and all rights pertaining to     */
  612. ! /*    the for-profit distribution of this software, are retained by     */
  613. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  614. ! /*    use this software without fee.  This software is provided "as     */
  615. ! /*    is" without express or implied warranty.  You may redistribute     */
  616. ! /*    this software, provided that this copyright notice is retained,    */
  617. ! /*    and that the software is not distributed for profit.  If you     */
  618. ! /*    wish to use this software in a profit-making venture, you must     */
  619. ! /*    first license this code and its underlying technology from     */
  620. ! /*    Harris Corporation.                         */
  621. ! /*                                    */
  622. ! /*    Bottom line: you can have this software, you can use it, you     */
  623. ! /*    can give it away.  You just can't sell any or all parts of it     */
  624. ! /*    without prior permission from Harris Corporation.         */
  625.   /************************************************************************/
  626.   
  627.   #include    <sys/types.h>
  628. *** filename_completion.c.orig    Tue Jan 15 11:44:22 1991
  629. --- filename_completion.c    Tue Jan 15 08:38:51 1991
  630. ***************
  631. *** 1,19 ****
  632.   /************************************************************************/
  633. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  634.   /*                                    */
  635. ! /*    Permission to use, copy, modify, and distribute this software    */
  636. ! /*    and its documentation for any purpose and without fee is    */
  637. ! /*    hereby granted, provided that the above copyright notice    */
  638. ! /*    appear in all copies and that both that copyright notice and    */
  639. ! /*    this permission notice appear in supporting documentation, and    */
  640. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  641. ! /*    used in advertising or publicity pertaining to distribution    */
  642. ! /*    of the software without specific, written prior permission.    */
  643. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  644. ! /*    about the suitability of this software for any purpose.  It is    */
  645. ! /*    provided "as is" without express or implied warranty.  This     */
  646. ! /*    software may not be sold without the prior explicit permission    */
  647. ! /*    of Harris Corporation.                        */
  648.   /************************************************************************/
  649.   
  650.   /************************************************************************/
  651. --- 1,20 ----
  652.   /************************************************************************/
  653. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  654.   /*                                    */
  655. ! /*    Full ownership of this software, and all rights pertaining to     */
  656. ! /*    the for-profit distribution of this software, are retained by     */
  657. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  658. ! /*    use this software without fee.  This software is provided "as     */
  659. ! /*    is" without express or implied warranty.  You may redistribute     */
  660. ! /*    this software, provided that this copyright notice is retained,    */
  661. ! /*    and that the software is not distributed for profit.  If you     */
  662. ! /*    wish to use this software in a profit-making venture, you must     */
  663. ! /*    first license this code and its underlying technology from     */
  664. ! /*    Harris Corporation.                         */
  665. ! /*                                    */
  666. ! /*    Bottom line: you can have this software, you can use it, you     */
  667. ! /*    can give it away.  You just can't sell any or all parts of it     */
  668. ! /*    without prior permission from Harris Corporation.         */
  669.   /************************************************************************/
  670.   
  671.   /************************************************************************/
  672. *** filters.c.orig    Tue Jan 15 11:44:23 1991
  673. --- filters.c    Tue Jan 15 08:46:42 1991
  674. ***************
  675. *** 1,19 ****
  676.   /************************************************************************/
  677. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  678.   /*                                    */
  679. ! /*    Permission to use, copy, modify, and distribute this software    */
  680. ! /*    and its documentation for any purpose and without fee is    */
  681. ! /*    hereby granted, provided that the above copyright notice    */
  682. ! /*    appear in all copies and that both that copyright notice and    */
  683. ! /*    this permission notice appear in supporting documentation, and    */
  684. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  685. ! /*    used in advertising or publicity pertaining to distribution    */
  686. ! /*    of the software without specific, written prior permission.    */
  687. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  688. ! /*    about the suitability of this software for any purpose.  It is    */
  689. ! /*    provided "as is" without express or implied warranty.  This     */
  690. ! /*    software may not be sold without the prior explicit permission    */
  691. ! /*    of Harris Corporation.                        */
  692.   /************************************************************************/
  693.   
  694.   /************************************************************************/
  695. --- 1,20 ----
  696.   /************************************************************************/
  697. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  698.   /*                                    */
  699. ! /*    Full ownership of this software, and all rights pertaining to     */
  700. ! /*    the for-profit distribution of this software, are retained by     */
  701. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  702. ! /*    use this software without fee.  This software is provided "as     */
  703. ! /*    is" without express or implied warranty.  You may redistribute     */
  704. ! /*    this software, provided that this copyright notice is retained,    */
  705. ! /*    and that the software is not distributed for profit.  If you     */
  706. ! /*    wish to use this software in a profit-making venture, you must     */
  707. ! /*    first license this code and its underlying technology from     */
  708. ! /*    Harris Corporation.                         */
  709. ! /*                                    */
  710. ! /*    Bottom line: you can have this software, you can use it, you     */
  711. ! /*    can give it away.  You just can't sell any or all parts of it     */
  712. ! /*    without prior permission from Harris Corporation.         */
  713.   /************************************************************************/
  714.   
  715.   /************************************************************************/
  716. *** lex.c.orig    Tue Jan 15 11:44:25 1991
  717. --- lex.c    Tue Jan 15 08:46:40 1991
  718. ***************
  719. *** 1,19 ****
  720.   /************************************************************************/
  721. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  722.   /*                                    */
  723. ! /*    Permission to use, copy, modify, and distribute this software    */
  724. ! /*    and its documentation for any purpose and without fee is    */
  725. ! /*    hereby granted, provided that the above copyright notice    */
  726. ! /*    appear in all copies and that both that copyright notice and    */
  727. ! /*    this permission notice appear in supporting documentation, and    */
  728. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  729. ! /*    used in advertising or publicity pertaining to distribution    */
  730. ! /*    of the software without specific, written prior permission.    */
  731. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  732. ! /*    about the suitability of this software for any purpose.  It is    */
  733. ! /*    provided "as is" without express or implied warranty.  This     */
  734. ! /*    software may not be sold without the prior explicit permission    */
  735. ! /*    of Harris Corporation.                        */
  736.   /************************************************************************/
  737.   
  738.   #define        RETURN(x)        return(last_token = (x))
  739. --- 1,20 ----
  740.   /************************************************************************/
  741. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  742.   /*                                    */
  743. ! /*    Full ownership of this software, and all rights pertaining to     */
  744. ! /*    the for-profit distribution of this software, are retained by     */
  745. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  746. ! /*    use this software without fee.  This software is provided "as     */
  747. ! /*    is" without express or implied warranty.  You may redistribute     */
  748. ! /*    this software, provided that this copyright notice is retained,    */
  749. ! /*    and that the software is not distributed for profit.  If you     */
  750. ! /*    wish to use this software in a profit-making venture, you must     */
  751. ! /*    first license this code and its underlying technology from     */
  752. ! /*    Harris Corporation.                         */
  753. ! /*                                    */
  754. ! /*    Bottom line: you can have this software, you can use it, you     */
  755. ! /*    can give it away.  You just can't sell any or all parts of it     */
  756. ! /*    without prior permission from Harris Corporation.         */
  757.   /************************************************************************/
  758.   
  759.   #define        RETURN(x)        return(last_token = (x))
  760. *** load.c.orig    Tue Jan 15 11:44:26 1991
  761. --- load.c    Tue Jan 15 08:46:37 1991
  762. ***************
  763. *** 1,19 ****
  764.   /************************************************************************/
  765. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  766.   /*                                    */
  767. ! /*    Permission to use, copy, modify, and distribute this software    */
  768. ! /*    and its documentation for any purpose and without fee is    */
  769. ! /*    hereby granted, provided that the above copyright notice    */
  770. ! /*    appear in all copies and that both that copyright notice and    */
  771. ! /*    this permission notice appear in supporting documentation, and    */
  772. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  773. ! /*    used in advertising or publicity pertaining to distribution    */
  774. ! /*    of the software without specific, written prior permission.    */
  775. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  776. ! /*    about the suitability of this software for any purpose.  It is    */
  777. ! /*    provided "as is" without express or implied warranty.  This     */
  778. ! /*    software may not be sold without the prior explicit permission    */
  779. ! /*    of Harris Corporation.                        */
  780.   /************************************************************************/
  781.   
  782.   /************************************************************************/
  783. --- 1,20 ----
  784.   /************************************************************************/
  785. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  786.   /*                                    */
  787. ! /*    Full ownership of this software, and all rights pertaining to     */
  788. ! /*    the for-profit distribution of this software, are retained by     */
  789. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  790. ! /*    use this software without fee.  This software is provided "as     */
  791. ! /*    is" without express or implied warranty.  You may redistribute     */
  792. ! /*    this software, provided that this copyright notice is retained,    */
  793. ! /*    and that the software is not distributed for profit.  If you     */
  794. ! /*    wish to use this software in a profit-making venture, you must     */
  795. ! /*    first license this code and its underlying technology from     */
  796. ! /*    Harris Corporation.                         */
  797. ! /*                                    */
  798. ! /*    Bottom line: you can have this software, you can use it, you     */
  799. ! /*    can give it away.  You just can't sell any or all parts of it     */
  800. ! /*    without prior permission from Harris Corporation.         */
  801.   /************************************************************************/
  802.   
  803.   /************************************************************************/
  804. *** load_icon.c.orig    Tue Jan 15 11:44:27 1991
  805. --- load_icon.c    Tue Jan 15 08:41:14 1991
  806. ***************
  807. *** 1,19 ****
  808.   /************************************************************************/
  809. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  810.   /*                                    */
  811. ! /*    Permission to use, copy, modify, and distribute this software    */
  812. ! /*    and its documentation for any purpose and without fee is    */
  813. ! /*    hereby granted, provided that the above copyright notice    */
  814. ! /*    appear in all copies and that both that copyright notice and    */
  815. ! /*    this permission notice appear in supporting documentation, and    */
  816. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  817. ! /*    used in advertising or publicity pertaining to distribution    */
  818. ! /*    of the software without specific, written prior permission.    */
  819. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  820. ! /*    about the suitability of this software for any purpose.  It is    */
  821. ! /*    provided "as is" without express or implied warranty.  This     */
  822. ! /*    software may not be sold without the prior explicit permission    */
  823. ! /*    of Harris Corporation.                        */
  824.   /************************************************************************/
  825.   
  826.   #include    <stdio.h>
  827. --- 1,20 ----
  828.   /************************************************************************/
  829. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  830.   /*                                    */
  831. ! /*    Full ownership of this software, and all rights pertaining to     */
  832. ! /*    the for-profit distribution of this software, are retained by     */
  833. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  834. ! /*    use this software without fee.  This software is provided "as     */
  835. ! /*    is" without express or implied warranty.  You may redistribute     */
  836. ! /*    this software, provided that this copyright notice is retained,    */
  837. ! /*    and that the software is not distributed for profit.  If you     */
  838. ! /*    wish to use this software in a profit-making venture, you must     */
  839. ! /*    first license this code and its underlying technology from     */
  840. ! /*    Harris Corporation.                         */
  841. ! /*                                    */
  842. ! /*    Bottom line: you can have this software, you can use it, you     */
  843. ! /*    can give it away.  You just can't sell any or all parts of it     */
  844. ! /*    without prior permission from Harris Corporation.         */
  845.   /************************************************************************/
  846.   
  847.   #include    <stdio.h>
  848. *** logging.c.orig    Tue Jan 15 11:44:28 1991
  849. --- logging.c    Tue Jan 15 08:46:30 1991
  850. ***************
  851. *** 1,19 ****
  852.   /************************************************************************/
  853. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  854.   /*                                    */
  855. ! /*    Permission to use, copy, modify, and distribute this software    */
  856. ! /*    and its documentation for any purpose and without fee is    */
  857. ! /*    hereby granted, provided that the above copyright notice    */
  858. ! /*    appear in all copies and that both that copyright notice and    */
  859. ! /*    this permission notice appear in supporting documentation, and    */
  860. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  861. ! /*    used in advertising or publicity pertaining to distribution    */
  862. ! /*    of the software without specific, written prior permission.    */
  863. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  864. ! /*    about the suitability of this software for any purpose.  It is    */
  865. ! /*    provided "as is" without express or implied warranty.  This     */
  866. ! /*    software may not be sold without the prior explicit permission    */
  867. ! /*    of Harris Corporation.                        */
  868.   /************************************************************************/
  869.   
  870.   /************************************************************************/
  871. --- 1,20 ----
  872.   /************************************************************************/
  873. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  874.   /*                                    */
  875. ! /*    Full ownership of this software, and all rights pertaining to     */
  876. ! /*    the for-profit distribution of this software, are retained by     */
  877. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  878. ! /*    use this software without fee.  This software is provided "as     */
  879. ! /*    is" without express or implied warranty.  You may redistribute     */
  880. ! /*    this software, provided that this copyright notice is retained,    */
  881. ! /*    and that the software is not distributed for profit.  If you     */
  882. ! /*    wish to use this software in a profit-making venture, you must     */
  883. ! /*    first license this code and its underlying technology from     */
  884. ! /*    Harris Corporation.                         */
  885. ! /*                                    */
  886. ! /*    Bottom line: you can have this software, you can use it, you     */
  887. ! /*    can give it away.  You just can't sell any or all parts of it     */
  888. ! /*    without prior permission from Harris Corporation.         */
  889.   /************************************************************************/
  890.   
  891.   /************************************************************************/
  892. *** manifest.h.orig    Tue Jan 15 11:44:29 1991
  893. --- manifest.h    Tue Jan 15 08:46:19 1991
  894. ***************
  895. *** 1,19 ****
  896.   /************************************************************************/
  897. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  898.   /*                                    */
  899. ! /*    Permission to use, copy, modify, and distribute this software    */
  900. ! /*    and its documentation for any purpose and without fee is    */
  901. ! /*    hereby granted, provided that the above copyright notice    */
  902. ! /*    appear in all copies and that both that copyright notice and    */
  903. ! /*    this permission notice appear in supporting documentation, and    */
  904. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  905. ! /*    used in advertising or publicity pertaining to distribution    */
  906. ! /*    of the software without specific, written prior permission.    */
  907. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  908. ! /*    about the suitability of this software for any purpose.  It is    */
  909. ! /*    provided "as is" without express or implied warranty.  This     */
  910. ! /*    software may not be sold without the prior explicit permission    */
  911. ! /*    of Harris Corporation.                        */
  912.   /************************************************************************/
  913.   
  914.   /************************************************************************/
  915. --- 1,20 ----
  916.   /************************************************************************/
  917. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  918.   /*                                    */
  919. ! /*    Full ownership of this software, and all rights pertaining to     */
  920. ! /*    the for-profit distribution of this software, are retained by     */
  921. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  922. ! /*    use this software without fee.  This software is provided "as     */
  923. ! /*    is" without express or implied warranty.  You may redistribute     */
  924. ! /*    this software, provided that this copyright notice is retained,    */
  925. ! /*    and that the software is not distributed for profit.  If you     */
  926. ! /*    wish to use this software in a profit-making venture, you must     */
  927. ! /*    first license this code and its underlying technology from     */
  928. ! /*    Harris Corporation.                         */
  929. ! /*                                    */
  930. ! /*    Bottom line: you can have this software, you can use it, you     */
  931. ! /*    can give it away.  You just can't sell any or all parts of it     */
  932. ! /*    without prior permission from Harris Corporation.         */
  933.   /************************************************************************/
  934.   
  935.   /************************************************************************/
  936. *** misc.c.orig    Tue Jan 15 11:44:30 1991
  937. --- misc.c    Tue Jan 15 08:46:16 1991
  938. ***************
  939. *** 1,19 ****
  940.   /************************************************************************/
  941. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  942.   /*                                    */
  943. ! /*    Permission to use, copy, modify, and distribute this software    */
  944. ! /*    and its documentation for any purpose and without fee is    */
  945. ! /*    hereby granted, provided that the above copyright notice    */
  946. ! /*    appear in all copies and that both that copyright notice and    */
  947. ! /*    this permission notice appear in supporting documentation, and    */
  948. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  949. ! /*    used in advertising or publicity pertaining to distribution    */
  950. ! /*    of the software without specific, written prior permission.    */
  951. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  952. ! /*    about the suitability of this software for any purpose.  It is    */
  953. ! /*    provided "as is" without express or implied warranty.  This     */
  954. ! /*    software may not be sold without the prior explicit permission    */
  955. ! /*    of Harris Corporation.                        */
  956.   /************************************************************************/
  957.   
  958.   #include    <stdio.h>
  959. --- 1,20 ----
  960.   /************************************************************************/
  961. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  962.   /*                                    */
  963. ! /*    Full ownership of this software, and all rights pertaining to     */
  964. ! /*    the for-profit distribution of this software, are retained by     */
  965. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  966. ! /*    use this software without fee.  This software is provided "as     */
  967. ! /*    is" without express or implied warranty.  You may redistribute     */
  968. ! /*    this software, provided that this copyright notice is retained,    */
  969. ! /*    and that the software is not distributed for profit.  If you     */
  970. ! /*    wish to use this software in a profit-making venture, you must     */
  971. ! /*    first license this code and its underlying technology from     */
  972. ! /*    Harris Corporation.                         */
  973. ! /*                                    */
  974. ! /*    Bottom line: you can have this software, you can use it, you     */
  975. ! /*    can give it away.  You just can't sell any or all parts of it     */
  976. ! /*    without prior permission from Harris Corporation.         */
  977.   /************************************************************************/
  978.   
  979.   #include    <stdio.h>
  980. *** parse.y.orig    Tue Jan 15 11:44:31 1991
  981. --- parse.y    Tue Jan 15 08:46:13 1991
  982. ***************
  983. *** 1,19 ****
  984.   /************************************************************************/
  985. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  986.   /*                                    */
  987. ! /*    Permission to use, copy, modify, and distribute this software    */
  988. ! /*    and its documentation for any purpose and without fee is    */
  989. ! /*    hereby granted, provided that the above copyright notice    */
  990. ! /*    appear in all copies and that both that copyright notice and    */
  991. ! /*    this permission notice appear in supporting documentation, and    */
  992. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  993. ! /*    used in advertising or publicity pertaining to distribution    */
  994. ! /*    of the software without specific, written prior permission.    */
  995. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  996. ! /*    about the suitability of this software for any purpose.  It is    */
  997. ! /*    provided "as is" without express or implied warranty.  This     */
  998. ! /*    software may not be sold without the prior explicit permission    */
  999. ! /*    of Harris Corporation.                        */
  1000.   /************************************************************************/
  1001.   
  1002.   %{
  1003. --- 1,20 ----
  1004.   /************************************************************************/
  1005. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  1006.   /*                                    */
  1007. ! /*    Full ownership of this software, and all rights pertaining to     */
  1008. ! /*    the for-profit distribution of this software, are retained by     */
  1009. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  1010. ! /*    use this software without fee.  This software is provided "as     */
  1011. ! /*    is" without express or implied warranty.  You may redistribute     */
  1012. ! /*    this software, provided that this copyright notice is retained,    */
  1013. ! /*    and that the software is not distributed for profit.  If you     */
  1014. ! /*    wish to use this software in a profit-making venture, you must     */
  1015. ! /*    first license this code and its underlying technology from     */
  1016. ! /*    Harris Corporation.                         */
  1017. ! /*                                    */
  1018. ! /*    Bottom line: you can have this software, you can use it, you     */
  1019. ! /*    can give it away.  You just can't sell any or all parts of it     */
  1020. ! /*    without prior permission from Harris Corporation.         */
  1021.   /************************************************************************/
  1022.   
  1023.   %{
  1024. *** patchlevel.h.orig    Tue Jan 15 11:44:32 1991
  1025. --- patchlevel.h    Tue Jan 15 08:46:07 1991
  1026. ***************
  1027. *** 1,5 ****
  1028. --- 1,24 ----
  1029.   /************************************************************************/
  1030. + /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  1031.   /*                                    */
  1032. + /*    Full ownership of this software, and all rights pertaining to     */
  1033. + /*    the for-profit distribution of this software, are retained by     */
  1034. + /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  1035. + /*    use this software without fee.  This software is provided "as     */
  1036. + /*    is" without express or implied warranty.  You may redistribute     */
  1037. + /*    this software, provided that this copyright notice is retained,    */
  1038. + /*    and that the software is not distributed for profit.  If you     */
  1039. + /*    wish to use this software in a profit-making venture, you must     */
  1040. + /*    first license this code and its underlying technology from     */
  1041. + /*    Harris Corporation.                         */
  1042. + /*                                    */
  1043. + /*    Bottom line: you can have this software, you can use it, you     */
  1044. + /*    can give it away.  You just can't sell any or all parts of it     */
  1045. + /*    without prior permission from Harris Corporation.         */
  1046. + /************************************************************************/
  1047. + /************************************************************************/
  1048. + /*                                    */
  1049.   /*    Patch        Comments                    */
  1050.   /*      0        Initial release for XView            */
  1051.   /*               comp.sources.x: Volume 10, Issues 34-39    */
  1052. ***************
  1053. *** 8,12 ****
  1054. --- 27,34 ----
  1055.   /*               comp.sources.x: Volume 10, Issue 40        */
  1056.   /*                                    */
  1057.   /*      2        Bug fixes; see README for details        */
  1058. + /*               comp.sources.x: Volume 10, Issue 78        */
  1059. + /*                                    */
  1060. + /*      3        Bug fixes; see README for details        */
  1061.   /*                                    */
  1062.   /************************************************************************/
  1063. *** pinned_menu_notify.c.orig    Tue Jan 15 11:44:33 1991
  1064. --- pinned_menu_notify.c    Tue Jan 15 08:38:19 1991
  1065. ***************
  1066. *** 1,19 ****
  1067.   /************************************************************************/
  1068. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  1069.   /*                                    */
  1070. ! /*    Permission to use, copy, modify, and distribute this software    */
  1071. ! /*    and its documentation for any purpose and without fee is    */
  1072. ! /*    hereby granted, provided that the above copyright notice    */
  1073. ! /*    appear in all copies and that both that copyright notice and    */
  1074. ! /*    this permission notice appear in supporting documentation, and    */
  1075. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  1076. ! /*    used in advertising or publicity pertaining to distribution    */
  1077. ! /*    of the software without specific, written prior permission.    */
  1078. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  1079. ! /*    about the suitability of this software for any purpose.  It is    */
  1080. ! /*    provided "as is" without express or implied warranty.  This     */
  1081. ! /*    software may not be sold without the prior explicit permission    */
  1082. ! /*    of Harris Corporation.                        */
  1083.   /************************************************************************/
  1084.   
  1085.   /************************************************************************/
  1086. --- 1,20 ----
  1087.   /************************************************************************/
  1088. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  1089.   /*                                    */
  1090. ! /*    Full ownership of this software, and all rights pertaining to     */
  1091. ! /*    the for-profit distribution of this software, are retained by     */
  1092. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  1093. ! /*    use this software without fee.  This software is provided "as     */
  1094. ! /*    is" without express or implied warranty.  You may redistribute     */
  1095. ! /*    this software, provided that this copyright notice is retained,    */
  1096. ! /*    and that the software is not distributed for profit.  If you     */
  1097. ! /*    wish to use this software in a profit-making venture, you must     */
  1098. ! /*    first license this code and its underlying technology from     */
  1099. ! /*    Harris Corporation.                         */
  1100. ! /*                                    */
  1101. ! /*    Bottom line: you can have this software, you can use it, you     */
  1102. ! /*    can give it away.  You just can't sell any or all parts of it     */
  1103. ! /*    without prior permission from Harris Corporation.         */
  1104.   /************************************************************************/
  1105.   
  1106.   /************************************************************************/
  1107. *** place_dialog.c.orig    Tue Jan 15 11:44:34 1991
  1108. --- place_dialog.c    Tue Jan 15 08:43:47 1991
  1109. ***************
  1110. *** 1,19 ****
  1111.   /************************************************************************/
  1112. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  1113.   /*                                    */
  1114. ! /*    Permission to use, copy, modify, and distribute this software    */
  1115. ! /*    and its documentation for any purpose and without fee is    */
  1116. ! /*    hereby granted, provided that the above copyright notice    */
  1117. ! /*    appear in all copies and that both that copyright notice and    */
  1118. ! /*    this permission notice appear in supporting documentation, and    */
  1119. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  1120. ! /*    used in advertising or publicity pertaining to distribution    */
  1121. ! /*    of the software without specific, written prior permission.    */
  1122. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  1123. ! /*    about the suitability of this software for any purpose.  It is    */
  1124. ! /*    provided "as is" without express or implied warranty.  This     */
  1125. ! /*    software may not be sold without the prior explicit permission    */
  1126. ! /*    of Harris Corporation.                        */
  1127.   /************************************************************************/
  1128.   
  1129.   /************************************************************************/
  1130. --- 1,20 ----
  1131.   /************************************************************************/
  1132. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  1133.   /*                                    */
  1134. ! /*    Full ownership of this software, and all rights pertaining to     */
  1135. ! /*    the for-profit distribution of this software, are retained by     */
  1136. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  1137. ! /*    use this software without fee.  This software is provided "as     */
  1138. ! /*    is" without express or implied warranty.  You may redistribute     */
  1139. ! /*    this software, provided that this copyright notice is retained,    */
  1140. ! /*    and that the software is not distributed for profit.  If you     */
  1141. ! /*    wish to use this software in a profit-making venture, you must     */
  1142. ! /*    first license this code and its underlying technology from     */
  1143. ! /*    Harris Corporation.                         */
  1144. ! /*                                    */
  1145. ! /*    Bottom line: you can have this software, you can use it, you     */
  1146. ! /*    can give it away.  You just can't sell any or all parts of it     */
  1147. ! /*    without prior permission from Harris Corporation.         */
  1148.   /************************************************************************/
  1149.   
  1150.   /************************************************************************/
  1151. ***************
  1152. *** 54,59 ****
  1153. --- 55,68 ----
  1154.          dr.r_left = br.r_left + 32;
  1155.          dr.r_top = br.r_top + 32;
  1156.          }
  1157. +     if (dr.r_top + dr.r_height > sr.r_height)
  1158. +        dr.r_top = sr.r_height - dr.r_height;
  1159. +     if (dr.r_top < 0)
  1160. +        dr.r_top = 0;
  1161. +     if (rect_right(&dr) > sr.r_width)
  1162. +        dr.r_left = sr.r_width - dr.r_width;
  1163. +     if (dr.r_left < 0)
  1164. +        dr.r_left = 0;
  1165.       frame_set_rect(dialog, &dr);
  1166.   
  1167.       hints = XGetWMHints(xv_get(dialog, XV_DISPLAY), xv_get(dialog, XV_XID));
  1168. *** props.c.orig    Tue Jan 15 11:44:35 1991
  1169. --- props.c    Tue Jan 15 08:45:30 1991
  1170. ***************
  1171. *** 1,19 ****
  1172.   /************************************************************************/
  1173. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  1174.   /*                                    */
  1175. ! /*    Permission to use, copy, modify, and distribute this software    */
  1176. ! /*    and its documentation for any purpose and without fee is    */
  1177. ! /*    hereby granted, provided that the above copyright notice    */
  1178. ! /*    appear in all copies and that both that copyright notice and    */
  1179. ! /*    this permission notice appear in supporting documentation, and    */
  1180. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  1181. ! /*    used in advertising or publicity pertaining to distribution    */
  1182. ! /*    of the software without specific, written prior permission.    */
  1183. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  1184. ! /*    about the suitability of this software for any purpose.  It is    */
  1185. ! /*    provided "as is" without express or implied warranty.  This     */
  1186. ! /*    software may not be sold without the prior explicit permission    */
  1187. ! /*    of Harris Corporation.                        */
  1188.   /************************************************************************/
  1189.   
  1190.   /************************************************************************/
  1191. --- 1,20 ----
  1192.   /************************************************************************/
  1193. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  1194.   /*                                    */
  1195. ! /*    Full ownership of this software, and all rights pertaining to     */
  1196. ! /*    the for-profit distribution of this software, are retained by     */
  1197. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  1198. ! /*    use this software without fee.  This software is provided "as     */
  1199. ! /*    is" without express or implied warranty.  You may redistribute     */
  1200. ! /*    this software, provided that this copyright notice is retained,    */
  1201. ! /*    and that the software is not distributed for profit.  If you     */
  1202. ! /*    wish to use this software in a profit-making venture, you must     */
  1203. ! /*    first license this code and its underlying technology from     */
  1204. ! /*    Harris Corporation.                         */
  1205. ! /*                                    */
  1206. ! /*    Bottom line: you can have this software, you can use it, you     */
  1207. ! /*    can give it away.  You just can't sell any or all parts of it     */
  1208. ! /*    without prior permission from Harris Corporation.         */
  1209.   /************************************************************************/
  1210.   
  1211.   /************************************************************************/
  1212. *** regexp.c.orig    Tue Jan 15 11:44:36 1991
  1213. --- regexp.c    Tue Jan 15 08:45:27 1991
  1214. ***************
  1215. *** 1,19 ****
  1216.   /************************************************************************/
  1217. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  1218.   /*                                    */
  1219. ! /*    Permission to use, copy, modify, and distribute this software    */
  1220. ! /*    and its documentation for any purpose and without fee is    */
  1221. ! /*    hereby granted, provided that the above copyright notice    */
  1222. ! /*    appear in all copies and that both that copyright notice and    */
  1223. ! /*    this permission notice appear in supporting documentation, and    */
  1224. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  1225. ! /*    used in advertising or publicity pertaining to distribution    */
  1226. ! /*    of the software without specific, written prior permission.    */
  1227. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  1228. ! /*    about the suitability of this software for any purpose.  It is    */
  1229. ! /*    provided "as is" without express or implied warranty.  This     */
  1230. ! /*    software may not be sold without the prior explicit permission    */
  1231. ! /*    of Harris Corporation.                        */
  1232.   /************************************************************************/
  1233.   
  1234.   #include    <stdio.h>
  1235. --- 1,20 ----
  1236.   /************************************************************************/
  1237. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  1238.   /*                                    */
  1239. ! /*    Full ownership of this software, and all rights pertaining to     */
  1240. ! /*    the for-profit distribution of this software, are retained by     */
  1241. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  1242. ! /*    use this software without fee.  This software is provided "as     */
  1243. ! /*    is" without express or implied warranty.  You may redistribute     */
  1244. ! /*    this software, provided that this copyright notice is retained,    */
  1245. ! /*    and that the software is not distributed for profit.  If you     */
  1246. ! /*    wish to use this software in a profit-making venture, you must     */
  1247. ! /*    first license this code and its underlying technology from     */
  1248. ! /*    Harris Corporation.                         */
  1249. ! /*                                    */
  1250. ! /*    Bottom line: you can have this software, you can use it, you     */
  1251. ! /*    can give it away.  You just can't sell any or all parts of it     */
  1252. ! /*    without prior permission from Harris Corporation.         */
  1253.   /************************************************************************/
  1254.   
  1255.   #include    <stdio.h>
  1256. *** send_mail.c.orig    Tue Jan 15 11:44:37 1991
  1257. --- send_mail.c    Tue Jan 15 08:45:22 1991
  1258. ***************
  1259. *** 1,5 ****
  1260. --- 1,24 ----
  1261.   /************************************************************************/
  1262. + /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  1263.   /*                                    */
  1264. + /*    Full ownership of this software, and all rights pertaining to     */
  1265. + /*    the for-profit distribution of this software, are retained by     */
  1266. + /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  1267. + /*    use this software without fee.  This software is provided "as     */
  1268. + /*    is" without express or implied warranty.  You may redistribute     */
  1269. + /*    this software, provided that this copyright notice is retained,    */
  1270. + /*    and that the software is not distributed for profit.  If you     */
  1271. + /*    wish to use this software in a profit-making venture, you must     */
  1272. + /*    first license this code and its underlying technology from     */
  1273. + /*    Harris Corporation.                         */
  1274. + /*                                    */
  1275. + /*    Bottom line: you can have this software, you can use it, you     */
  1276. + /*    can give it away.  You just can't sell any or all parts of it     */
  1277. + /*    without prior permission from Harris Corporation.         */
  1278. + /************************************************************************/
  1279. + /************************************************************************/
  1280. + /*                                    */
  1281.   /*    send_mail.c    display a little information window        */
  1282.   /*                                    */
  1283.   /************************************************************************/
  1284. ***************
  1285. *** 14,19 ****
  1286. --- 33,40 ----
  1287.   
  1288.   #include    "manifest.h"
  1289.   
  1290. + #define        VERSION            "3.0c"
  1291.   PUBLIC    contool_base_objects    *contool_base;
  1292.   
  1293.   PRIVATE    contool_mail_objects    *dialog = NULL;
  1294. ***************
  1295. *** 54,59 ****
  1296. --- 75,90 ----
  1297.   }
  1298.   
  1299.   /************************************************************************/
  1300. + EXPORT    void    done_mail(frame)
  1301. + Frame        frame;
  1302. + {
  1303. +     textsw_reset(dialog->message, 0, 0);
  1304. +     xv_set(frame, XV_SHOW, FALSE, 0);
  1305. + }
  1306. + /************************************************************************/
  1307.   EXPORT    void    send_mail(item, event)
  1308.   
  1309.   Panel_item    item;
  1310. ***************
  1311. *** 76,94 ****
  1312.          else
  1313.             sprintf(cmd, "%s %s", MAILER, buf);
  1314.          }
  1315. -     lets_get_busy(contool_base->base, TRUE, NULL);
  1316. -     if ((pipe = popen(cmd, "w")) == NULL) {
  1317. -        error("Could not invoke \"%s\" to send mail", cmd);
  1318. -        return;
  1319. -        }
  1320.       size = (int) xv_get(dialog->message, TEXTSW_LENGTH);
  1321.       if (size == 0) {
  1322.          error("Please type a message before sending the mail");
  1323.          return;
  1324.          }
  1325.       buf = (char *) malloc(size);
  1326.       xv_get(dialog->message, TEXTSW_CONTENTS, 0, buf, size);
  1327. !     fprintf(pipe, "Subject: Contool comment\n\n");
  1328.       if (fwrite(buf, 1, size, pipe) != size) {
  1329.          error("Could not write message to the mailer");
  1330.          free(buf);
  1331. --- 107,125 ----
  1332.          else
  1333.             sprintf(cmd, "%s %s", MAILER, buf);
  1334.          }
  1335.       size = (int) xv_get(dialog->message, TEXTSW_LENGTH);
  1336.       if (size == 0) {
  1337.          error("Please type a message before sending the mail");
  1338.          return;
  1339.          }
  1340. +     if ((pipe = popen(cmd, "w")) == NULL) {
  1341. +        error("Could not invoke \"%s\" to send mail", cmd);
  1342. +        return;
  1343. +        }
  1344. +     lets_get_busy(contool_base->base, TRUE, NULL);
  1345.       buf = (char *) malloc(size);
  1346.       xv_get(dialog->message, TEXTSW_CONTENTS, 0, buf, size);
  1347. !     fprintf(pipe, "Subject: Contool %s comment\n\n", VERSION);
  1348.       if (fwrite(buf, 1, size, pipe) != size) {
  1349.          error("Could not write message to the mailer");
  1350.          free(buf);
  1351. ***************
  1352. *** 96,101 ****
  1353. --- 127,133 ----
  1354.          }
  1355.       pclose(pipe);
  1356.       free(buf);
  1357. +     textsw_reset(dialog->message, 0, 0);
  1358.       lets_get_busy(contool_base->base, FALSE, NULL);
  1359.       xv_set(item, PANEL_NOTIFY_STATUS, XV_OK, 0);
  1360.   }
  1361. ***************
  1362. *** 108,112 ****
  1363.   
  1364.   {
  1365.       textsw_reset(dialog->message, 0, 0);
  1366. !     xv_set(item, PANEL_NOTIFY_STATUS, XV_ERROR, 0);
  1367.   }
  1368. --- 140,144 ----
  1369.   
  1370.   {
  1371.       textsw_reset(dialog->message, 0, 0);
  1372. !     xv_set(item, PANEL_NOTIFY_STATUS, XV_OK, 0);
  1373.   }
  1374. *** store.c.orig    Tue Jan 15 11:44:38 1991
  1375. --- store.c    Tue Jan 15 08:45:02 1991
  1376. ***************
  1377. *** 1,19 ****
  1378.   /************************************************************************/
  1379. ! /*    Copyright 1988-1990 by Chuck Musciano and Harris Corporation    */
  1380.   /*                                    */
  1381. ! /*    Permission to use, copy, modify, and distribute this software    */
  1382. ! /*    and its documentation for any purpose and without fee is    */
  1383. ! /*    hereby granted, provided that the above copyright notice    */
  1384. ! /*    appear in all copies and that both that copyright notice and    */
  1385. ! /*    this permission notice appear in supporting documentation, and    */
  1386. ! /*    that the name of Chuck Musciano and Harris Corporation not be    */
  1387. ! /*    used in advertising or publicity pertaining to distribution    */
  1388. ! /*    of the software without specific, written prior permission.    */
  1389. ! /*    Chuck Musciano and Harris Corporation make no representations    */
  1390. ! /*    about the suitability of this software for any purpose.  It is    */
  1391. ! /*    provided "as is" without express or implied warranty.  This     */
  1392. ! /*    software may not be sold without the prior explicit permission    */
  1393. ! /*    of Harris Corporation.                        */
  1394.   /************************************************************************/
  1395.   
  1396.   /************************************************************************/
  1397. --- 1,20 ----
  1398.   /************************************************************************/
  1399. ! /*    Copyright 1987-1991 by Chuck Musciano and Harris Corporation     */
  1400.   /*                                    */
  1401. ! /*    Full ownership of this software, and all rights pertaining to     */
  1402. ! /*    the for-profit distribution of this software, are retained by     */
  1403. ! /*    Chuck Musciano and Harris Corporation.  You are permitted to     */
  1404. ! /*    use this software without fee.  This software is provided "as     */
  1405. ! /*    is" without express or implied warranty.  You may redistribute     */
  1406. ! /*    this software, provided that this copyright notice is retained,    */
  1407. ! /*    and that the software is not distributed for profit.  If you     */
  1408. ! /*    wish to use this software in a profit-making venture, you must     */
  1409. ! /*    first license this code and its underlying technology from     */
  1410. ! /*    Harris Corporation.                         */
  1411. ! /*                                    */
  1412. ! /*    Bottom line: you can have this software, you can use it, you     */
  1413. ! /*    can give it away.  You just can't sell any or all parts of it     */
  1414. ! /*    without prior permission from Harris Corporation.         */
  1415.   /************************************************************************/
  1416.   
  1417.   /************************************************************************/
  1418.