Using less to view output
John Esak
john at valar.com
Mon May 16 09:54:46 PDT 2005
Hey Bob,
This is kind of stupid... but it almost sounds like there is another "less"
somewhere in your PATH *ahead* of the real "less" and the one you are
hitting doesn't do anything at all. Try hardcoding the full path to less
into the game.
Maybe on the other systems it just happens to be that the user of filePro
has the correct less in its PATH and on this one you don't?
John
> -----Original Message-----
> From: filepro-list-bounces at lists.celestial.com
> [mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Robert T.
> Repko (R Squared Consultants)
> Sent: Monday, May 16, 2005 9:50 AM
> To: Marc Brumlik
> Cc: 'filePro List'
> Subject: Re: Using less to view output
>
>
> Believe it or not at 5/15/2005 10:28 AM, Marc Brumlik said:
> >Bob Stockler wrote:
> >
> >>Robert T. Repko (R Squared Consultants) wrote (on Sat, May 14, 2005 at
> >>11:14:05PM -0400):
> >>
> >>| Believe it or not at 5/14/2005 12:36 PM, Bob Stockler said:
> >>| >
> >>| >Wouldn't:
> >>| >
> >>| > printer27=ViaFile,nocodes,| less,View report
> >>| >
> >>| >work, and be simpler?
> >>| | That was the first thing I tried, it's defined earlier in
> the config
> >>| file. That does not work either, less never displays the data.
> >>
> >>It works for me and works for Radley and maybe some others?
> >>Anyone else?
> >>
> >>Bob
> >>
> >>
> >As a test, write it to a file first. >/tmp/$$; less
> >/tmp/$$ [and maybe ; rm /tmp/$$]
>
> If I remove the 'rm /tmp/fpfile$$' from the command the file does
> exist in
> /tmp and I can less the file from the command line. When I leave the 'rm
> /tmp/fpfile$$' in place the file no longer exists in /tmp which
> leads me to
> believe the file is deleted by the rm command. Since rm is executed less
> must be executed, which is why I am scratching my head wondering why less
> is not displaying the file.
> ******************************************************************
> *************
> * Robert T. Repko - R Squared Consultants | Voice: (610)
> 253-2849 *
> * Serving the Computing World for 20+ years | Fax: (610)
> 253-0725 *
> * Windows/Unix/Mac Networking, Cisco, Sonicwall | email: rtr at
> rsquared.com*
> * NJDOE Provider ID#: 763 | SPIN: 143010681 | Address: 4
> Juniper Ave. *
> * New Jersey SCC Pre-Authorized |
> Easton, PA 18045 *
> ******************************************************************
> *************
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list