Xref: utzoo comp.sys.mac.hardware:4734 comp.sys.mac.programmer:16515 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!midway!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.mac.hardware,comp.sys.mac.programmer Subject: Re: resetting serial port Message-ID: <1990Aug7.193703.24346@eng.umd.edu> Date: 7 Aug 90 19:37:03 GMT References: <26811@pasteur.Berkeley.EDU> Sender: news@eng.umd.edu (The News System) Distribution: usa Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 20 In article <26811@pasteur.Berkeley.EDU> chou@sim.berkeley.edu (Pai Chou) writes: >I wrote a terminal emulator which works fine for a modem, >but it doesn't work for a Mac whose serial port is connected >directly to a Unix box. There is no hardware reset button. > >My question is, how do you get the prompt message from the >Unix host? How can I make software calls to achieve the same >effect as the hardware reset button? Thanks > >Pai Chou >chou@sim.berkeley.edu Try sending a break (Call SerSetBrk, wait 50-200ms, call SerClrBrk). If that doesn't work, try dropping DTR (csCode = 18 to serial driver) sending a break, and raising DTR (cscode = 17) -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu ][, ][+, ///, ///+, //e, //c, IIGS, //c+ --- Any questions? Hey! Bush has NO LIPS!