[H-GEN] CONIO.H HEADER

Martin Pool mbp at wistful.humbug.org.au
Tue Aug 25 08:22:07 EDT 1998


X-Subject-Commentary: Stop shouting!

On Tue, Aug 25, 1998 at 10:05:44PM +1000, Aaron Howell wrote:
> On Tue, Aug 25, 1998 at 10:04:18PM +1000, Byron Ellacott wrote:
> > On Tue, Aug 25, 1998 at 06:49:00PM +1000, Frank Brand wrote:
> > for values of other approaching borland? :)  I've only ever seen
> > conio.h in borland compilers - it is nonstandard, and icky.  When you
> > see one, crush it under your heel.
> s/borland/most dos compilers/
> Its a dosish so called enhanced stdio.
> There was a linux port of the conio system at one stage, try a search for linux conio.

IIRC, most of the functions were just the same as stdio, but direct to
the screen.  You should be able to just rename cputs() to puts() and
continue with your life.

If you _really_ want direct-to-console output, then try {read,writ}ing
/dev/vcs0.

-- 
Martin Pool




More information about the General mailing list