kehpager V1.22 - Charset aware pager for VTxxx terminals This patch updates kehpager from version 1.21 to version 1.22. Look file patch2.COPYRIGHT to see your rights. Kehpager is a pager that displays the contents of a text file on the terminal, one screenful at a time. It converts file's charset (character set) into the terminal's charsets. The lines that are too long are wrapped in between words. Kehpager can also interpret text/enriched and text/richtext -formatted text files. Text/enriched and text/richtext have MIME's content-types. Changes in this patch: * Much fixes in kehpager.1 (manual page) * Some portability changes * kehpager now detects MS-DOS KERMIT's incorrect device mode report * better error message handling Applying patch: Execute patch2.sh in kehpager's source directory Installation SunOS 4: Set correct value for use.keyboard.language -field in kehpager.init (you can also comment it out if your terminals is inteelligent enough). You probably also want add use.vt100.national_available: Enabled to kehpager.init (this was default prior version 1.06). Copy kehpager.init to library direction Edit Makefile and put defination of GLOBAL_INIT_FILE point correct location of kehpager.init Also select correct compiler (gcc, or SUN's acc) to Makefile.'s define. Compile it with make sunos4 Copy kehpager and kehpager.1 to correct directories SunOS 5: Set correct value for use.keyboard.language -field in kehpager.init (you can also comment it out if your terminals is intelligent enough). You probably also want add use.vt100.national_available: Enabled to kehpager.init (this was default prior version 1.06). Copy kehpager.init to library direction Edit Makefile and put defination of GLOBAL_INIT_FILE point correct location of kehpager.init Also select correct compiler (gcc, or SUN's acc) to Makefile.'s define. Compile it with make sunos5 Copy kehpager and kehpager.1 to correct directories HP-UX: Set correct value for use.keyboard.language -field in kehpager.int (you can also comment it out if your terminals is intelligent enough). You probably also want add use.vt100.national_available: Enabled to kehpager.init.hpux (this was default prior version 1.06). Copy kehpager.init.hpux to library direction Edit Makefile.hpux and put defination of GLOBAL_INIT_FILE point correct location of kehpager.init.hpux Also select correct compiler (gcc, or HP's cc (ANSI C version)) to Makefile.hpux's define. Compile it with make -f Makefile.hpux Copy kehpager and kehpager.1 to correct directories 386BSD, FreeBSD, NetBSD: (I haven't tested this!) Set correct value for use.keyboard.language -field in kehpager.init (you can also comment it out if your terminals is intelligent enough). You probably also want add use.vt100.national_available: Enabled to kehpager.init (this was default prior version 1.06). Copy kehpager.init to library direction Edit Makefile and put defination of GLOBAL_INIT_FILE point correct location of kehpager.init Compile it with make -f Makefile.bsd Copy kehpager and kehpager.1 to correct directories IRIX 4.0.5: (I get ENOTDEV error when closing terminal, so there is still some problems... To ignore that error, put -DCLOSEBUG to CFLAGS in Makefile.irix. I haven't compiled that version of kehpager in Irix 4.0.5) Set correct value for use.keyboard.language -field in kehpager.init (you can also comment it out if your terminals is intelligent enough). You probably also want add use.vt100.national_available: Enabled to kehpager.init (this was default prior version 1.06). Copy kehpager.init to library direction Edit Makefile.irix and put defination of GLOBAL_INIT_FILE point correct location of kehpager.init Compile it with make -f Makefile.irix Copy kehpager and kehpager.1 to correct directories. If you don't have troff or groff, ask someone to compile kehpager.1 IRIX 5.2: Set correct value for use.keyboard.language -field in kehpager.init (you can also comment it out if your terminals is intelligent enough). You probably also want add use.vt100.national_available: Enabled to kehpager.init (this was default prior version 1.06). Copy kehpager.init to library direction Edit Makefile.irix and put defination of GLOBAL_INIT_FILE point correct location of kehpager.init Compile it with make -f Makefile.irix Copy kehpager and kehpager.1 to correct directories. If you don't have troff or groff, ask someone to compile kehpager.1 Tested platforms: Kehpager works on SunOS 4.1.2 (OS/MP 4.1B), 5.2, HP-UX A.09.01, IRIX 5.2 (at least some way). Compiler: Kehpager is compiled with gcc in SunOS 4.1.2, 5.2. In HP-UX it is compiled with cc (ANSI C version). (notice that ANSI C version of cc isn't bundled with HP-UX) In IRIX 5.2 it is compiled with cc (in -xansi mode). Kehpager compiles without error or warning messages (with gcc's -Wall in SunOs 5.2. Also HP's cc don't give any warnigs even that it is more strict than gcc). Thanks to: Markus Kuhn Tim Lasko David E A Wilson Joerg Wunsch Vera Izrailit Jyrki Havia Risto Kankkunen Luke Brennan Laura Kataja