Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!osu-eddie!paul From: paul@osu-eddie.UUCP (Paul Placeway) Newsgroups: net.emacs,misc.wanted,net.wanted.sources Subject: Re: Search terminator in MicroEMACS 3.7 Message-ID: <2465@osu-eddie.UUCP> Date: Fri, 24-Oct-86 16:12:08 EDT Article-I.D.: osu-eddi.2465 Posted: Fri Oct 24 16:12:08 1986 Date-Received: Sat, 25-Oct-86 06:58:21 EDT References: <340@xios.UUCP> Reply-To: paul@osu-eddie.UUCP (Paul Placeway) Distribution: world Organization: The Ohio State University, CIS Dept. Lines: 23 Xref: watmath net.emacs:2456 misc.wanted:75 net.wanted.sources:2981 In article <340@xios.UUCP> greg@xios.UUCP (Greg Franks) writes: >Has anyone out in net land implemented the capability of mapping the >terminator () in search and replace, and the control characters in >incremental search, in MicroEMACS 3.7? ... Yes, it's quite easy, although in a strange place. To change the things in the file search.c, in the routine readpattern(), (in 3.7 NOT i, line 255) change the line that reads: < s = mlreplyt(tpat, tpat, NPAT, 27); /* Read pattern */ to: > s = mlreplyt(tpat, tpat, NPAT, '\n'); /* Read pattern (PWP: was 27) */ in iseach.c, change the #define for IS_QUIT to whatever you like (0x1B is ESC). -- Paul Placeway The Ohio State University CIS-CF paul@ohio-state.arpa (CSNet & ARPA) ...!cbosgd!osu-eddie!paul (UUCP)