[Info-vax] runoff .RNH fun and games.

Paul Sture nospam at sture.ch
Fri Dec 20 23:49:51 EST 2013


John E. Malmberg wrote:

> I am trying to use runoff to generate a .hlp file from a .RNH file.
>
> I already found the issue that the source filename needs to be in upper 
> case.
>
> The issue that I am finding is that each line of output from runoff has 
> <CR><LF> at the end followed by a blank line with <CR><LF> on it.
>
> I can reproduce this from VAX/VMS 7.3 to IA64/VMS 8.4.
>
> I do not remember having this issue with runoff in the past, so would 
> like to know if there is some way to get Runoff to produce the proper 
> format?

I always had this with runoff files and it bit when I wanted to preview
the .MEM output files in an editor before committing to a (potentially
lengthy) printout.

$ edit/teco file.mem
ex$$

(where represents the input of <ESC>

I put this in a simple dcl wrapper for normal .MEM output files.
Adjust to suit your needs:

$! rno.com
$! -------
$ runoff 'p1'  ! p1 contains filename only, no extension, default .rno
$ edit /teco 'p1'.mem ! use EX<ESC><ESC> to write out
ex$$ 
$ edit /tpu 'p1'.mem

I Use TPU here because it's easy to change to two windows and put the
source file in the top, result in the bottom window

-- 
Paul Sture

This is not a commitment to deliver any material, code or functionality
and should not be relied upon in making purchasing decisions. 




More information about the Info-vax mailing list