Re: Two things:

new topic     » goto parent     » topic index » view thread      » older message » newer message

> [Linux question]
>         I've been pinpointing some of the seg faults in attempted ports
> of Euphoria to Linux, and thinking of trying to add screen or graphics
> functions.  One problem: conio.h that I'm used to using in DOS doesn't
> exist in Linux.  And there's no information about screen or graphics
> routines in the GCC manual at Sun's web site.  I've looked at termios.h,
> but it's mostly hardware data with no recognizable I/O routines.  Does
> anybody know any more about this?

For text screen routines, I was thinking about writing an include that
used escape sequences for screen procedures and functions.  The two
terminal types I know I could implement are ANSI and VT100.  There might
also be a need to cache the cursor position...

Another problem is get_key and wait_key... Linux doesn't offer these
either, afaik.  The only way to get around that is to set up non-blocking
terminal i/o... yuck.

[20 mintutes later]

I found vga.h and friends in my RedHat usr/include.  They have it all for
screen, graphics, mouse, keyboard, even joystick.  ModeX and SVGA are also
supported.  Way cool.

I guess I better fix those seg faults then, huh? smile

Later,
 _______  ______  _______  ______
[    _  \[    _ ][ _   _ ][    _ ]
[/| [_] |[/| [_\][/ | | \][/| [_\]
  |  ___/  |  _]    | |     |  _]
[\| [/]  [\| [_/] [\| |/] [\| [_/]
[_____]  [______] [_____] [______]
xseal at harborside.com  ICQ:13466657
http://www.harborside.com/home/x/xseal/euphoria/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu