Groups | Search | Server Info | Login | Register


Groups > alt.sys.pdp10 > #9886

Re: Kermit binary xfer to TOPS-10

From jayjwa <jayjwa@atr2.ath.cx.invalid>
Newsgroups alt.sys.pdp10
Subject Re: Kermit binary xfer to TOPS-10
Date 2026-01-05 12:18 -0500
Organization atr2net 2026
Message-ID <87ms2sasg1.fsf@atr2.ath.cx> (permalink)
References <87wm1ylfdg.fsf@atr2.ath.cx> <bndr2m-petf1.ln1@rpi4b1.ad.nandbb.com>

Show all headers | View raw


Nick Bush <nb4495929+t10@gmail.com> writes:

> I don't know why the disconnect is occurring, but if you are intending
> on transferring a TOPS-10 .EXE file to an 8-bit byte oriented system
> and being able to send it back again, you need to do a "SET FILE BYTE
> THIRTY-SIX-BIT" command to Kermit-10.   This causes it to map each
> 36-bit word into seven 8-bit bytes when it is sending the file, and
> seven 8-bit bytes to a 36-bit word when it is receiving a file.
Closer. 36 bit doesn't work, but 7 at least completes the transfer.

C-Kermit 10.0.416 Beta.12, 2025/03/22, for Linux+SSL (64-bit)
 Copyright (C) 1985, 2025,
  Trustees of Columbia University in the City of New York.
  Open Source 3-clause BSD license since 2011.
Type ? or HELP for help.
(/tmp/) C-Kermit>set host fatalis 2030
 DNS Lookup...  Trying 192.168.20.59...  Reverse DNS Lookup... (OK)
 fatalis connected on port 2030
(/tmp/) C-Kermit>connect
Connecting to host fatalis:2030
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------


Connected to the KL-10 simulator TTY device, line 0


KL+NETMON-704 08:44:43 TTY4 system 1025
Connected to Node NERGIG(15) Line # 4
Please LOGIN

.login
Job 3  KL+NETMON-704  TTY4
#jayjwa
Password: 
[LGNLAS Last access to [30,1] succeeded on  4-Jan-99:21:12:37]
08:44    5-Jan-99   Tuesday

.r k10mit

TOPS-10 KERMIT version 3(135)
Kermit-10>set file byte thirty-six-bit
Kermit-10>send hello.exe
----------------------------------------------------
Warning: terminal type unknown: "VT220"
Fullscreen file transfer display disabled.
SF
X to cancel file,  CR to resend current packet
Z to cancel group, A for status report
E to send Error packet, Ctrl-C to quit immediately: %N%N%N%N%N%N%N%N%N%N%N%
?Too many retries.
E
(/tmp/) C-Kermit>       <-- Back to Linux here
(/tmp/) C-Kermit>connect
Connecting to host fatalis:2030
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
Kermit-10>              <-- Have to blind-type here as no chars show


Now to try 7bit. 

.r k10mit

TOPS-10 KERMIT version 3(135)
Kermit-10>set file byte-size seven-bit
Kermit-10>send hello.exe
----------------------------------------------------
Fullscreen display not supported for terminal type: VT220
F
X to cancel file,  CR to resend current packet
Z to cancel group, A for status report
E to send Error packet, Ctrl-C to quit immediately: 
HELLO.EXE => hello.exe
Size: unknown, Type: binary
    File   Percent       Packet
    Bytes  Done     CPS  Length
    10240  100%     630       5  [OK]
ZB
----------------------------------------------------
Kermit-10>

❰jayjwa❙/tmp❱✔≻ file hello.exe 
hello.exe: MacBinary INVALID date "p"
❰jayjwa❙/tmp❱✔≻ mv hello.exe hw.exe

(/tmp/) C-Kermit>set file bytesize 7
(/tmp/) C-Kermit>send hw.exe
SF
X to cancel file,  CR to resend current packet
Z to cancel group, A for status report
E to send Error packet, Ctrl-C to quit immediately: 
hw.exe => HW.EXE
Size: 10240, Type: binary
    File   Percent       Packet
    Bytes  Done     CPS  Length
    10240  100%    1850       8  [OK]
ZB
(/tmp/) C-Kermit>connect
Connecting to host fatalis:2030
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
Kermit-10>

.dir


FIRST	TXT     1  <057>   20-Dec-98	DSKB:	[30,1]
HELLO	BCP     1  <057>   29-Dec-98
HELLO	REL     1  <057>   29-Dec-98
HELLO	EXE    16  <057>   29-Dec-98
SWITCH	INI     1  <057>   29-Dec-98
DAY	CTL     1  <057>    1-Jan-99
HW	EXE    16  <057>    5-Jan-99
  Total of 37 blocks in 7 files on DSKB: [30,1]

.run hw


?Bad format for EXE file directory

.run hello.exe

Hello, world!!!

EXIT

.

So the file doesn't get back to TOPS-10 correctly, but at least the
transfer happens this time. 8bit-to-bit doesn't work at all.
The syntax on Linux is

set file bytesize N

versus

set file byte-size N

for TOPS-10. C-Kermit only will take 7 or 8, while K10 shows:

36-bit		7-bit		8-bit		auto-byte	eight-bit
seven-bit	thirty-six-bit

Neither 36 to 7 nor 36 to 8 gets a file. Only 7-to-7 does.  You can see
there's stuff in the file, but it's corrupted in some way.

❰jayjwa❙/tmp❱✔≻ strings hello.exe
6 Bp
Hello, world!!!
START
Q` Bp
$.=`
1.=`
U* Dp
^ Bp
, Bp
{`1D
%-8H
---:HISTORY:--- 
---:STACK BACKTRACK:---
**UNTRACED**
---:PROFILE:---
... CONT TO CONTINUE
**BAD NAME**
**BAD LINK - NEXT TRACED PROCEDURE IS**
**SYSTEM**
( "p
j Xh
?BCLUUO INVALID UUO
^ Vp
?BCLNCR UNABLE TO GET [
K ] CORE
?BCLJTZ JUMP TO ZERO
?BCLCCT CAN'T CONTINUE
8-34359738368   
%.=`


> Kermit-20 can use meta-data from the file attributes of the file to do
> a better job of guessing what you are trying to do, so that is
> probably why it is working when sending a file out from TOPS-20.
Any other Kermit I've used is fine. Just TOPS-10 is the challenge.

-- 
PGP Key ID: 781C A3E2 C6ED 70A6 B356  7AF5 B510 542E D460 5CAE
       "The Internet should always be the Wild West!"

Back to alt.sys.pdp10 | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Kermit binary xfer to TOPS-10 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-01-03 13:28 -0500
  Re: Kermit binary xfer to TOPS-10 Bob Eager <news0009@eager.cx> - 2026-01-03 20:37 +0000
    Re: Kermit binary xfer to TOPS-10 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-01-04 11:46 -0500
  Re: Kermit binary xfer to TOPS-10 Nick Bush <nb4495929+t10@gmail.com> - 2026-01-04 19:37 -0500
    Re: Kermit binary xfer to TOPS-10 Lars Brinkhoff <lars.spam@nocrew.org> - 2026-01-05 06:47 +0000
      Re: Kermit binary xfer to TOPS-10 Nick Bush <nb4495929+t10@gmail.com> - 2026-01-05 11:54 -0500
        Re: Kermit binary xfer to TOPS-10 Lars Brinkhoff <lars.spam@nocrew.org> - 2026-01-05 18:34 +0000
      Re: Kermit binary xfer to TOPS-10 Nick Bush <nb4495929+t10@gmail.com> - 2026-01-05 12:00 -0500
    Re: Kermit binary xfer to TOPS-10 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-01-05 12:18 -0500
      Re: Kermit binary xfer to TOPS-10 Nick Bush <nb4495929+t10@gmail.com> - 2026-01-05 14:15 -0500
        Re: Kermit binary xfer to TOPS-10 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-01-06 11:56 -0500

csiph-web