revealing drivers list

Sarah Reichelt sarah.reichelt at gmail.com
Sun Jul 16 18:05:45 EDT 2006


On 7/17/06, Stephen Barncard <stephenREVOLUTION at barncard.com> wrote:
> I'm messing around with "open driver" and serial stuff. In the docs
> for 'open driver' it says:
>
>
> ------------
> On OS X and Unix systems, you can obtain a list of available devices
> by reading the file "/dev/tty".
> ------------
>
> Does this provide the same results as using  drivernames() ?? Or is
> there more there? And how does one read this file? Trying to read as
> a text file results in errors.

I tried using this when the drivernames function was broken, but I
never found it to be any use. I would recommend that you stick to
drivernames().

Cheers,
Sarah

P.S. I have a serial test stack if you are interested:
<http://www.troz.net/Rev/tutorials/SerialTest.rev.gz>



More information about the use-livecode mailing list