filePro Printing to less

Jean-Pierre A. Radley appl at jpr.com
Tue May 17 11:25:43 PDT 2005


Bob Stockler propounded (on Tue, May 17, 2005 at 09:36:24AM -0400):
| The thread about printing to 'less' inspired me to do a little
| testing.  I have these printers define in my config file:
| 
|   printer5=file,nocodes,>/tmp/file.txt,Write to a file
|   printer6=less,nocodes,| less,View using less
|   printer7=video,nocodes,less,View using less
| 
| My MENU EDIT II program has a menu documentation feature which
| allows the user to choose the printer to be used for output.
| At the screen where the user may choose what features of the
| menu are to be documented, choice A will document the menu
| itself, any associated shell scripts, and the menu help file if
| one exists.
| 
| I documented a menu which has associated shell scripts and a
| help file.  After using printer5, 'wc' showed the file size:
| 
|     210    598   5655 /tmp/file.txt
| 

That's a pretty small amount of output.  Suppose it were more like a
thousand lines long?

-- 
JP


More information about the Filepro-list mailing list