[fpc-devel]ttyname

Peter Vreman peter at freepascal.org
Tue Dec 19 12:01:28 CET 2000


> At 00:40 19/12/00 , vous avez écrit:
> >I'v got a little bug to report.
> >
> >The function ttyname does not work with /dev/pts/*
> >I think it is because the routine has been witten for /dev/<something>
b> ut
> >not for /dev/<something>/<otherthing>
> 
> Adding support for /dev/somedir/something seems pretty easy to implement,
> but are we sure that all tty respect this rule ?
> 
> maybe some UniXies use /de/a/v/fg/56
> or who knows what ...
> 
>    Marco, do you know the rules for FreeBSD for instance ?

Only /dev/pts/* should be supported as that is the new standard instead of the old
/dev/ptyp* files







More information about the fpc-devel mailing list