Xref: utzoo comp.sys.mac.programmer:16395 comp.sys.mac.comm:700 Path: utzoo!attcan!uunet!munnari.oz.au!murtoa.cs.mu.oz.au!rob From: rob@cs.mu.oz.au (Robert Wallen) Newsgroups: comp.sys.mac.programmer,comp.sys.mac.comm Subject: Funky use of serial ports on SE/30 Message-ID: <3104@murtoa.cs.mu.oz.au> Date: 2 Aug 90 12:50:02 GMT Organization: Comp Sci, Melbourne Uni, Australia Lines: 22 Before I ask the question, here is an answer I would prefer not to get. "Use the Communication Toolbox". Having that out of the way, I have a need for a custom application which can take serial input from a modem, display most of it as though it were VT100 but recognise certain escape sequences and direct all traffic from that point on to the printer port (until another sequence is spotted). The basic task is to allow me to use a Tektronix 4107 next to my SE/30, with the Mac showing text and the Tek doing graphics... Programmers: I have a skeleton VT100 already built and was thinking about hacking the extra sequences in when another idea occurred which I thought I would run past the net for feedback. Email please, Ill summarise. How hard would it be to write an INIT/cdev to replace the standard .AIN/.AOUT drivers with a custom version which watches the data that is passes to programs. It lurks inside _Read/_Control/_Status calls and whenever it sees data but is in the passthrough mode, it redirects the data to the Printer port and fakes a return that says 'no data'. That way, I can use any of the existing VT100s around. Can anyone see anything thats going to make this a nightmare to implement?