[comp.unix.xenix.sco] Less misbehaves when used for "man" pag

Martin@kcbbs.gen.nz (Martin Kealey) (04/29/91)

It's been a while since I used SCO Xenix, but as I recall
/usr/man/bin/nr is a script which calls the typesetter for the page
required, and then the pager; it sets TERM to something for the
typesetter, but doesn't set it back again before it runs the pager -
it should be fairly straightforward to fix, though:

Since the aberant TERM value is only used by nroff, remove the
"export" statement and use

    TERM=thingy nroff

in place of

    TERM=thingy
    export TERM
    nroff

[Replace "thingy" and "nroff" but whatever is actually in the script -
it's sooo long ago now...] SCO may by now have a fix for this, so ask
them about it. If not then would the folk at SCO please take heed of
this.