home *** CD-ROM | disk | FTP | other *** search
- *** Makefile.orig Thu Jun 29 07:43:38 1989
- --- Makefile Thu Jun 1 10:25:31 1989
- ***************
- *** 42,48 ****
- --- 42,50 ----
- patch: Makefile *.man *.[chy]
- rm -f patch temp
- -for i in Makefile *.man *.[chy] ; do \
- + cp orig/$$i $${i}.orig ; \
- diff -c $${i}.orig $$i >>temp ; \
- + rm $${i}.orig ; \
- done
- sed '/^No differences encountered/d' <temp >patch
- rm temp
- ***************
- *** 49,55 ****
-
- newver:
- for i in Makefile *.[chy] ; do \
- ! cp $$i $${i}.orig ; \
- done
-
- clean:
- --- 51,57 ----
-
- newver:
- for i in Makefile *.[chy] ; do \
- ! cp $$i orig/$$i ; \
- done
-
- clean:
- *** events.c.orig Thu Jun 29 07:43:43 1989
- --- events.c Thu Jun 29 07:32:25 1989
- ***************
- *** 250,256 ****
- }
- if (tt_mouse[button][shift].defined == MOUSE_UNDEFINED)
- return(notify_next_event_func(tty, event, arg, type));
- ! else if (tt_mouse[button][shift].defined == MOUSE_STRING)
- a = tt_mouse[button][shift].action;
- else if (tt_mouse[button][shift].defined == MOUSE_MENU) {
- a = (a_ptr) menu_show(tt_mouse[button][shift].menu, tty, event, 0);
- --- 250,256 ----
- }
- if (tt_mouse[button][shift].defined == MOUSE_UNDEFINED)
- return(notify_next_event_func(tty, event, arg, type));
- ! else if (tt_mouse[button][shift].defined == MOUSE_ACTION)
- a = tt_mouse[button][shift].action;
- else if (tt_mouse[button][shift].defined == MOUSE_MENU) {
- a = (a_ptr) menu_show(tt_mouse[button][shift].menu, tty, event, 0);
- ***************
- *** 260,266 ****
- --- 260,268 ----
- }
- }
- tt_mouse_x->value->number = x;
- + tt_mouse_x->value->kind = V_NUMBER;
- tt_mouse_y->value->number = y;
- + tt_mouse_y->value->kind = V_NUMBER;
- tt_do_action(a);
- return(NOTIFY_DONE);
- }
- *** lex.c.orig Thu Jun 29 07:43:51 1989
- --- lex.c Thu Jun 29 07:32:26 1989
- ***************
- *** 123,130 ****
- PRIVATE struct {char first;
- char next;
- int name;
- ! } punc[] = {{'&', '\0', LOGICAL_AND},
- ! {'&', '&', AND},
- {'&', '=', ASSIGN_AND},
- {':', '\0', COLON},
- {',', '\0', COMMA},
- --- 123,130 ----
- PRIVATE struct {char first;
- char next;
- int name;
- ! } punc[] = {{'&', '\0', AND},
- ! {'&', '&', LOGICAL_AND},
- {'&', '=', ASSIGN_AND},
- {':', '\0', COLON},
- {',', '\0', COMMA},
- *** parse.y.orig Thu Jun 29 07:43:54 1989
- --- parse.y Thu Jun 29 07:32:25 1989
- ***************
- *** 980,986 ****
- ;
-
- mouse_value : shifts action
- ! { tt_mouse[curr_key][$1].defined = MOUSE_STRING;
- tt_mouse[curr_key][$1].action = $2;
- }
- | shifts menu
- --- 980,986 ----
- ;
-
- mouse_value : shifts action
- ! { tt_mouse[curr_key][$1].defined = MOUSE_ACTION;
- tt_mouse[curr_key][$1].action = $2;
- }
- | shifts menu
- *** patchlevel.h.orig Thu Jun 29 07:43:56 1989
- --- patchlevel.h Thu Jun 29 07:34:56 1989
- ***************
- *** 36,42 ****
- /* or without a .ttyswrc file entry. */
- /* 25 Apr 89 2.1b Fixed the handling of meta keys in the */
- /* function key fix. */
- - /* */
- /* 1 Jun 89 2.1c Clarified wording of copyright notice. */
- /* */
- /************************************************************************/
- --- 36,47 ----
- /* or without a .ttyswrc file entry. */
- /* 25 Apr 89 2.1b Fixed the handling of meta keys in the */
- /* function key fix. */
- /* 1 Jun 89 2.1c Clarified wording of copyright notice. */
- + /* 29 Jun 89 2.1d Fixed bug in window sizing and screen */
- + /* positioning. */
- + /* Fixed reversal of AND and LOGICAL_AND */
- + /* in lex.c. */
- + /* Fixed bug in setting the value of */
- + /* mouse_x and mouse_y. */
- /* */
- /************************************************************************/
- *** symbols.c.orig Thu Jun 29 07:43:58 1989
- --- symbols.c Thu Jun 29 07:32:23 1989
- ***************
- *** 121,130 ****
- { s_ptr interval;
-
- tt_mouse_x = tt_find_symbol("mouse_x");
- tt_mouse_y = tt_find_symbol("mouse_y");
- interval = tt_find_symbol("interval");
- interval->value->kind |= V_INTERVAL;
- tt_delimiters = tt_find_symbol("delimiters");
- ! tt_delimiters->value->kind = 0;
- tt_delimiters->value->str = " \t\n\r\"'";
- }
- --- 121,132 ----
- { s_ptr interval;
-
- tt_mouse_x = tt_find_symbol("mouse_x");
- + tt_mouse_x->value->kind = V_NUMBER;
- tt_mouse_y = tt_find_symbol("mouse_y");
- + tt_mouse_y->value->kind = V_NUMBER;
- interval = tt_find_symbol("interval");
- interval->value->kind |= V_INTERVAL;
- tt_delimiters = tt_find_symbol("delimiters");
- ! tt_delimiters->value->kind = V_NOTHING;
- tt_delimiters->value->str = " \t\n\r\"'";
- }
- *** tooltool.h.orig Thu Jun 29 07:44:00 1989
- --- tooltool.h Thu Jun 29 07:32:24 1989
- ***************
- *** 107,113 ****
- /* The functions a mouse key can perform
- */
- #define MOUSE_UNDEFINED 0
- ! #define MOUSE_STRING 1
- #define MOUSE_MENU 2
-
- /* The ways a choice gadget can be laid out
- --- 107,113 ----
- /* The functions a mouse key can perform
- */
- #define MOUSE_UNDEFINED 0
- ! #define MOUSE_ACTION 1
- #define MOUSE_MENU 2
-
- /* The ways a choice gadget can be laid out
- ***************
- *** 359,365 ****
-
- /* A mouse record holds operation to be performed by one mouse
- * button/shift-state combination. "Defined" is one of
- ! * MOUSE_{UNDEFINED,STRING,MENU}. If MOUSE_STRING, "value" holds
- * the text to be transmitted. If MOUSE_MENU, "menu" holds
- * the menu to be displayed.
- */
- --- 359,365 ----
-
- /* A mouse record holds operation to be performed by one mouse
- * button/shift-state combination. "Defined" is one of
- ! * MOUSE_{UNDEFINED,ACTION,MENU}. If MOUSE_ACTION, "action" holds
- * the text to be transmitted. If MOUSE_MENU, "menu" holds
- * the menu to be displayed.
- */
- *** windows.c.orig Thu Jun 29 07:44:02 1989
- --- windows.c Mon Jun 12 09:24:44 1989
- ***************
- *** 306,311 ****
- --- 306,318 ----
- 0);
- gadget_columns(tt_base_window);
- }
- +
- + if (tty == NULL || tt_base_window->rows <= 0 || tt_base_window->columns <= 0) {
- + if (tty)
- + window_set(tty, WIN_SHOW, FALSE, 0);
- + if (tt_base_window->panel)
- + window_fit(tt_base_window->panel);
- + }
- window_fit(tt_base_window->frame);
-
- fr = (Rect *) window_get(tt_base_window->frame, FRAME_OPEN_RECT);
- ***************
- *** 359,372 ****
- if (tty) {
- notify_interpose_event_func(tty, tty_handler, NOTIFY_SAFE);
- tt_ttymenu = (Menu) window_get(tty, WIN_MENU);
- - }
- -
- - if (tty == NULL || tt_base_window->rows <= 0 || tt_base_window->columns <= 0) {
- - if (tty)
- - window_set(tty, WIN_SHOW, FALSE, 0);
- - if (tt_base_window->panel)
- - window_fit(tt_base_window->panel);
- - window_fit(tt_base_window->frame);
- }
-
- fr = (Rect *) window_get(tt_base_window->frame, FRAME_OPEN_RECT);
- --- 366,371 ----
-