[fpc-devel]ttyname

Marco van de Voort marcov at stack.nl
Tue Dec 19 10:36:45 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> but
> >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 ?

/dev/ptyx /dev/ttypx

(physical tty, tele type etc)

But IIRC FreeBSD was also thinking about changing to a pts system.

Still have to dive into terminal for FreeBSD (also for IDE). Haven't done
much recently, due to being ill(but am better now)




More information about the fpc-devel mailing list