X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-Id: <200606252046.k5PKkFnn009388@delorie.com> X-Authenticated: #27081556 From: Juan Manuel Guerrero To: djgpp-announce AT delorie DOT com Subject: ANNOUNCE: DJGPP port of library jbigkit 1.6 uploaded. Date: Sun, 25 Jun 2006 21:34:10 +0200 Content-Disposition: inline X-Y-GMX-Trusted: 0 This is a port of library jbigkit 1.6 to MSDOS/DJGPP. DJGPP specific changes. ======================= The code of the library itself does not need any changes. This is different for the two utility programs that come with the library. Those programs need to switch STDIN nad STDOUT from text mode into binary mode to be able to process the image files correctly. It is well known on MSDOS/DJGPP systems that switching STDIN/STDOUT, if connected to the console, into binary mode will inhibit the reaction of the program to cntl-c (SIGINT) and cntl-\ (SIGQUIT) signals making it impossible to interrupt the programs. Even the use of __djgpp_set_ctrl_c() will not solve the problem. The programs have been compiled with STDIN/STDOUT switched to binary mode. This will make the testsuite work and will make work the programs if used in a pipe. If this program behaviour is not wanted, you will have to recompile those programs with the macro SET_STDIN_STDOUT_IN_BINARY_MODE set to 0 in both files /pbmtools/jbgtopbm.c and /pbmtools/pbmtojbg.c. In that case you will get binaries that can be interrupted from the console but that will not be able to read or write files from STDIN and STDOUT. The package does not need any configuration. To compile the products simple use the provided makefiles. As usual the diffs file is stored in /djgpp. Please **read** the docs. The port consists of two packages that have been compiled using djdev203 and that can be downloaded from ftp.delorie.com and mirrors as (timestamp 2006-06-25): ljbig 1.6 headers, libs, programs and man format documentation: ftp://ftp.delorie.com/pub/djgpp/current/v2tk/jbig16b.zip ljbig 1.6 source: ftp://ftp.delorie.com/pub/djgpp/current/v2tk/jbig16s.zip For the convenience of the WinXP users the binaries has been produced a second time using the djdev204 beta library. This package is available at ftp.delorie.com and mirrors as (timestamp 2006-06-25): ljbig 1.6 headers, libs, programs and man format documentation: ftp://ftp.delorie.com/pub/djgpp/beta/v2tk/jbig16b.zip Send jbigkit specific bug reports to . Send suggestions and bug reports concerning the DJGPP port to comp.os.msdos.djgpp or . Enjoy. Guerrero, Juan Manuel