COM port - Linux
BlitzMax Forums/BlitzMax Programming/COM port - Linux| 
 | ||
| Does BMax support wrting and reading to the comport under Linux? I have Blitz Plus running with portio DLL on Windows but would ideally like this to run on Linux. Any help greatly appreciated. | 
| 
 | ||
| If you write yourself a COM Port Stream Class that extends the regular one and use that one, yes. Not out of the box | 
| 
 | ||
| Ok, was hoping there was an existing lib that I could use. But thanks for the reply. | 
| 
 | ||
|  Does BMax support wrting and reading to the comport under Linux? Yes.  Ok, was hoping there was an existing lib that I could use. On Linux, there are text terminal drivers for all serial ports. Just use OpenStream on any one of the dev/ttySn (where n is the logical number of the serial port you want to access) devices you want to use and it should work out of the box. | 
| 
 | ||
| Brilliant, thank you very much. Guess I'll be purchasing Blitz Max then. | 
| 
 | ||
| try wxCTB with blitzMAX | 
| 
 | ||
| And where does one get that? | 
| 
 | ||
| Nigel's a bit quick on the trigger... There's some info about wxMax HERE a WIP GUI module for BlitzMax which comes with some other useful additions, like wxCTB, a serial port API. But it is work-in-progress, so unless you like to dabble with unfinished things, you may want to wait til it gets an official release. | 
| 
 | ||
|  Guess I'll be purchasing Blitz Max then.   BlitzMax is well worth the money. |