Browser documentationKurt A. VanLehnLast revised: January 1, 1982BROWSER modifies the SHOW PATHS command of Masterscope so that thecommand's output is displayed as an undirected graph. It loads GRAPHER. TheBrowser calls LAYOUTFOREST to generate a graph showing the calling hierarchy. The format iscontroled by the two variables BROWSERFORMAT and BROWSERBOXING (which are set intially todisplay horizontally and to box functions that occur more than once in the graph). The graph isthen displayed using SHOWGRAPH. In general, the Browser creates a new window for each SHOWPATHS command, but will reuse a window if that window has an earlier instance of the same SHOWPATHS command displayed in it. The windows can be reshaped and scrolled with the normalwindow menu commands. The windows are "active" in that nodes in the graph (i.e., functions) can be selected for printing oreditting using the mouse. The letting up on the red button causes the nearest function to be prettyprinted in the Browser's printout window. Selecting the same function again will describe thefunction, using the Masterscope DESCRIBE command, in the Browser's describe window. Selectinga function with the yellow button will call the display editor on it. The graph is not updatedautomatically when one returns from the editor; the user must give the SHOW PATHS commandover if desired. The Browser modification to Masterscope can be undone by calling (BROWSER NIL). This restoresthe teletype-oriented output of SHOW PATHS. (BROWSER T) turns the Browser back on. bp _ ] Yqp q p$ X2@qp V q p? U* q pq p S)7 R"qp +q Pp$1q OpC M IPM G40 FH=! Dqp * C@+4 A#$q p @7 ;)q p :nqpqpq p& :'=) TIMESROMAN GACHA Hj/\ BROWSER.bravoVanLehnJanuary 1, 1982 2:45 PM