Date: Sun, 04 Feb 2001 20:29:57 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Dietmar DOT Segbert AT T-ONLINE DOT de (Dietmar Segbert) Message-Id: <9003-Sun04Feb2001202957+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <7vEMumjMJVB@0256597511.t-online.de> (Dietmar DOT Segbert AT T-ONLINE DOT de) Subject: Re: syntax for hex and binary References: <<7vEMlT$6JVB AT 0256597511 DOT t-online DOT de>> <7vEMumjMJVB AT 0256597511 DOT t-online DOT de> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > 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.