LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I/O from serial port (https://www.linuxquestions.org/questions/linux-newbie-8/i-o-from-serial-port-8813/)

CPUNeck 11-16-2001 12:50 PM

I/O from serial port
 
I'm trying to figure out how I can set up a Linux box to listen on the serial port for raw output from my PBX. I was suppose to purcase a serial dot matrix printer that would print out a line each time a call was placed. Should I not be able to configure linux to listen on the serial port and populate a file? TIA

crabboy 11-16-2001 08:22 PM

I did something like this years ago, capturing phone records to a Sun box instead of a printer. I can't remember how exactly I did it, nor can I find the script that did the capturing. I do know that it is possible and I think I used stty and regular shell commands to redirect the input to a file. A simple c program would also do the job.

CPUNeck 11-20-2001 09:22 AM

Thanks, still need help
 
crabboy, unfortunately I have no idea even what C is. I'm guessing it's a language. Maybe someone has alittle more detail. (ok maybe a lot :)


All times are GMT -5. The time now is 06:45 AM.