HISTMENUA LispUsers PackageDaniel G. Bobrowrevised: February 10, 1983 9:22 AMThe history menu package provides a simple way to access the history list using a menu. Throughthis menu one can REDO, UNDO, FIX, and ?? selected items. One can also delete selected itemsfrom the menu.(HistoryMenu N) will create a Menu of the last N history events in a HistoryWindow.HistItemsShown items of these N items will be seen on the menu. The rest may be seen byscrolling the menu. N defaults to HistDefaultSlice.Selecting an item with LEFT in the window does a REDO on that item. Selecting with theMIDDLE button and then releasing the button causes a popup menu to be shown which provides aset of other options: FIX, UNDO, ??, and Delete. Selecting FIX, UNDO, and ?? cause that historyoperation to be done on the item selected. Look in the prompt window while holding down abutton on an option in the popup menu to see what will happen if you let the button up. Clickingthe RIGHT button in the window will bring up the usual window options, plus an UPDATE optionwhich will update the menu to contain all current items.Delete causes an item to be deleted from the menu (not the real history list). Deleting "unuseful"items allows more "good" items to appear in the same window space. Also, atomic items on the listBadHistoryItems will never appear on the History Menu. BadHistoryItems is initially (EDIT ?=OK T NIL ^).Update makes the menu contain all of the current slice of history. The History Menu is NOTautomatically updated as you type in. However, after each deletion, the HistoryMenu is updatedautomatically if UpdateOnDeleteFlg is not NIL. UpdateOnDeleteFlg starts as T.(HistIcon N histPosition iconPosition) will create a history menu at histPosition, and then shrink itto a special picture icon (which looks like a scroll) located at iconPosition.The HistoryWindow and HistoryMenu creation are controlled by the following parameters inaddition to BadHistoryItems and UpdateOnDeleteFlg. NameInitial Value ExplanationHistDefaultSlice 30Number of items in HistoryMenuHistItemsShown 51Number of items shown in windowHistMenuHeight 15Height of an item in the menu in screen bitsHistMenuWidth164Width of item in Menu in bitsHistWindowWidth164Width of HistoryWindow in bits.HistEventWidth 60Maximum number of characters that will beshown of the event in the prompt windowÿî&6ï`špî#¾ï]’ôXî$çïZŠî ·ïW¥qôFð#î ·ïSôð8î ·ï:ûprô“ðHô”î ·ï9wô‚ð4ôƒð.î ·ï7óprô§ð!ô¨pr pî ·ï6oô rî ·ï3gprô¯ð3ô°ð#î ·ï1ãô§ð%ô¨ð:î ·ï0_ôpr pr î ·ï-Vprô–ðMô—î ·ï+ÒôðNî ·ï(Êôêð@ôëî ·ï'Fô prprî ·ï%ÂôXî ·ï#çþ•ï$>î ï#çþNï$> î$€ î(Hï#çþ"ï$> î ·ï"ºpî rî î$€î ·ï!6p î rî î$€î ·ï²p î rî$€ð,î ·ï.p î rî$€î ·ïªpî rî$€î ·ï&p î rî î$€ð)î$€ï¢ð'ÿ Z ·[>çIÝ4 TIMESROMAN  TIMESROMAN TIMESROMAN Ìÿÿj/ šŽ;Úÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿhistmenu.bravoBobrowMarch 3, 1983 9:18 AM