Index: [thread] [date] [subject] [author]
  From: Jan Kneschke <Jan.Kneschke@kiel.netsurf.de>
  To  : ggi-develop@eskimo.com
  Date: Sat, 1 Aug 1998 15:17:40 +0200 (MEST)

Re: bughunting

On Sat, 1 Aug 1998, Andrew Apted wrote:

> Jan writes:
> 
> >  yesterday, i started bughunting in display-aa. i havn't done it perfectly
> >  but i'll do rest today. 
> >  BTW: 1. howto find out if the programm is in X ?? (DISPLAY= )??
> 
> Yep, e.g. if (getenv("DISPLAY") != NULL) ...
> 
> >       2. hwoto find out the size of the console ??
> 
> One possibility: open("/dev/tty") and issue the TIOCGWINSZ ioctl.  I can
> send more info if you like.
yes, please.
 
> >  Next one. if i use the same code and do an
> >  's/ggiOpen(NULL)/ggiOpen("display-svga":)/' i'll get a seg-fault.
> 
> Note that ggiOpen() needs a trailing NULL parameter, as in :
> 
>    ggiOpen(NULL) or ggiOpen("svga", NULL).
oops, i've forgotten that.
 
>   Andrew Apted   <andrew@ggi-project.org>       \/


thats all
  Jan

--- 
       Project: GGI - S3-Vision-driver -- http://www.ggi-project.org/
         -)=  Jan (Weigon) Kneschke -- Kiel -- Northern Germany =(-

Index: [thread] [date] [subject] [author]