Skip to content

Commit

Permalink
uCKermit, 4G(171), 2021-MAY-02
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonjh committed May 2, 2021
1 parent 1933411 commit 660b438
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 56 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
###########################################################################
# #
# Makefile, version 2.94, 2021-APR-30 #
# Makefile, version 2.95 2021-MAY-02 #
# #
###########################################################################
# #
Expand Down Expand Up @@ -373,7 +373,7 @@ linux:
-DTIMEZONE -Wall -Os -fno-ident -fno-unwind-tables -flto -DDIRENT \
-fno-exceptions -flto -fno-math-errno -fdata-sections -ffast-math \
-fno-asynchronous-unwind-tables -funsigned-char -ffunction-sections \
-fmerge-all-constants -DDTILDE -fdelete-null-pointer-checks \
-fmerge-all-constants -fdelete-null-pointer-checks \
-funsafe-math-optimizations" \
"LNKFLAGS = -Wl,-O,2 -Wl,-flto -Wl,--gc-sections"
#
Expand All @@ -385,7 +385,7 @@ linux-small:
-Wall -DFIONREAD -DNOATTR -fno-ident -DNOSTATS -Os -DNODOHLP -DNODISP \
-DNOCKUDIA -DMINBUF -fno-unwind-tables -fno-exceptions -DDIRENT -flto \
-DNOCKUSCR -fno-math-errno -fdata-sections -DNODISP -ffast-math \
-fno-asynchronous-unwind-tables -funsigned-char -DNOCONN -UDTILDE \
-fno-asynchronous-unwind-tables -funsigned-char -DNOCONN -DNOTILDE \
-ffunction-sections -fmerge-all-constants -fdelete-null-pointer-checks \
-funsafe-math-optimizations -DNOSPACE" \
"LNKFLAGS = -Wl,-O,2 -Wl,-flto -Wl,--gc-sections"
Expand All @@ -399,7 +399,7 @@ linux-minimal:
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident -flto \
-fno-exceptions -fdata-sections -ffunction-sections -ffast-math \
-fno-math-errno -DNOSTATS -fmerge-all-constants -funsigned-char \
-fdelete-null-pointer-checks -DNOICP -DMINBUF -DNOATTR -UDTILDE \
-fdelete-null-pointer-checks -DNOICP -DMINBUF -DNOATTR -DNOTILDE \
-funsafe-math-optimizations -DNOCONN -DNOLOGS -DNOSPACE" \
"LNKFLAGS = -Wl,-O,2 -Wl,-flto -Wl,--gc-sections"
#
Expand Down
2 changes: 2 additions & 0 deletions ckcdeb.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ typedef int SIGTYP;
#endif /* ifdef BSD4 */
#ifdef UXIII
#ifndef MINBUF
#ifndef NOTILDE
#define DTILDE
#endif /* ifndef NOTILDE */
#endif /* ifndef MINBUF */
#endif /* ifdef UXIII */

Expand Down
2 changes: 1 addition & 1 deletion ckcmai.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
char *versio = "uCKermit, 4G(170), 2021-APR-30";
char *versio = "uCKermit, 4G(171), 2021-MAY-02";

/* C K C M A I -- uCKermit Main program */

Expand Down
96 changes: 47 additions & 49 deletions ckcpro.w
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
#ifndef NOICP
char *protv = " Protocol, 4G(071)";
char *protv = " Protocol, 4G(072)";
#endif /* ifndef NOICP */

/* C K C P R O -- uCKermit Protocol Module in Wart preprocessor notation */

/*
* Copyright (C) 2021, Jeffrey H. Johnson <[email protected]>
*
* Copyright (C) 1981-2011,
* Trustees of Columbia University in the City of New York.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* - Neither the name of Columbia University nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/* C K C P R O - Kermit Protocol Module in Wart preprocessor notation */

/*
* Copyright (C) 2021, Jeffrey H. Johnson <[email protected]>
*
* Copyright (C) 1981-2011,
* Trustees of Columbia University in the City of New York.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* - Neither the name of Columbia University nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "ckcdeb.h"
#include "ckcker.h"
Expand Down Expand Up @@ -116,10 +116,10 @@ x { sleep(1); SERVE; } /* Be a Server */
a { errpkt("User cancel"); /* ABEND: Tell other side. */
return(0); } /* Return from protocol. */

/*
* Dynamic states:
* <current-states>input-character { action }
*/
/*
* Dynamic states:
* <current-states>input-character { action }
*/

<rgen,get,serve>S { /* Receive Send-Init packet */
rinit(rdatap); /* Set parameters */
Expand All @@ -131,10 +131,10 @@ a { errpkt("User cancel"); /* ABEND: Tell other side. */
BEGIN rfile; /* Go into receive-file state */
}

/*
* States in which we get replies back
* from commands sent to a server.
*/
/*
* States in which we get replies back
* from commands sent to a server.
*/

<ipkt>Y { /* Get ack for I-packet */
spar(rdatap); /* Set parameters */
Expand Down Expand Up @@ -503,8 +503,6 @@ E { /* Got Error packet, in any state */
}
%%

/* P R O T O -- Protocol entry function */

proto()
{

Expand Down
2 changes: 1 addition & 1 deletion ckucmd.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef NOICP
char *cmdv = " ICP REPL, 4G(063)";
char *cmdv = " JSYS ICP, 4G(063)";
#endif /* ifndef NOICP */

/* C K U C M D -- Interactive command package / parser */
Expand Down
2 changes: 1 addition & 1 deletion ckuscr.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef NOCKUSCR
char *loginv = " Scripting, 4G(037)";
char *loginv = " Script, 4G(037)";

/* C K U S C R -- Login script for logging onto remote system */

Expand Down

0 comments on commit 660b438

Please sign in to comment.