Xref: utzoo comp.sys.ibm.pc:25161 comp.binaries.ibm.pc.d:1960 comp.sources.wanted:6497 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ames!pasteur!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!steinmetz!davidsen From: davidsen@steinmetz.ge.com (William E. Davidsen Jr) Newsgroups: comp.sys.ibm.pc,comp.binaries.ibm.pc.d,comp.sources.wanted Subject: Re: Controlling PC via serial port Keywords: PC, serial port, terminal Message-ID: <13228@steinmetz.ge.com> Date: 23 Feb 89 17:03:54 GMT References: <900@mtunf.ATT.COM> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Distribution: usa Organization: General Electric CRD, Schenectady, NY Lines: 31 In article <900@mtunf.ATT.COM> arr@mtunf.ATT.COM (Andrew Raffman) writes: | Dear Netfolk, | | I'm working on a project here which requires me to be able to run my PC from | an ASCII terminal hooked into the serial port. Does anyone know of any such | programs, either public domain or commercial? I have heard that they are often | used by people running BBS's. CTTY COM1 put it in your autoexec.bat file. If you need login security (you didn't say you did) add a tiny password checker as the next command in autoexec. main(argc, argv) int argc; char *argv[]; { char pwbuf[80]; do { fgets(pwbuf, 80, stdin); } while (strcmp(argv[1],pwbuf)); } Warning: I typed this long and complex program in by hand, there may be typos. If you call it without an argument it will hang your system. This solution doesn't allow input for the keyboard after CTTY is redirected. -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me