Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
I recently received some barcode scanners that plug directly into a serial port, such as tty/b01. I read that I can disable getty, make a node and open the tty as an input file, but I don't know how to identify the file/pointer/??? to open the file. Can anyone help with a simple C language program? thanks
Name: michael glackin Date: July 15, 1999 at 10:27:26 Pacific
Reply:
I got this one from a consultant...when ready directly from a port for a barcode scanner/decoder, simply fopen the device name, such as ttyb16, but remember to fopen in the "rb" mode. "b" denotes binary. Use stty to set the speed and parameters of the port.
Summary: I am looking for a simple script for reading the contents of a file (.CSV) for a Specific String and if it finds, it shuld rename the File accordingly. 2. The script shuld be able to get the number o...
Summary: Even though at home I have both a Solaris and Linux box, almost everything I do is on my Windows box (one of these days I'll get smart and reverse that). So, my unix skills are rusty and my shell sc...
Summary: I need a script to read from atext file and accordingly perform register read writes. The text file contains the address and the data value to be written. ...