I have a windows program that is trying to a access COM port. I actually want to forward what is written to that COM port to a file under /dev. How can I do that using wine? (or can I do it??) Thanks, Rayne. --------------------------------- Never Miss an Email Stay connected with Yahoo! Mail on your mobile. Get started! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20070114/a5e654e8/attachment.html
On Sun, 2007-01-14 at 17:35 -0800, Rayne Olivetti wrote:> I have a windows program that is trying to a access COM port. I > actually want to forward what is written to that COM port to a file > under /dev. How can I do that using wine? (or can I do it??) >I suspect the easiest answer is in linux, not under wine. Let's have more detail: Is it actually succeeding in talking to the com port? Is it just outputting, just inputting, or holding a conversation? Why in heaven's name do you want to start writing files in /dev? Are you piping to another device? What's your program anyhow? Compulsory homework might be the tee man/info page and a refresher on symlinks and redirectors :-). -- With Best Regards, Declan Moriarty.
I have a windows program that is trying to a access COM port. I actually want to forward what is written to that COM port to a file under /dev. How can I do that using wine? (or can I do it??) Thanks, Rayne. --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20070114/a408227a/attachment.htm
On Monday 15 January 2007 01:35, Rayne Olivetti wrote:> I have a windows program that is trying to a access COM port. I actually > want to forward what is written to that COM port to a file under /dev. How > can I do that using wine? (or can I do it??) > > Thanks, > Rayne.wine uses links in ~/.wine/dosdevices for drives & com ports. Try making a link called com1: (or whatever port you are using) to a file which wine has write access to. I don't know if it will work ( if the program tries to negotiate with the port I would think it will fail) but worth a try. Ian