Article View: alt.sources.d
Article #1744Re: kehpager V1.12 -> V1.13 - changes (Part 0/5)
From: Kari E. Hurtta
Date: Fri, 18 Feb 1994 18:22
Date: Fri, 18 Feb 1994 18:22
173 lines
7565 bytes
7565 bytes
Archive-name: kehpager0110/patch3.0-rmf
Author: Kari E. Hurtta <Kari.Hurtta@Helsinki.F>
Product: kehpager - Charset aware pager
Version: 1.13
Patch-to: 1.12
Environment: Ansi C (gcc, HP's cc, SUN's acc), SunOS 4, SunOS 5, HP-UX
[Ok. I screwed with README. There comes new version. ]
#!/bin/sh
cat >Patch3.README-fixed <<'EOM'
This patch updates kehpager V1.12 to kehpager V1.13
Changes to version 1.12:
Now pagebreaks are interpreted (FF -characters and <np> -command
int Text/richtext). Handling of pagebreaks is perhaps extraordinary.
You like it or not. You can prevent splitting of message to pages
with option -pm or with
input.pagemode: Disabled
You can toggle this mode on/off with command P
Updating of screen is tried optimize yet more ('lazy update').
You can use option -- to prevent filenames with starting of - to
interpreted as options. This also prevents - to be interpreted as
standard input.
Kehpager now reads $COLUMNS and $LINES. You can prevent reading
of these environment variables with
env.size: Disabled
(terminal driver's idea of terminal size is still preferred.)
Kehpager now tests terminal's size with same way as 'resize' does.
You can prevent this testing with option -rs or with
use.query_size: Disabled
Terminal's size if taken from (from last significant to
most significant):
1) use.terminal.lines, use.terminal.columns
2) $LINES, $COLUMNS
3) terminal driver
4) 'resize' method
To Text/Enriched have following changes:
- Updated it according of RFC1563 (previous version of specification
was RFC1523):
* <FlushBoth> added (that is full justification - in previous
version of Text/enriched that was default)
* Initial state of justification is now allowed to be any of
<FlushLeft>, <FlushRight> or <FlushBoth>
Because kehpager don't handle very well full justification,
I changed default state to <FlushLeft> (from <FlushBoth>).
You can return full justification by option j+ or with
input.full_justify: Enabled
- Kehpager now ignores newline which follows <Nofill> or <Verbatim>.
This violates RFC1563. You can disable this with option -nl
or with
input.ignore_nl: Disabled
This allows to write
<Verbatim>
lines...
</Verbatim>
instead of
<Verbatim>First line
lines...
</Verbatim>
You can now bind Ctrl-space key (NUL character)
Kehpager now support rc -shell with option -e. Also matching of
$SHELL is now done more carefully. Option -erc forces rc -shell's
syntax to be used (as in -e option).
TABing step can now change interactively with command a
(I'm sory, but command t and T is already reserved)
Indentation step can now change interactively with command i
(thats affect <Indent> and <IndentRight> commands).
Added some support for NetBSD (and perhaps for FreeBSD and 386BSD)
(from Jörg Wunsch <joerg_wunsch@tcd-dresden.de>)
but I don't have finished that yet.
New options: -erc, -pm, -pm+, --, -nl, -nl+, -rs, -rs+
New init file fields: keyboard.toggle_pagemode, input.pagemode,
keyboard.tab_step,keyboard.tab_step.self_insert,
keyboard.tab_step.enter, keyboard.indent_step,
keyboard.indent_step.self_insert,
keyboard.indent_step.enter, env.size, input.ignore_nl,
exit.newline, use.query_size
Some bug fixes
Installation
SunOS 4:
Run Patch3.sh
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 (ANSI C version))
to Makefile's define.
Compile it with
make sunos4
Copy kehpager and kehpager.1 to correct directories
SunOS 5:
Run Patch3.sh
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 (ANSI C version))
to Makefile's define.
Notice that I haven't compiled kehpager with acc on SunOS 5 !!
(so perhaps it don't compile...)
Compile it with
make sunos5
Copy kehpager and kehpager.1 to correct directories
HP-UX:
Run Patch3.sh
Set correct value for use.keyboard.language -field in
kehpager.init.hpux (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
NetBSD:
NetBSD port isn't yet finished. Don't expect that to work or
even compile!
To adventurous people:
Run Patch3.sh
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.bsd and put defination of GLOBAL_INIT_FILE
point correct location of kehpager.init
Also select correct compiler (gcc, or some other ANSI C compiler)
to Makefile.bsd's define.
Compile it with
make -f Makefile.bsd
Copy kehpager and kehpager.1 to correct directories
Tested platforms:
Kehpager works on SunOS 4.1, 5.2, 5.3, HP-UX A.09
Compiler:
Kehpager is compiled with gcc in all platforms (expect in *BSD !!).
In HP-UX it is also compiled with cc (ANSI C version)
(notice that ANSI C version of cc isn't bundled with HP-UX).
In SunOS 4 it is also compiled with acc (SUN's ANSI C compiler)
(notice that ANSI C compiler isn't bundled with SunOS 4).
Kehpager compiles without error or warning messages
THANK TO:
Jörg Wunsch <joerg_wunsch@tcd-dresden.de>
EOM
exit 0
--
- K E H / Elämä on monimutkaista
Kari.Hurtta@Helsinki.FI
Technical Details
Message-ID:
<KARI.HURTTA.94Feb18202205@plootu.Helsinki.FI>Path:
arc1-ca.pugleaf.net!wupost!howland.reston.ans.net!pipex!sunic!news.funet.fi!klaava!klaava!Kari.HurttaReferences:
<2k0m52$nuk@plootu.Helsinki.FI>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!wupost!howland.reston.ans.net!pipex!sunic!news.funet.fi!klaava!klaava!Kari.Hurtta From: Kari.Hurtta@Helsinki.FI (Kari E. Hurtta) Newsgroups: alt.sources.d,alt.sources,alt.sources.patches Subject: Re: kehpager V1.12 -> V1.13 - changes (Part 0/5) Followup-To: alt.sources.d Date: 18 Feb 1994 18:22:05 GMT Organization: University of Helsinki Lines: 173 Message-ID: <KARI.HURTTA.94Feb18202205@plootu.Helsinki.FI> References: <2k0m52$nuk@plootu.Helsinki.FI> NNTP-Posting-Host: plootu.helsinki.fi Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit In-reply-to: Kari.Hurtta@Helsinki.FI's message of 17 Feb 1994 23:04:34 +0200