From: "Paul D.Smith" Newsgroups: comp.os.msdos.apps,comp.os.msdos.djgpp,comp.os.msdos.programmer,microsoft.public.windowsnt.apps,microsoft.public.windowsnt.misc References: <9r77n6$vig$1 AT news DOT rchland DOT ibm DOT com> <9r7bk7$vpc$1 AT news DOT rchland DOT ibm DOT com> Subject: Re: Serial port / Windows NT question Date: Thu, 25 Oct 2001 08:52:12 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Lines: 78 Message-ID: <3bd7c4ad$0$8512$ed9e5944@reading.news.pipex.net> NNTP-Posting-Host: news.dataconnection.com X-Trace: 1003996333 reading.news.pipex.net 8512 192.91.191.11 X-Complaints-To: abuse AT uk DOT uu DOT net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Quick thought - is your COM port wired up to something and are all the hardware handshake lines wired correctly? On PCs, you need to have the various lines at least dummied otherwise you often find that nothing comes out of the serial port. Paul DS. -- Please remove the "x-" if replying to sender. "Mike Fink" wrote in message news:9r7bk7$vpc$1 AT news DOT rchland DOT ibm DOT com... > I guess I lied about the /dev dir and the CYGWIN thing. I reread the CYGWIN > FAQ and it said that if you do an ls on /dev you won't see anything, but > /dev/tty0 will show you a tty device. That worked, and I even compiled the > UUCP package and got cu to run in the CYGWIN environment...BUT I had to run > cu -l COM1 and I still couldn't echo anything to /dev/tty0 or COM1 :-( > > -Mike > > > "Mike Fink" wrote in message > news:9r77n6$vig$1 AT news DOT rchland DOT ibm DOT com... > > Hello, > > > > I'm trying to port some PERL code from UNIX to Windows NT that makes use > of > > the cu > > (UUCP) program. This application currently drives a (VT100) console > > attached to another UNIX system. > > > > Today, we run something like: > > cu -ml tty0 > tty.log > > and then look at tty.log to see what's being sent to the console. If we > > want to write to the console, we simply print commands to /dev/tty0. > > > > Unfortunately on WinNT, I can't do something similar (at least with the > > default setup). In my fantasy world, I'd like to be able to run: > > copy COM1 tty.log > > echo "commands" > COM1 > > > > Since I can only do one of those operations at a time, it won't work real > > well with our existing code. > > > > As an alternative, I installed the CYGWIN software in hopes that the /dev > > directory would give me similar functionality as our UNIX box. However, > > after a vanilla install, no /dev directory was created. > > > > If anyone knows how I could get the /dev directory to show up in CYGWIN or > > knows of a utility that would accomplish what I'm trying to do...I'd > > appreciate the help! > > > > I've read the FAQ and other docs and haven't seen an explanation as to why > > the /dev directory doesn't show and I have found some other utils like > > Hyperterm and Kermit-95...however, I was hoping to find something a little > > more primitive so we don't have to relearn another terminal scripting > > language and pay a licensing fee. > > > > Thanks! > > Mike > > > > If you want to respond to me directly, remove the NOSPAM from my email > > address. > > > > > >