Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!nosc!humu!uhccux!lee From: lee@uhccux.uhcc.hawaii.edu (Greg Lee) Newsgroups: comp.editors Subject: Re: Is your editor manly enough to edit itself? Message-ID: <2366@uhccux.uhcc.hawaii.edu> Date: 9 Sep 88 16:33:22 GMT References: <1414@spp2.UUCP> Organization: University of Hawaii Lines: 16 From article <1414@spp2.UUCP>, by baur@spp2.UUCP (Steven L. Baur): " ... " # now try ... (this will work) " $ cp `which emacs` /tmp # gnu-emacs " $ emacs /tmp/emacs " ... No fair. It's not editing itself, but rather a copy of itself. I wrote a code-file editor a while back that disassembled code interactively to the screen, and allowed deletion/insertion of symbolic assembly statements. Insertion was done by making room for the new statement by inserting nop's and adjusting all references, then assembling the statement typed and copying the machine code into the code file. In the last stages of development, I used the editor to modify its own executing code. It was sort of exciting. Greg, lee@uhccux.uhcc.hawaii.edu