difference between ph1 and tty000

Michael "Ford" Ditto ditto at cbmvax.UUCP
Fri Jan 20 02:33:18 AEST 1989


In article <8974 at mhuxu.UUCP> rs at mhuxu.UUCP (Bob Sanderman) writes:

[    (stty 1200; cat > /tmp/data) < /dev/ph1    ]

> the cat immediately returns
>without waiting for any data or even the modem to answer a call.

This is because of a fundamental design flaw in the Unix PC's phone driver.
The device can only be opened for data transfer using the WRONLY or RDWR
modes; opening it for input results in the driver being in "voice" mode
which is really meant only for the phone manager's use.

I recently posted a driver "patch" (called "phfx") that will completely
eliminate voice mode from the driver.  This will let your example command
work, but at the expense of eliminating the phone manager.
-- 
					-=] Ford [=-

"The number of Unix installations	(In Real Life:  Mike Ditto)
has grown to 10, with more expected."	ford at kenobi.cts.com
- The Unix Programmer's Manual,		...!sdcsvax!crash!elgar!ford
  2nd Edition, June, 1972.		ditto at cbmvax.commodore.com



More information about the Unix-pc.general mailing list