ok I did as you told me and i got the following errors ioctl(0, TCGETA, 0XFFBEF154) Err#6 ENXIO ioctl(1, TCGETA, 0XFFBEF154) Err#25 ENOTTY ioctl(2, TCGETA, 0XFFBEF154) Err#25 ENOTTY any ideas thanks