Mail Archives: djgpp/2001/02/04/13:32:48
> From: Dietmar DOT Segbert AT T-ONLINE DOT de (Dietmar Segbert)
> Newsgroups: comp.os.msdos.djgpp
> Date: 04 Feb 2001 17:42:00 +0100
>
> Looking in "include/termios.h" i found, that there are no definitions for
> B57600 an B115200.
>
> What can id DO?
If this is a Unix program, then I'm afraid you might be in deeper
trouble than you imagine: the DJGPP termios emulation doesn't support
communications ports, it only supports the console device.
Can you describe what does the program do? If B115200 and other
parameters are used for the local terminal device, the DJGPP-compiled
program will probably work, perhaps with some minor tweaking. For
example, for the console device it doesn't matter which Bnnnn
parameter do you use, since the DOS console isn't connected to the
COM port.
But if the program really sets up communication ports for
communicating with devices that aren't the local terminal, it won't
work when compiled with DJGPP.
> There ist also a flag called ICAN, but i did not found it with
> info.exe.
The termios interface defines ICANON, not ICAN.
- Raw text -