home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
modcomp
/
rpar.
< prev
next >
Wrap
Text File
|
1987-01-25
|
4KB
|
119 lines
SUBROUTINE RPAR (XDATA)
C
C ****************************************************************
C
C KERMIT for the MODCOMP MAXIV operating system
C
C Compliments of:
C
C SETPOINT, Inc.
C 10245 Brecksville Rd.
C Brecksville, Ohio 44141
C
C
C KERMIT is a copyrighted protocol of Columbia Univ. The authors
C of this version hereby grant permission to copy this software
C provided that it is not used for an explicitly commercial
C purpose and that proper credit be given. SETPOINT, Inc. makes
C no warranty whatsoever regarding the accuracy of this package
C and will assume no liability resulting from it's use.
C
C ****************************************************************
C
C Abstract: EXTRACT REQUIREMENTS FROM INIT PACKET
C
C MODIFICATION HISTORY
C
C BY DATE REASON PROGRAMS AFFECTED
C
C ****************************************************************
C
C Author: BOB BORGESON Version: A.0 Date: Oct-86
C
C Calling Parameters:
C
C R XDATA -- THE DATA PACKET
C
C ****************************************************************
C
C Messages generated by this module : None
C
C ****************************************************************
C
C Subroutines called directly : CTL, UNCHAR
C
C ****************************************************************
C
C Files referenced : None
C
C ****************************************************************
C
C Local variable definitions :
C
C ****************************************************************
C
C Commons referenced : KER, KERPAR
C
C ****************************************************************
C
C (*$END.DOCUMENT*)
C
C ****************************************************************
C * *
C * D I M E N S I O N S T A T E M E N T S *
C * *
C ****************************************************************
C
IMPLICIT INTEGER*2 (A-Z)
C
INTEGER*2 XDATA(1)
C
C ****************************************************************
C * *
C * T Y P E S T A T E M E N T S *
C * *
C ****************************************************************
C
C
C ****************************************************************
C * *
C * C O M M O N S T A T E M E N T S *
C * *
C ****************************************************************
C
INCLUDE USL/KERCOM
INCLUDE USL/KERPMC
C
C ****************************************************************
C * *
C * E Q U I V A L E N C E S T A T E M E N T S *
C * *
C ****************************************************************
C
C
C ****************************************************************
C * *
C * D A T A S T A T E M E N T S *
C * *
C ****************************************************************
C
C
C ****************************************************************
C
C Code starts here :
C
C STORE THE OTHER KERMIT'S FILE TRANSFER REQUIREMENTS AWAY
C
IF(XDATA(1).NE.0)GO TO 100
SPSIZ=PAKSIZ
GO TO 200
100 CONTINUE
SPSIZ=UNCHAR(XDATA(1))
200 CONTINUE
IF(XDATA(3).NE.0)PAD=UNCHAR(XDATA(3))
IF(XDATA(4).NE.0)PADCHAR=CTL(XDATA(4))
IF(XDATA(5).NE.0)EOL=UNCHAR(XDATA(5))
IF(XDATA(6).NE.0)QUOTE=XDATA(6)
RETURN
END