From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f453ee899231805b,start X-Google-Attributes: gid103376,public From: Delafrance Mirtyle Subject: writing to and reading from a device file Date: 1997/12/11 Message-ID: <34900FDB.46FF@lmco.com>#1/1 X-Deja-AN: 297271908 Organization: Lockheed Martin -- Information Systems Center Newsgroups: comp.lang.ada Date: 1997-12-11T00:00:00+00:00 List-Id: Can anyone tell me how to read and write to a device file such /dev/tty0p0 for example? This device is a touch panel. I am able to write to it by simply opening the file and writing to it but I cannot seem to read from it. The file seems to always be an empty file even after I've written to it. I am communicating with the touch panel through a standard RS-232 cable on an HP workstation.