kehpager V1.24 - Charset aware pager for VTxxx terminals This patch updates kehpager from version 1.23 to version 1.24. Look file patch4.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. Applying patch: !!!!! NOTICE THIS !!!!! Execute patch4.sh in kehpager's source directory Changes in this patch: - Init file splitted to two part: kehpager.init, kehpager.init.{os} {os} can be sunos4, sunos5, hpux, 386bsd, freebsd, netbsd, irix4 or irix5 - Chapter QUICK START to kehpager.1 manual page. - Init file field: use.filesystem.charset If your filenames uses charsets Latin/1 - Latin/6, you can tell this to kehpager (effects to error messages). For example use.filesystem.charset: Latin/1 You can't say, that use.filesystem.charset: UNICODE-1-1-UTF-8 even that this is valuid charset for kehpager. This isn't supported. Default value is: Ascii Installation SunOS 4: File kehpager.init is replaced with files kehpager.init and kehpager.init.sunos4 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). Consider adding use.filesystem.charset -field to kehpager.init Copy kehpager.init and kehpager.init.sunos4 to library directory Edit Makefile and put defination of GLOBAL_INIT_DIR point correct location of library directory 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: File kehpager.init is replaced with files kehpager.init and kehpager.init.sunos5 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). Consider adding use.filesystem.charset -field to kehpager.init Copy kehpager.init and kehpager.init.sunos5 to library directory Edit Makefile and put defination of GLOBAL_INIT_DIR point correct location of library directory 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: File kehpager.init.hpux is replaced with files kehpager.init and kehpager.init.hpux 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). Consider adding use.filesystem.charset -field to kehpager.init Copy kehpager.init and kehpager.init.hpux to library directory Edit Makefile.hpux and put defination of GLOBAL_INIT_DIR point correct location of library directory 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!) {X} is 386bsd or freebsd or netbsd File kehpager.init.hpux is replaced with files kehpager.init and kehpager.init.{X} Create file kehpager.init.{X} (not included) 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). Consider adding use.filesystem.charset -field to kehpager.init Copy kehpager.init and kehpager.init.{X} to library directory Edit Makefile and put defination of GLOBAL_INIT_DIR point correct location of library directory 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) File kehpager.init is replaced with files kehpager.init and kehpager.init.irix4 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). Consider adding use.filesystem.charset -field to kehpager.init Copy kehpager.init and kehpager.init.irix4 to library directory Edit Makefile.irix and put defination of GLOBAL_INIT_DIR point correct location of library directory 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, IRIX 5.3: File kehpager.init is replaced with files kehpager.init and kehpager.init.irix4 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). Consider adding use.filesystem.charset -field to kehpager.init Copy kehpager.init and kehpager.init.irix5 to library directory Edit Makefile.irix and put defination of GLOBAL_INIT_DIR point correct location of library directory 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, 5.3 (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, 5.3 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