[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

1474.0. "VAX-Amiga Text file transfers" by COUGAR::JANZEN (Tom LMO2/O23 296-5421) Tue Jun 14 1988 15:35

    OK, I give up.
    What do I have to do to transfer pure text files from VAX to Amiga
    and Amiga to VAX so that the end-of-line code is right for each?
    Thanks
    Tom
T.RTitleUserPersonal
Name
DateLines
1474.1WJG::GUINEAUTue Jun 14 1988 16:3711
I don't think there is anything you can do *during* transfer. But after ther
are (I believe) programs to do the conversion...

On the VAX I do:

$ teco file-to-remove-LF-from
*ex<esc><esc>

Where <esc> can be generated by ^] (control right bracket)

John
1474.2ANGORA::SMCAFEESteve McAfeeTue Jun 14 1988 16:433
    
    If you are using Smokey trying setting transfer mode to Text prior
    to the transfer.  This works in both directions.
1474.3StripLEDS::ACCIARDII Blit, therefore I am...Tue Jun 14 1988 18:4314
    
    I've been using a PD utility called 'Strip' that converts an Amiga
    line feed to a CR/LF.  It's odd that Handshake doesn't seem able
    to correctly do this; I still get a single paragraph 10 miles long.
    
    Strip accepts several arguments, and is pretty easy to use. I'll
    upload the archive tonight.
    
    As an alternative, Scribble!, WordPerfect and perhaps other programs
    allow the saving of a so called printer file which makes the transfer
    to a VAX intact.
    
    Ed.
    
1474.4Still more toolsNAC::PLOUFFBeautiful downtown LittletonTue Jun 14 1988 18:5016
    Terminal emulators generally will do the end-of-line conversion
    between the VMS (and MS-DOS) CR-LF and the Amiga LF.  For instance,
    the 'VT100' emulator has a transfer mode option in one menu of
    
    	IMAGE	- use for binaries
    	TEXT	- use for text files
    	CONVERT	- when TEXT is selected, converts CR-LF <--> LF.
    
    If transferring to/from 5-1/4" floppies using PCCopy, there are
    'Text-7' and 'Text-8' options.
    
    The 'TxEd' editor has a 'Strip' option which automatically does
    text conversion.  (The older version is cheap -- about $30).
    
    On the VAX side, running a file through TECO often fixes line endings,
    but that doesn't work in all cases.
1474.5STRIPLEDS::ACCIARDII Blit, therefore I am...Wed Jun 15 1988 00:4515
    
    I've uploaded a file called 'STRIP.ARC' that prepares a text file
    for transfer to a VAX.  It runs on the Amiga end by merely specifying
    
    	STRIP -W80 FILENAME
    
    It automatically sends the outfile to RAM:.  The -w80 argument
    specifies that no lines can exceed 80 characters.  I find that this
    works well.
    
    Look in LEDS3::USER6:[ACCIARDI.AMIGA]STRIP.ARC
    
      //
    \X/ Ed.