lessecho missing?



Trying to "save" the less buffer using the "S"
command results in: /bin/sh: lessecho: not found

Reading the man page on less:
LESSECHO4
Name of the lessecho program. The default is lessecho. The
lessecho program is needed to expand metacharacters, such
as * and ?, in filenames.

Setting LESSECHO=/bin/ksh does not work:
Results in "Input is not a pipe (press RETURN)"


Creating /bin/lessecho as:

$ cat /bin/lessecho
cat -

Does not work: Results in "Input is not a pipe (press RETURN)"

Results are the same on SCO 5.0.7 and SCO 6.0


What am I missing?
.



Relevant Pages

  • Re: lessecho missing?
    ... Name of the lessecho program. ... Results in "Input is not a pipe " ... man F lesskey ... Note that the "tee -a null" in the faux printer setup handles the case should ...
    (comp.unix.sco.misc)
  • Re: lessecho missing?
    ... Name of the lessecho program. ... $ cat /bin/lessecho ... Results are the same on SCO 5.0.7 and SCO 6.0 ... man F lesskey ...
    (comp.unix.sco.misc)
  • Re: lessecho missing?
    ... | Reading the man page on less: ... | $ cat /bin/lessecho ... Results in "Input is not a pipe " ... | Results are the same on SCO 5.0.7 and SCO 6.0 ...
    (comp.unix.sco.misc)