home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-01-27 | 64.2 KB | 1,428 lines |
- *** README.orig Tue Jan 15 11:44:03 1991
- --- README Thu Nov 29 15:36:54 1990
- ***************
- *** 183,185 ****
- --- 183,192 ----
- 3.0b Fixed "tiny icon" bug.
- Added "About contool..." dialog.
- Source restructuring for maintainability.
- + 3.0c Added -n option to prevent console
- + acquisition on startup.
- + Fixed bugs in send mail dialog.
- + Changed send mail "Cancel" to close window.
- + Updated help for "File" button.
- + Dialogs no longer come up clipped by the
- + bottom of the screen.
- *** contool.man.orig Tue Jan 15 11:44:04 1991
- --- contool.man Thu Nov 29 15:55:09 1990
- ***************
- *** 2,8 ****
- .SH NAME
- contool \- capture and display console output
- .SH SYNOPSIS
- ! contool [\fB\(hyf\fP \fIfile\fP] [\fB\(hyl\fP] [\f3\(hyL\fP \f2logfile\fP]
- .SH DESCRIPTION
- .LP
- \f2Contool\fP captures and displays any messages sent to the system console.
- --- 2,8 ----
- .SH NAME
- contool \- capture and display console output
- .SH SYNOPSIS
- ! contool [\fB\(hyf\fP \fIfile\fP] [\fB\(hyl\fP] [\f3\(hyL\fP \f2logfile\fP] [\f3\(hyn\fP]
- .SH DESCRIPTION
- .LP
- \f2Contool\fP captures and displays any messages sent to the system console.
- ***************
- *** 30,35 ****
- --- 30,39 ----
- options used together allow multiple copies of contool to be started on
- a single machine, with each copy logging to a different file, without
- having to create and maintain multiple configuration files.
- + .IP "\fB\\(hyn\fP"
- + prevents \f2contool\fP from acquiring the console when it starts. This
- + is most useful when testing a new version of contool, so that the test
- + copy does not interfere with any previously running console tool.
- .SH USER INTERFACE
- .LP
- \f2Contool\fP presents the user with a control panel containing three
- ***************
- *** 85,90 ****
- --- 89,97 ----
- uses the \*(lqPrint Filter\*(rq specified in the tool properties to
- print the contents of the console. Only messages saved in the console
- can be printed.
- + .IP "\fBFile: About Contool...\fP"
- + provides a brief history of \f2contool\fP, and allows users to send
- + e-mail to the contool developer.
- .IP "\fBView: Become Console\fP"
- ensures that \f2contool\fP has the system console attribute. SunOS
- allows exactly one process in the system to own the console. If some
- *** contool.info.orig Tue Jan 15 11:44:05 1991
- --- contool.info Tue Jan 15 11:23:53 1991
- ***************
- *** 19,24 ****
- --- 19,26 ----
-
- "Print" prints the contents of the console use the print filter specified in the Properties dialog.
-
- + "About Contool" displays a brief history of contool, and allows users to send e-mail to contool's developer.
- +
- The default action is "Load Configuration".
- #
- :view
- *** about.c.orig Tue Jan 15 11:44:07 1991
- --- about.c Tue Jan 15 08:47:18 1991
- ***************
- *** 1,4 ****
- --- 1,23 ----
- /************************************************************************/
- + /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- + /* */
- + /* Full ownership of this software, and all rights pertaining to */
- + /* the for-profit distribution of this software, are retained by */
- + /* Chuck Musciano and Harris Corporation. You are permitted to */
- + /* use this software without fee. This software is provided "as */
- + /* is" without express or implied warranty. You may redistribute */
- + /* this software, provided that this copyright notice is retained, */
- + /* and that the software is not distributed for profit. If you */
- + /* wish to use this software in a profit-making venture, you must */
- + /* first license this code and its underlying technology from */
- + /* Harris Corporation. */
- + /* */
- + /* Bottom line: you can have this software, you can use it, you */
- + /* can give it away. You just can't sell any or all parts of it */
- + /* without prior permission from Harris Corporation. */
- + /************************************************************************/
- +
- + /************************************************************************/
- /* */
- /* about.c display a little information window */
- /* */
- *** busy.c.orig Tue Jan 15 11:44:08 1991
- --- busy.c Tue Jan 15 08:38:58 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- *** contool.c.orig Tue Jan 15 11:44:09 1991
- --- contool.c Tue Jan 15 08:47:05 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- ***************
- *** 32,37 ****
- --- 33,39 ----
- #include <sys/param.h>
-
- #include <X11/Xlib.h>
- + #include <X11/Xutil.h>
-
- #include <xview/xview.h>
- #include <xview/icon.h>
- ***************
- *** 67,73 ****
- #include "icons/mask.icon"
- };
-
- ! PRIVATE char *ct_usage = "usage: contool [-c <file>] [-l] [-L <file>]\n";
-
- PRIVATE Server_image default_good_icon, good = NULL;
- PRIVATE Server_image default_bad_icon, bad = NULL;
- --- 69,75 ----
- #include "icons/mask.icon"
- };
-
- ! PRIVATE char *ct_usage = "usage: contool [-c <file>] [-l] [-L <file>] [-n]\n";
-
- PRIVATE Server_image default_good_icon, good = NULL;
- PRIVATE Server_image default_bad_icon, bad = NULL;
- ***************
- *** 83,88 ****
- --- 85,91 ----
- PRIVATE int explicit_filters = FALSE;
- PRIVATE int masking_works;
- PRIVATE FILE *master = NULL;
- + PRIVATE int no_console = FALSE;
- PRIVATE int old_time = 0;
- PRIVATE char *program;
- PRIVATE FILE *slave = NULL;
- ***************
- *** 575,581 ****
- sprintf(path, "%s/.contool", getenv("HOME"));
- filter_file = strsave(path);
-
- ! while ((c = getopt(argc, argv, "c:lL:?", &s)) != EOF)
- switch (c) {
- case 'c' : filter_file = expand_tilde(s);
- explicit_filters = TRUE;
- --- 578,584 ----
- sprintf(path, "%s/.contool", getenv("HOME"));
- filter_file = strsave(path);
-
- ! while ((c = getopt(argc, argv, "c:lL:n?", &s)) != EOF)
- switch (c) {
- case 'c' : filter_file = expand_tilde(s);
- explicit_filters = TRUE;
- ***************
- *** 584,589 ****
- --- 587,594 ----
- break;
- case 'L' : log_file = expand_tilde(s);
- break;
- + case 'n' : no_console = TRUE;
- + break;
- case '?' : fprintf(stderr, ct_usage);
- exit(0);
- break;
- ***************
- *** 610,618 ****
- int argc;
- char **argv;
-
- ! { char buf[1024], *path, *open_psuedo_tty();
- int i;
- XWindowAttributes attr;
-
- program = strsave(argv[0]);
-
- --- 615,624 ----
- int argc;
- char **argv;
-
- ! { char buf[1024], *p, *path, *open_psuedo_tty();
- int i;
- XWindowAttributes attr;
- + XClassHint hints;
-
- program = strsave(argv[0]);
-
- ***************
- *** 627,634 ****
- if (fcntl(fileno(master), F_SETFL, i) == -1)
- abend("%s: could not force %s to non-blocking i/o", program);
-
- - acquire_console(path);
- -
- xv_init(XV_INIT_ARGC_PTR_ARGV, &argc, argv, 0);
- INSTANCE = xv_unique_key();
-
- --- 633,638 ----
- ***************
- *** 658,666 ****
- --- 662,676 ----
- XGetWindowAttributes(xv_get(contool_base->base, XV_DISPLAY), xv_get(xv_get(contool_base->base, XV_ROOT), XV_XID), &attr);
- masking_works = (attr.depth > 1);
-
- + hints.res_class = "Contool";
- + hints.res_name = (p = rindex(program, '/'))? p + 1 : program;
- + XSetClassHint(xv_get(contool_base->base, XV_DISPLAY), xv_get(xv_get(contool_base->base, XV_ROOT), XV_XID), &hints);
- +
- parse_options(&argc, argv);
- load_filters();
- update_icons();
- + if (!no_console)
- + acquire_console();
-
- notify_set_input_func(contool_base->base, input_func, fileno(master));
- notify_interpose_destroy_func(contool_base->base, destroy_proc);
- *** contool.h.orig Tue Jan 15 11:44:11 1991
- --- contool.h Tue Jan 15 08:47:03 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- *** contool_ui.c.orig Tue Jan 15 11:44:12 1991
- --- contool_ui.c Tue Jan 15 11:23:54 1991
- ***************
- *** 65,71 ****
- NULL,
- MENU_ITEM,
- XV_KEY_DATA, INSTANCE, ip,
- ! MENU_STRING, "About contool...",
- MENU_GEN_PROC, popup_about_contool,
- NULL,
- MENU_DEFAULT, 2,
- --- 65,71 ----
- NULL,
- MENU_ITEM,
- XV_KEY_DATA, INSTANCE, ip,
- ! MENU_STRING, "About Contool...",
- MENU_GEN_PROC, popup_about_contool,
- NULL,
- MENU_DEFAULT, 2,
- ***************
- *** 313,319 ****
- XV_KEY_DATA, INSTANCE, ip,
- XV_WIDTH, 575,
- XV_HEIGHT, 246,
- ! XV_LABEL, "Contool 3.0b",
- FRAME_CLOSED, FALSE,
- FRAME_SHOW_FOOTER, TRUE,
- FRAME_SHOW_RESIZE_CORNER, TRUE,
- --- 313,319 ----
- XV_KEY_DATA, INSTANCE, ip,
- XV_WIDTH, 575,
- XV_HEIGHT, 246,
- ! XV_LABEL, "Contool 3.0c",
- FRAME_CLOSED, FALSE,
- FRAME_SHOW_FOOTER, TRUE,
- FRAME_SHOW_RESIZE_CORNER, TRUE,
- ***************
- *** 2011,2019 ****
- XV_HELP_DATA, "contool:message1",
- XV_X, 210,
- XV_Y, 14,
- ! XV_WIDTH, 85,
- XV_HEIGHT, 13,
- ! PANEL_LABEL_STRING, "Contool 3.0b",
- PANEL_LABEL_BOLD, TRUE,
- NULL);
- return obj;
- --- 2011,2019 ----
- XV_HELP_DATA, "contool:message1",
- XV_X, 210,
- XV_Y, 14,
- ! XV_WIDTH, 83,
- XV_HEIGHT, 13,
- ! PANEL_LABEL_STRING, "Contool 3.0c",
- PANEL_LABEL_BOLD, TRUE,
- NULL);
- return obj;
- ***************
- *** 2037,2043 ****
- XV_Y, 30,
- XV_WIDTH, 152,
- XV_HEIGHT, 13,
- ! PANEL_LABEL_STRING, "Copyright 1988 - 1990",
- PANEL_LABEL_BOLD, TRUE,
- NULL);
- return obj;
- --- 2037,2043 ----
- XV_Y, 30,
- XV_WIDTH, 152,
- XV_HEIGHT, 13,
- ! PANEL_LABEL_STRING, "Copyright 1988 - 1991",
- PANEL_LABEL_BOLD, TRUE,
- NULL);
- return obj;
- ***************
- *** 2299,2307 ****
- XV_HELP_DATA, "contool:message16",
- XV_X, 14,
- XV_Y, 254,
- ! XV_WIDTH, 481,
- XV_HEIGHT, 13,
- ! PANEL_LABEL_STRING, "Contool has been placed in the public domain, but the copyright on the source",
- PANEL_LABEL_BOLD, FALSE,
- NULL);
- return obj;
- --- 2299,2307 ----
- XV_HELP_DATA, "contool:message16",
- XV_X, 14,
- XV_Y, 254,
- ! XV_WIDTH, 463,
- XV_HEIGHT, 13,
- ! PANEL_LABEL_STRING, "Contool has been released for private, not-for-profit use, and the copyright",
- PANEL_LABEL_BOLD, FALSE,
- NULL);
- return obj;
- ***************
- *** 2323,2331 ****
- XV_HELP_DATA, "contool:message17",
- XV_X, 14,
- XV_Y, 270,
- ! XV_WIDTH, 472,
- XV_HEIGHT, 13,
- ! PANEL_LABEL_STRING, "code is retained by myself and Harris Corporation, my employer. This means",
- PANEL_LABEL_BOLD, FALSE,
- NULL);
- return obj;
- --- 2323,2331 ----
- XV_HELP_DATA, "contool:message17",
- XV_X, 14,
- XV_Y, 270,
- ! XV_WIDTH, 480,
- XV_HEIGHT, 13,
- ! PANEL_LABEL_STRING, "on the source code is retained by myself and Harris Corporation, my employer.",
- PANEL_LABEL_BOLD, FALSE,
- NULL);
- return obj;
- ***************
- *** 2347,2355 ****
- XV_HELP_DATA, "contool:message18",
- XV_X, 14,
- XV_Y, 286,
- ! XV_WIDTH, 460,
- XV_HEIGHT, 13,
- ! PANEL_LABEL_STRING, "that you can give the source code to anyone but you cannot sell any part of",
- PANEL_LABEL_BOLD, FALSE,
- NULL);
- return obj;
- --- 2347,2355 ----
- XV_HELP_DATA, "contool:message18",
- XV_X, 14,
- XV_Y, 286,
- ! XV_WIDTH, 463,
- XV_HEIGHT, 13,
- ! PANEL_LABEL_STRING, "This means that you can give the source code to anyone but you cannot sell",
- PANEL_LABEL_BOLD, FALSE,
- NULL);
- return obj;
- ***************
- *** 2373,2379 ****
- XV_Y, 302,
- XV_WIDTH, 455,
- XV_HEIGHT, 13,
- ! PANEL_LABEL_STRING, "the source code, nor can you incorporate any part of the source code into a",
- PANEL_LABEL_BOLD, FALSE,
- NULL);
- return obj;
- --- 2373,2379 ----
- XV_Y, 302,
- XV_WIDTH, 455,
- XV_HEIGHT, 13,
- ! PANEL_LABEL_STRING, "any part of the source code, nor can you incorporate any part of the source",
- PANEL_LABEL_BOLD, FALSE,
- NULL);
- return obj;
- ***************
- *** 2395,2403 ****
- XV_HELP_DATA, "contool:message20",
- XV_X, 14,
- XV_Y, 318,
- ! XV_WIDTH, 219,
- XV_HEIGHT, 13,
- ! PANEL_LABEL_STRING, "product which is subsequently sold.",
- PANEL_LABEL_BOLD, FALSE,
- NULL);
- return obj;
- --- 2395,2403 ----
- XV_HELP_DATA, "contool:message20",
- XV_X, 14,
- XV_Y, 318,
- ! XV_WIDTH, 290,
- XV_HEIGHT, 13,
- ! PANEL_LABEL_STRING, "code into a product which is subsequently sold.",
- PANEL_LABEL_BOLD, FALSE,
- NULL);
- return obj;
- ***************
- *** 2470,2475 ****
- --- 2470,2476 ----
- caddr_t ip;
- Xv_opaque owner;
- {
- + extern void done_mail();
- Xv_opaque obj;
-
- obj = xv_create(owner, FRAME_CMD,
- ***************
- *** 2481,2486 ****
- --- 2482,2488 ----
- FRAME_SHOW_FOOTER, FALSE,
- FRAME_SHOW_RESIZE_CORNER, FALSE,
- FRAME_CMD_PUSHPIN_IN, FALSE,
- + FRAME_DONE_PROC, done_mail,
- NULL);
- xv_set(xv_get(obj, FRAME_CMD_PANEL), WIN_SHOW, FALSE, NULL);
- return obj;
- *** error.c.orig Tue Jan 15 11:44:20 1991
- --- error.c Tue Jan 15 08:46:54 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- *** expand.c.orig Tue Jan 15 11:44:20 1991
- --- expand.c Tue Jan 15 08:38:51 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- #include <sys/types.h>
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- #include <sys/types.h>
- *** filename_completion.c.orig Tue Jan 15 11:44:22 1991
- --- filename_completion.c Tue Jan 15 08:38:51 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- *** filters.c.orig Tue Jan 15 11:44:23 1991
- --- filters.c Tue Jan 15 08:46:42 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- *** lex.c.orig Tue Jan 15 11:44:25 1991
- --- lex.c Tue Jan 15 08:46:40 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- #define RETURN(x) return(last_token = (x))
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- #define RETURN(x) return(last_token = (x))
- *** load.c.orig Tue Jan 15 11:44:26 1991
- --- load.c Tue Jan 15 08:46:37 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- *** load_icon.c.orig Tue Jan 15 11:44:27 1991
- --- load_icon.c Tue Jan 15 08:41:14 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- #include <stdio.h>
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- #include <stdio.h>
- *** logging.c.orig Tue Jan 15 11:44:28 1991
- --- logging.c Tue Jan 15 08:46:30 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- *** manifest.h.orig Tue Jan 15 11:44:29 1991
- --- manifest.h Tue Jan 15 08:46:19 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- *** misc.c.orig Tue Jan 15 11:44:30 1991
- --- misc.c Tue Jan 15 08:46:16 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- #include <stdio.h>
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- #include <stdio.h>
- *** parse.y.orig Tue Jan 15 11:44:31 1991
- --- parse.y Tue Jan 15 08:46:13 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- %{
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- %{
- *** patchlevel.h.orig Tue Jan 15 11:44:32 1991
- --- patchlevel.h Tue Jan 15 08:46:07 1991
- ***************
- *** 1,5 ****
- --- 1,24 ----
- /************************************************************************/
- + /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- + /* Full ownership of this software, and all rights pertaining to */
- + /* the for-profit distribution of this software, are retained by */
- + /* Chuck Musciano and Harris Corporation. You are permitted to */
- + /* use this software without fee. This software is provided "as */
- + /* is" without express or implied warranty. You may redistribute */
- + /* this software, provided that this copyright notice is retained, */
- + /* and that the software is not distributed for profit. If you */
- + /* wish to use this software in a profit-making venture, you must */
- + /* first license this code and its underlying technology from */
- + /* Harris Corporation. */
- + /* */
- + /* Bottom line: you can have this software, you can use it, you */
- + /* can give it away. You just can't sell any or all parts of it */
- + /* without prior permission from Harris Corporation. */
- + /************************************************************************/
- +
- + /************************************************************************/
- + /* */
- /* Patch Comments */
- /* 0 Initial release for XView */
- /* comp.sources.x: Volume 10, Issues 34-39 */
- ***************
- *** 8,12 ****
- --- 27,34 ----
- /* comp.sources.x: Volume 10, Issue 40 */
- /* */
- /* 2 Bug fixes; see README for details */
- + /* comp.sources.x: Volume 10, Issue 78 */
- + /* */
- + /* 3 Bug fixes; see README for details */
- /* */
- /************************************************************************/
- *** pinned_menu_notify.c.orig Tue Jan 15 11:44:33 1991
- --- pinned_menu_notify.c Tue Jan 15 08:38:19 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- *** place_dialog.c.orig Tue Jan 15 11:44:34 1991
- --- place_dialog.c Tue Jan 15 08:43:47 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- ***************
- *** 54,59 ****
- --- 55,68 ----
- dr.r_left = br.r_left + 32;
- dr.r_top = br.r_top + 32;
- }
- + if (dr.r_top + dr.r_height > sr.r_height)
- + dr.r_top = sr.r_height - dr.r_height;
- + if (dr.r_top < 0)
- + dr.r_top = 0;
- + if (rect_right(&dr) > sr.r_width)
- + dr.r_left = sr.r_width - dr.r_width;
- + if (dr.r_left < 0)
- + dr.r_left = 0;
- frame_set_rect(dialog, &dr);
-
- hints = XGetWMHints(xv_get(dialog, XV_DISPLAY), xv_get(dialog, XV_XID));
- *** props.c.orig Tue Jan 15 11:44:35 1991
- --- props.c Tue Jan 15 08:45:30 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- *** regexp.c.orig Tue Jan 15 11:44:36 1991
- --- regexp.c Tue Jan 15 08:45:27 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- #include <stdio.h>
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- #include <stdio.h>
- *** send_mail.c.orig Tue Jan 15 11:44:37 1991
- --- send_mail.c Tue Jan 15 08:45:22 1991
- ***************
- *** 1,5 ****
- --- 1,24 ----
- /************************************************************************/
- + /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- + /* Full ownership of this software, and all rights pertaining to */
- + /* the for-profit distribution of this software, are retained by */
- + /* Chuck Musciano and Harris Corporation. You are permitted to */
- + /* use this software without fee. This software is provided "as */
- + /* is" without express or implied warranty. You may redistribute */
- + /* this software, provided that this copyright notice is retained, */
- + /* and that the software is not distributed for profit. If you */
- + /* wish to use this software in a profit-making venture, you must */
- + /* first license this code and its underlying technology from */
- + /* Harris Corporation. */
- + /* */
- + /* Bottom line: you can have this software, you can use it, you */
- + /* can give it away. You just can't sell any or all parts of it */
- + /* without prior permission from Harris Corporation. */
- + /************************************************************************/
- +
- + /************************************************************************/
- + /* */
- /* send_mail.c display a little information window */
- /* */
- /************************************************************************/
- ***************
- *** 14,19 ****
- --- 33,40 ----
-
- #include "manifest.h"
-
- + #define VERSION "3.0c"
- +
- PUBLIC contool_base_objects *contool_base;
-
- PRIVATE contool_mail_objects *dialog = NULL;
- ***************
- *** 54,59 ****
- --- 75,90 ----
- }
-
- /************************************************************************/
- + EXPORT void done_mail(frame)
- +
- + Frame frame;
- +
- + {
- + textsw_reset(dialog->message, 0, 0);
- + xv_set(frame, XV_SHOW, FALSE, 0);
- + }
- +
- + /************************************************************************/
- EXPORT void send_mail(item, event)
-
- Panel_item item;
- ***************
- *** 76,94 ****
- else
- sprintf(cmd, "%s %s", MAILER, buf);
- }
- - lets_get_busy(contool_base->base, TRUE, NULL);
- - if ((pipe = popen(cmd, "w")) == NULL) {
- - error("Could not invoke \"%s\" to send mail", cmd);
- - return;
- - }
- size = (int) xv_get(dialog->message, TEXTSW_LENGTH);
- if (size == 0) {
- error("Please type a message before sending the mail");
- return;
- }
- buf = (char *) malloc(size);
- xv_get(dialog->message, TEXTSW_CONTENTS, 0, buf, size);
- ! fprintf(pipe, "Subject: Contool comment\n\n");
- if (fwrite(buf, 1, size, pipe) != size) {
- error("Could not write message to the mailer");
- free(buf);
- --- 107,125 ----
- else
- sprintf(cmd, "%s %s", MAILER, buf);
- }
- size = (int) xv_get(dialog->message, TEXTSW_LENGTH);
- if (size == 0) {
- error("Please type a message before sending the mail");
- return;
- }
- + if ((pipe = popen(cmd, "w")) == NULL) {
- + error("Could not invoke \"%s\" to send mail", cmd);
- + return;
- + }
- + lets_get_busy(contool_base->base, TRUE, NULL);
- buf = (char *) malloc(size);
- xv_get(dialog->message, TEXTSW_CONTENTS, 0, buf, size);
- ! fprintf(pipe, "Subject: Contool %s comment\n\n", VERSION);
- if (fwrite(buf, 1, size, pipe) != size) {
- error("Could not write message to the mailer");
- free(buf);
- ***************
- *** 96,101 ****
- --- 127,133 ----
- }
- pclose(pipe);
- free(buf);
- + textsw_reset(dialog->message, 0, 0);
- lets_get_busy(contool_base->base, FALSE, NULL);
- xv_set(item, PANEL_NOTIFY_STATUS, XV_OK, 0);
- }
- ***************
- *** 108,112 ****
-
- {
- textsw_reset(dialog->message, 0, 0);
- ! xv_set(item, PANEL_NOTIFY_STATUS, XV_ERROR, 0);
- }
- --- 140,144 ----
-
- {
- textsw_reset(dialog->message, 0, 0);
- ! xv_set(item, PANEL_NOTIFY_STATUS, XV_OK, 0);
- }
- *** store.c.orig Tue Jan 15 11:44:38 1991
- --- store.c Tue Jan 15 08:45:02 1991
- ***************
- *** 1,19 ****
- /************************************************************************/
- ! /* Copyright 1988-1990 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Permission to use, copy, modify, and distribute this software */
- ! /* and its documentation for any purpose and without fee is */
- ! /* hereby granted, provided that the above copyright notice */
- ! /* appear in all copies and that both that copyright notice and */
- ! /* this permission notice appear in supporting documentation, and */
- ! /* that the name of Chuck Musciano and Harris Corporation not be */
- ! /* used in advertising or publicity pertaining to distribution */
- ! /* of the software without specific, written prior permission. */
- ! /* Chuck Musciano and Harris Corporation make no representations */
- ! /* about the suitability of this software for any purpose. It is */
- ! /* provided "as is" without express or implied warranty. This */
- ! /* software may not be sold without the prior explicit permission */
- ! /* of Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
- --- 1,20 ----
- /************************************************************************/
- ! /* Copyright 1987-1991 by Chuck Musciano and Harris Corporation */
- /* */
- ! /* Full ownership of this software, and all rights pertaining to */
- ! /* the for-profit distribution of this software, are retained by */
- ! /* Chuck Musciano and Harris Corporation. You are permitted to */
- ! /* use this software without fee. This software is provided "as */
- ! /* is" without express or implied warranty. You may redistribute */
- ! /* this software, provided that this copyright notice is retained, */
- ! /* and that the software is not distributed for profit. If you */
- ! /* wish to use this software in a profit-making venture, you must */
- ! /* first license this code and its underlying technology from */
- ! /* Harris Corporation. */
- ! /* */
- ! /* Bottom line: you can have this software, you can use it, you */
- ! /* can give it away. You just can't sell any or all parts of it */
- ! /* without prior permission from Harris Corporation. */
- /************************************************************************/
-
- /************************************************************************/
-