Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!ames!ptsfa!hoptoad!academ!uhnix1!sugar!peter From: peter@sugar.UUCP (Peter da Silva) Newsgroups: comp.sys.amiga Subject: Multiple serial ports (was Re: Need help with signals) Summary: Binding names to devices. Message-ID: <1359@sugar.UUCP> Date: 5 Jan 88 12:31:46 GMT References: <2245@cup.portal.com> <22374@ucbvax.BERKELEY.EDU> <194@imagine.PAWL.RPI.EDU> Organization: Sugar Land UNIX - Houston, TX Lines: 17 AmigaDOS already HAS a method for binding names to devices. It's called AmigaDOS. You can get the device info for any open file from the file system. #include fh = Open("SER:", ACCESS_WRITE); FH = (struct FileHandle *)(fh<<2); Hmmm. The documentation is a mite skimpy on where to go from there. It seems like it should be possible to go with it... send serial port messages to the fh_Port in the structure. But what's the fh_Type feild? If this works, this should be the way to go. I believe it's a bad idea to duplicate a system that already exists. Anyone know more? -- -- Peter da Silva `-_-' ...!hoptoad!academ!uhnix1!sugar!peter -- Disclaimer: These U aren't mere opinions... these are *values*.