[plt-scheme] redirecting keyboard events

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Jan 27 13:15:08 EST 2006

At Fri, 27 Jan 2006 18:05:41 +0000, pedro pinto wrote:
> One more question, is there a way to persuade a MrEd application to use as
> its standard input/output something other than a console? I would like to
> have emacs launch a mred app and then talk to it through stdin, stdout. Is
> this possible?

Yes, if you create a different "MrEd.exe". The following creates

 (require (lib "embed.ss" "compiler"))
 (make-embedding-executable "cmred.exe" 
                            #t #f null null
                            '((subsystem . console)))


Posted on the users mailing list.