Here's the code to set up a grep-type tool in your tool menu. It's in the
CCL core, but is not exported or documented, so use it with care.
;;; Add a GREP-like tool to the Tools Menu. It is from the CCL package. why is it not
;;; documented? I don't know, so use it with caution.
(ask *tools-menu* (add-menu-items
(oneof *menu-item*
:menu-item-title "Grep"
:menu-item-action
#'(lambda ()
(ccl::inspect-search-file
(if (typep (front-window) *fred-window*)
(ask (front-window) (get-selected-string))))))))
--
..........................................................................
Jeffrey Sullivan | University of Pittsburgh
···@cadre.dsl.pittsburgh.edu | Intelligent Systems Studies Program
······@PittVMS.BITNET, ······@cisunx.UUCP | Graduate Student