From: Carlyle S. <car...@db...> - 2008-02-06 12:58:39
|
Hello, I am a system administrator in a large corporation which has not included Expect.pm and its siblings IO::Tty and IO::Stty in the packaging. I have written a perl script which creates a terminal for a child process which uses the terminal rather than standard IO; much as expect does but very simply and of very limited scope. This script works fine on AIX but not on SunOS or Linux. I need to know how to get the name of the slave side after opening the control side (/dev/ptc on AIX and /dev/ptmx on the others). On AIX ttyname does this for me but it returns "Inappropriate ioctl for device" elsewhere. I don't mean to take up time and space on this list but I have been looking unsuccessfully for a suitable mailing list more suited to my problem. Thank you for any pointers. Best regards, Carlyle -- Informationen (einschließlich Pflichtangaben) zu einzelnen, innerhalb der EU tätigen Gesellschaften und Zweigniederlassungen des Konzerns Deutsche Bank finden Sie unter http://www.db.com/de/content/pflichtangaben.htm. Diese E-Mail enthält vertrauliche und/ oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. Please refer to http://www.db.com/en/content/eu_disclosures.htm for information (including mandatory corporate particulars) on selected Deutsche Bank branches and group companies registered or incorporated in the European Union. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. |