🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12464

Faking input for Ed

#12464
From: Todd M. Lewis
Date: Mon, 01 May 1989 21:12
15 lines
1173 bytes
I've been playing around with this crazy idea of sending input
into Ed from another program.  This would let me creat macros, etc.
for use with Ed.  (I know i could use ARexx and some other editors
to do this better, probably, but I first thought of this about 
2 years ago and the idea just wont go away.)  
   How would I go about it?  I can find open Ed windows on the screen.
Would I just send his IDCMP some faked messages, or is it more complicated
than that?  I wish I'd never thought of this.  
  _____        
    |      Todd M. Lewis            Disclaimer: If you want my employer's
    ||\/|  utoddl@ecsvax.uncecs.edu             ideas, you'll have to
    ||  ||                                      _buy_ them. 
     |  ||     
         |___   (Never write a program bigger than your screen.)
Technical Details
Message-ID: <6911@ecsvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!xanth!mcnc!ecsvax!utoddl

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!xanth!mcnc!ecsvax!utoddl
From: utoddl@ecsvax.UUCP (Todd M. Lewis)
Newsgroups: comp.sys.amiga.tech
Subject: Faking input for Ed
Keywords: Ed, front end
Message-ID: <6911@ecsvax.UUCP>
Date: 1 May 89 21:12:36 GMT
Distribution: na
Organization: UNC Educational Computing Service
Lines: 15