Re: lessecho missing?
- From: "Steve M. Fabac, Jr." <smfabac@xxxxxxx>
- Date: Fri, 30 Mar 2007 03:55:35 GMT
Jeff Hyman wrote:
Steve M. Fabac, Jr. typed (on Wed, Mar 28, 2007 at 04:54:55PM +0000):
| 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?
Any environmental variables needing to be exported, that are not?
# set | grep -y less
LESS=-ceij4z-4
LESSOPEN='|lesspipe %s'
- Jeff H
On my 5.0.7 system:
$ set | grep -y less
LESS='--chop-long-lines --shift 8'
What is the function of LESSOPEN above?
.
- Follow-Ups:
- Re: lessecho missing?
- From: Jean-Pierre Radley
- Re: lessecho missing?
- References:
- lessecho missing?
- From: Steve M. Fabac, Jr.
- Re: lessecho missing?
- From: Jeff Hyman
- lessecho missing?
- Prev by Date: Re: lessecho missing?
- Next by Date: Re: lessecho missing?
- Previous by thread: Re: lessecho missing?
- Next by thread: Re: lessecho missing?
- Index(es):
Relevant Pages
|
|