--- Lars Appel <[log in to unmask]> wrote:
> If I were inclined to use vi on MPE text files, I would probably
> try a command file similar to the one below, keeping in mind to not
> use the :w command in vi to write to a different filename than the
> original one...
>
> parm filename
> xeq /bin/tobyte "-at !filename /tmp/!filename"
> setvar term, "hp2392a"
> xeq /bin/vi /tmp/!filename
> xeq /bin/frombyte "/tmp/!filename !filename"
>
> Note, however, that I have not tested above for any "pitfalls".
just be aware that frombyte only generates an 80-byte text file. i'm
not sure if the frombyte'd file is numbered or not.... there are
programs out there that are expecting 'their' input files to be
unnumbered (setparms.arpa.sys is one of them, for example) and maybe
even 72 bytes wide.
i seem to recall a contributed program from ted ashton that was a
'smarter' frombyte. does anyone else? is it on jazz? - d
Donna Garverick, HP-CSA Sr. System Programmer
dgarverick -at- longs -dot- com
925-210-6631 Longs Drug Stores
Come, my friends, 'Tis not too late to seek a newer world.
Tho' much is taken, much abides; and tho'
We are not now that strength which in old days
Moved earth and heaven, that which we are, we are.
"Ulysses", A. Tennyson
>>>MY opinions, not Longs Drug Stores'<<<
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|