Hi, I am trying to work out how to call an application (sx) from my serial comms app. Sx is an xmodem utility which uses stdio so you have to re-direct it to the comms port. I can talk to my target device through ttyS0 but now I want to call sx to take over sending a file to the target using xmodem. Do I have to use system() or is there another way ? Do I somehow have to pass it my active file descriptor for ttyS0? Mark Currie -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/