Less misbehaves when used for "man" pag

Martin Kealey Martin at kcbbs.gen.nz
Mon Apr 29 08:15:56 AEST 1991


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.



More information about the Comp.unix.xenix.sco mailing list