Most versions of Linux have a program  "dos2unix" and "unix2dos" for that 
problem. It may need to be installed, depending on which distribution you have.


Sent from my Galaxy Tab® A-------- Original message --------From: Bob Supnik 
<b...@supnik.org> Date: 03/25/2016  1:59 PM  (GMT-07:00) To: 
simh@trailing-edge.com Subject: Re: [Simh] text from openvms 
1. Attach a  (new) host file to the simulated printer on VMS.
2. Print your VMS text file to file to the simulated printer.
3. Let some time elapse, to make sure the print spooler finishes.
4. Detach file from the simulated printer.
5. VMS text file is now on your host in the host file you specified in 
step 1.

The LP11 printer is very dumb. It requires carriage returns and 
linefeeds for proper sequencing, so you end up with a correctly 
formatted Windows text file. Linux should be able to eat that directly; 
if it needs the carriage returns removed, there are utilities to do that 
(see ASC in the simtools package).

/Bob

On 3/25/2016 2:51 PM, simh-requ...@trailing-edge.com wrote:
> Message: 1
> Date: Fri, 25 Mar 2016 14:23:35 -0500
> From: "Bill Cunningham"<bill...@suddenlink.net>
> To:<simh@trailing-edge.com>
> Subject: [Simh] text from openvms
> Message-ID: <2F1F92FAE2FF4B2FB298AD1D3C4C36C3@apxtz6bip7fvgk>
> Content-Type: text/plain; charset="iso-8859-1"
>
>      I have been studying the best way to copy from a vax simulator with 
>openvms to a linux host, text files. The Docs look like telnet and kermit are 
>the way to do it. So is there not a device like ISO that I can copy TOO? I 
>wouldn't think because cdrom is RO after all. and 'set rq writeenable' isn't 
>working nor is anything to do with cdrom working.
>
>      There may be several ways to do this. I am not concerned so much about 
>binary files as several .txt files. Am I on the right track with telnet and 
>kermit from those who have attempted and done this?
>
> Bill

_______________________________________________
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh
_______________________________________________
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Reply via email to