Index: [thread] [date] [subject] [author]
  From: becka@rz.uni-duesseldorf.de
  To  : mailing list GGI <ggi-develop@eskimo.com>
  Date: Sat, 6 Feb 1999 00:06:16 +0100 (MET)

Bug report with solution in KGI (fwd)

Got that:

Does it make sense ?

Forwarded message:
> From Christoph_Egger@t-online.de Fri Feb  5 23:29:16 1999
> To: becka@ggi-project.org
> Subject: Bug report with solution in KGI
> From: Christoph_Egger@t-online.de (root)
> 
> Hi!
> 
> This bug report is based on the archive ggi-devel-990205.tar.gz!
> 
> When I try to compile the KGI the compiler is broken with the
> error "undeclared IOC_CHIP".
> 
> Now to fix this, replace in the file
> "degas/kgicon/include/kgi/kgi_commands.h" the lines
> 
> #define CHIP_GETINFO            IOR(CHIP, 0x00, struct kgi_chipset)
> #define CHIP_SETINFO            IOW(CHIP, 0x00, struct kgi_chipset)
> 
> #define CHIP_SETVISFRAME        IOW(CHIP, 0x10, kgi_coord)
> #define CHIP_GETVISFRAME        IOR(CHIP, 0x10, kgi_coord)
> #define CHIP_SETSPLITLINE       IOC(CHIP, 0x11)
> #define CHIP_GETSPLITLINE       IOC(CHIP, 0x12)
> 
> #define CHIP_SETDEFFONT         IOW(CHIP, 0x13, struct kgi_font)
> #define CHIP_GETDEFFONT         IRW(CHIP, 0x13, struct kgi_font)
> #define CHIP_SETFONTCHAR        IOW(CHIP, 0x14, kgi_bm_char)
> #define CHIP_GETFONTCHAR        IRW(CHIP, 0x14, kgi_bm_char)
> 
> #define CHIP_SETPAGE            IOW(CHIP, 0x20, int)
> #define CHIP_SET16COL           IOW(CHIP, 0x21, int)
> #define CHIP_SETDRAWINFO        IOW(CHIP, 0x22, kgi_drawinfo *)
> 
> 
> to
> 
> #define CHIP_GETINFO            IOR(CHIPSET, 0x00, struct kgi_chipset)
> #define CHIP_SETINFO            IOW(CHIPSET, 0x00, struct kgi_chipset)
> 
> #define CHIP_SETVISFRAME        IOW(CHIPSET, 0x10, kgi_coord)
> #define CHIP_GETVISFRAME        IOR(CHIPSET, 0x10, kgi_coord)
> #define CHIP_SETSPLITLINE       IOC(CHIPSET, 0x11)
> #define CHIP_GETSPLITLINE       IOC(CHIPSET, 0x12)
> 
> #define CHIP_SETDEFFONT         IOW(CHIPSET, 0x13, struct kgi_font)
> #define CHIP_GETDEFFONT         IRW(CHIPSET, 0x13, struct kgi_font)
> #define CHIP_SETFONTCHAR        IOW(CHIPSET, 0x14, kgi_bm_char)
> #define CHIP_GETFONTCHAR        IRW(CHIPSET, 0x14, kgi_bm_char)
> 
> #define CHIP_SETPAGE            IOW(CHIPSET, 0x20, int)
> #define CHIP_SET16COL           IOW(CHIPSET, 0x21, int)
> #define CHIP_SETDRAWINFO        IOW(CHIPSET, 0x22, kgi_drawinfo *)
> 
> That's all.
> 
> Christoph Egger
> E-Mail: Christoph_Egger@t-online.de

-- 
= Andreas Beck                    |  Email :  <andreas.beck@ggi-project.org> =

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