On Sat, 9 Jul 2005, William Chops Westfield wrote: > For the first effort, I'd require that the user set them correctly. > For a second effort, I'd be tempted to do something like > exec("mode com1:9600,n,8,1 > nul:"); You actually mean system("..."); > that still works, doesn't it? It did back in the DOS days, and it looks > like XP still has "mode" as a command line utility... If it helps any on *BSD you have to use stty or equivalent ioctls after opening the port to set parameters or nothing will work ... deja vu Peter -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist