[comp.binaries.ibm.pc.d] Changing Prompt with LESS?

mer6g@fuggles.acc.Virginia.EDU (Marc Rouleau) (04/23/91)

In order to change the text of the LESS prompt you need to
be able to specify something in angle-brackets.  For example:

    set LESS=<--more-->
or
    less -P<--more--> myfile

Of course, these don't work because DOS interprets the '<'
as an indicator of input redirection.  And double-quoting
doesn't work because DOS doesn't strip them off before passing
arguments to programs or putting values in the environment.

Am I missing any easy way to do this?

If not, might the maintainer of DOS LESS consider teaching
it to ignore double-quotes in its arguments and in the LESS
environment variable?

    -- Marc Rouleau

ralphs@seattleu.edu (Ralph Sims) (04/24/91)

mer6g@fuggles.acc.Virginia.EDU (Marc Rouleau) writes:

> In order to change the text of the LESS prompt you need to
> be able to specify something in angle-brackets.  For example:

>     set LESS=<--more-->

Using 4DOS (I *knew* there's always a reason for it), use

set LESS=`<--more-->`

> Am I missing any easy way to do this?

Dump command.com in favor of 4DOS?

--
                    halcyon!ralphs@seattleu.edu
  The 23:00 News and Mail Service - +1 206 292 9048 - Seattle, WA USA
                 +++ A Waffle Iron, Model 1.64 +++