Mail Archives: djgpp/1997/10/07/13:31:07
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
- Raw text -