kehpager V1.21 - Charset aware pager for VTxxx terminals This patch updates kehpager from version 1.2 to version 1.21. Look file patch1.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 translates file's charset to the terminal's charsets. Too long lines are wrapped in between words. Kehpager can also interprete text/enriched and text/richtext -formatted text files. Changes in this patch: * Changed charset names UNICODE-1-1-UTF7 and UNICODE-1-1-UTF8 to UNICODE-1-1-UTF-7 and UNICODE-1-1-UTF-8. RFC1642 defines UNICODE-1-1-UTF-7 as value of charset. UNICODE-1-1-UTF-8 is not defined in any RFCs. RFC1641 only hints that someone may define charset as UNICODE-1-1-UTF-8. Charset value UNICODE-1-1 (as defined in RFC1641) is not supported by kehpager. * New module schedule.c * Minor bug fix on initalizing terminal (in SGI) when line discipline == 0 (Irix 4.0.5) * Ported to Irix 5.2 -- let's hope that this still works with Irix 4.0.5 ! Applying patch: Execute patch1.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: (I don't know if there is same error in IRIX 5.2 as was in IRIX 4.0.5 (I don'r expect it). But if there is, you can ignore error message with putting -DCLOSEBUG to CFLAGS in Makefile.irix. ) 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), 4.1.3, 5.2, 5.3, HP-UX A.09.01, IRIX 5.2 (at least some way). There may be some errors in HP-UX A.09.01 version -- some tests indicates that, but I haven't sure. Compiler: Kehpager is compiled with gcc in SunOS 4.1.2, 5.2, 5.3, HP-UX. 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). (This version isn't compiled with SUN's acc, as previous version was.) Thanks to: Markus Kuhn Tim Lasko David E A Wilson Jörg Wunsch