[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

1585.0. "YMODEM BATCH/XMODEM help" by CVG::CAMPANELLA (Michael Campanella, DTN 261-2595) Wed Aug 10 1988 10:56

I received a version of XMODEM which should support YMODEM BATCH protocol as
well as Standard Xmodem and CRC Xmodem (and a few others too, I believe). It was
written for UNIX systems, but I have come very close to getting it to work under
VMS.  I have not quite made it, and could use your help to finish off the job.
The routines are written in C. 

I have created 2 savesets.

 CVG""::WORK1:[CAMPANELLA]XMODEM_COMPILES.BCK
 CVG""::WORK1:[CAMPANELLA]XMODEM_ORIGS.BCK

The first contains the version I worked on, and got to compile... It has an MMS
file to compile and link the program.  The second kit contains the original .C
and .H files which you may want to use to compare to what I changed (since I did
it a little more hap-hazardly than I probably should have). 

If you would like to work on getting this to work, you may copy the kits and go
for it.  Please send me mail letting me know you're going to give it a go, just
in case someone already finished (I'll let you know right away...). 

If you get a working version, many people will be interested.  I have no
problems with using my system to distribute the kit, so if you get a working
version, I'll place it in CVG""::WORK1:[CAMPANELLA.KITS]something.BCK. 

Before I get to the nitty-gritty, I want to let you all know, I've posted this
note in everyone applicable notes conference I could think of (perhaps a
dozen?).  This could be real easy, or it could be a mess... If you reply to this
message in the notes file in hopes of finding me, you probably won't get me,
since I will not be able to monitor all the notes files for replies.  MAIL is
best.  I'll post updates to the kits everywhere I can... 


The scoop as I have seen it... I made an MMS file, that appears to work fine,
though it will probably need changes if you want to compile /DEBUG.  I changed a
file .H file names to correspond with VMS.  I had to change the UNIXIO.H file
which comes in SYS$LIBRARY so that the stat function was declared as returning
an integer instead of being void (do a DIFF to see the change). I had to replace
code which set up the terminal (passall, eight-bit, etc) with some code I got
from a program which does standard xmodem.  This code also determines the line
speed. I am EXTREMELY uncertain about this code, so check it out good.  Well,
that's all I can remember... 

I got it to compile, and it almost worked.  I got it to recognize that I was
trying to use CRC Xmodem to send something, but the data never actually made it.

The program has a debug mode.  It will log lots of info to a log file in
SYS$LOGIN:XMODEM.LOG, which should help you folks alot. 

Good luck!!!  Please keep me informed.  Since I have put this message in many
notes files in hopes finding someone able enough to fix this, things could get
confusing and out-of-hand if everyone makes there own kits. Please send me mail
with updates as to how you are doing.  If someone get's a little further, but is
still not quite there, I will be able to inform everyone with the kit of the
changes. 

Thanks in advance...
						Michael Campanella
						CVG::CAMPANELLA
T.RTitleUserPersonal
Name
DateLines
1585.1Xmodem/Ymodem Kit!!!CVG::CAMPANELLAMichael Campanella, DTN 261-2595Fri Oct 07 1988 14:0655
Announcing the latest and greatest XMODEM (and Ymodem) for VMS!!!

This Xmodem program does Standard Xmodem, CRC Xmodem, Xmodem 1K (sometimes
called Ymodem), Ymodem Batch, and MODEM7 (not tested as of this posting).  It
will write a log file with estimated and actual 'characters per second'
transmitted (in sys$login:xmodem.log). 

The kits are located in the following 2 directories:

	CVG""::WORK1:[CAMPANELLA.KITS]XMODEMVMS.BCK
	SMAUG""::USER1$:[LINDSEY.AMIGA.PUBLIC]XMODEMVMS.BCK

The .EXE file is in the kit, but is also separated out in these directories
(XMODEM.EXE) for those of you who do not want/need the sources too. 

CVG:: is in Salem, NH.  SMAUG:: is in Littleton, MA.

Please report bugs to CVG::CAMPANELLA and SMAUG::LINDSEY

NOTE: This note has been distributed in many notes files.  In the future, the
developers will most likely post any updates to this kit to the KERMIT, AMIGA,
and APPLE_COMPUTERS, (and possibly VAXPAC) notes files only.  Those of you who
monitor these conferences may copy the updates to other conferences as you
wish.


To unpack the .BCK file after copying, type 

	$ BACKUP/LOG XMODEMVMS.BCK/SAVE *

To use the program, define a symbol to point to the .EXE file:

	$ XMODEM :== $yourdisk:[yourdirectory]XMODEM

To get help on all the options, simply type XMODEM

Examples of binary XMODEM transfers:
$ XMODEM -rb filename	! receive a file in Standard Xmodem mode
$ XMODEM -rbc filename	! receive a file in CRC Xmodem mode
$ XMODEM -rbck filename	! receive a file in CRC Xmodem mode w/ 1K packets
$ XMODEM -rby		! receive files in Ymodem Batch mode

$ XMODEM -sb filename	! send a file in Standard Xmodem mode
...
$ XMODEM -sby filename	! send file in Ymodem Batch mode


This program is a port of an Xmodem program received from the USENET.  The
original sources and the most recent sources are both available.  Modifications
should be made after consultation with the authors (they would like to
coordinate things). 

Brought to you by the USENET as well as...
	Michael Campanella
	Jerry Lindsey
1585.2New Xmodem/Ymodem KitCVG::CAMPANELLAMichael Campanella, DTN 261-2595Mon Nov 28 1988 13:3738
Announcing the latest and greatest XMODEM (and Ymodem) for VMS!!!

This version has been updated to contain a DCL interface and multiple-file batch
sends from VMS using /since, /before, and wildcarded filenames!  Also, this kit
will work for VMS V4.x and V5.x systems (I hope)! 

This Xmodem program does Standard Xmodem, CRC Xmodem, Xmodem 1K (sometimes
called Ymodem), Ymodem Batch, and MODEM7 (not tested as of this posting).  It
will write a log file with estimated and actual 'characters per second'
transmitted (in sys$login:xmodem.log). 

The kit is located in the following directory:

	CVG""::WORK1:[CAMPANELLA.KITS]XMODEMVMS.BCK

CVG:: is in Salem, NH.

Please report bugs to CVG::CAMPANELLA



To unpack the .BCK file after copying, type 

	$ BACKUP/LOG XMODEMVMS.BCK/SAVE *

Then read the $README.FIRST file...



This program is a port of an Xmodem program received from the USENET.  The
original sources and the most recent sources are both available.  Modifications
should be made after consultation with the authors (they would like to
coordinate things). 

Brought to you by the USENET as well as...
	Michael Campanella
	Jerry Lindsey
	Randy Cohen
1585.3it bombs - i need helpFSCORE::KAYEBe seeing youFri Dec 16 1988 09:5916
	I tried to run this & this is what i get - any ideas?

XMODEM Version 3.6 -- VMS-Microcomputer Remote File Transfer Facility
%CLI-F-SYNTAX, error parsing 'LOG'
-CLI-E-ENTNF, specified entity not found in command tables
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name     routine name                     line       rel PC    abs PC

                                                           7FF8A2F5  7FF8A2F5
                                                           7FF8A0FB  7FF8A0FB
                                                           7FF89DBC  7FF89DBC
                                                           0000DD64  0000DD64
VAXSUPP         GetValue                         3314      00000056  000045BB
XMODEM          main                             2899      0000006A  00003A6A
    

    mark
1585.4old symbol xmodem hanging around?DECWET::TBAKERTom Baker - DECwest CSSEFri Dec 16 1988 15:089
    This happened to me when I first used the new xmodem. I can't remember
    exactly but I think it was because I still had an old symbol xmodem
    defined from the previous version of xmodem. You don't need a symbol
    with this version because an xmodem.cld file is provided to add
    the command to the dcl tables. Do you have all the xmodem files
    in a directory that you then define as XMODEM$DIR and then
    @XMODEM$DIR:XMODEM.COM ? This works for me.
    
    tom
1585.5that was itFSCORE::KAYEBe seeing youFri Dec 16 1988 18:553
    Yes, that was it - thanx.
    
     mark
1585.6DCL? Miracles, for someone else, I guess.UTROP1::VELTLex Intvelt @UTOTue Dec 27 1988 16:427
    re.4 & .5
    Got the same message Mark got. Followed all the instructions
    as in $ReadMe.First file and .4: zilch! I still get the
    messages as described in .3
    Now what? Anyone?
    
    Lex
1585.7I had this problem.DEBIT::SOOChong SooTue Dec 27 1988 18:046
    Remember to get rid of the line in your LOGIN.COM that define
    "XMODEM" as a foreign command:

    $ XMODEM :== $device:[directory]XMODEM.EXE

    Chong.
1585.8Perfection comes slowly!UTROP1::VELTWed Dec 28 1988 05:016
    Boy! No more ERROR messages!
    The final test to transfer files yet to come.
    
    Thanks Chong!
    
    Lex.