Newsgroups: comp.os.msdos.djgpp From: Elliott Oti Subject: Re: Writing code for both DJGPP and Linux. Sender: usenet AT fys DOT ruu DOT nl (News system Tijgertje) Message-ID: <343A27FE.167E@fys.ruu.nl> Date: Tue, 7 Oct 1997 12:15:58 GMT Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii References: <199710070151 DOT SAA24347 AT adit DOT ap DOT net> Mime-Version: 1.0 Organization: Subatomaire Fysica, RUU Lines: 21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Nate Eldredge wrote: > > > I particularly would like to know how you set up/access the > >serial port in Linux, and whether it's possible to do direct console io > >(gotoxy(), intensevideo(), that type of thing). > I don't think you can, but I could be wrong. If it doesn't *have* to be > interactive, you could go with the usual Unix tradition of command-line > invocation with hairy options. For direct hardware manipulation your best bet is often to use a third party library. For text mode stuff (vtty) there's PDCurses, available in DOS and Linux flavours, for graphics stuff there's svgalib, Jlib etc. Jlib also gives you access to the mouse, keyboard, and joystick. It's also a nice source of information for cross-platform DOS/Linux/Xwindow programming. See x2ftp for sources. -- Elliott Oti kamer 104, tel (030-253) 2516 (SAP) http://www.fys.ruu.nl/~oti