Using C-Kermit to Exchange Files With Telnet BBS's

  /     /   BBS     Linux     Retro     Tutorial    

Most BBSs that are still running now do so via telnet. In many ways this is great as it allows people from all around the world to access a BBS as if it were local to them. The problem comes though, when you want to upload or download a file to/from the BBS. Most telnet clients don't make this easy. Here I show how to use C-Kermit as a telnet client and how to upload/download files with it.

Installing and Configuring C-Kermit

You need to ensure that you have ckermit and lrzsz installed. The first is a C-Kermit implementation and the latter provides tools for zmodem/xmodem/ymodem file transfer.

If you are only using C-Kermit to Connect to Telnet BBS's, you'll probably want to put the following lines in your ~/.mykermrc file, otherwise you will need to enter them from the kermit prompt.

set file type binary
set telopt kermit refuse refuse
set protocol zmodem

The set telopt... line is there because Synchronet, which many BBS's use, doesn't handle RFC2840 properly. The protocol above is set to zmodem, in theory the kermit protocol should have been a better choice, but for some reason I often end up with files missing parts when I use it with telnet BBS's.

Connecting to a Telnet BBS

C-Kermit can create a telnet connection by using the -J switch:

$ kermit -J

If you are connecting to a BBS that relies on colour ANSI graphics, you will want to ensure that your terminal is set up to emulate this. To do that read: Getting Colour ANSI Emulation to Work Properly When Connecting to a BBS With Telnet Under Linux.

Downloading Files

When you want to download, just start the download from the BBS, select zmodem if possible and C-Kermit will automatically start rz to download the file. The file will be put into the directory that C-Kermit was started in, unless you have changed the working directory using the cd command from the kermit prompt.

How to Upload

Uploading is a little more complicated and relies on kermit's mode system. The process is as follows:

  1. Start the upload at the BBS end, remembering that your transfer protocol was set to zmodem above.
  2. Once started, press the escape key CTRL+\ then c to get back to the kermit prompt.
  3. Use the send command to send the file. To help find the file you want to send you can use the ls and cd commands. So to send afile.bin use:
C-Kermit> send afile.bin
  1. Reconnect to the telnet session using the connect command.

Where Now?

C-Kermit has many features, so it is worth looking at its man pages. You will find that some BBS's work better with it than others, but hopefully this article will help you get the most out of BBSing from Linux.

Creative Commons License
Using C-Kermit to Exchange Files With Telnet BBS's by Lawrence Woodman is licensed under a Creative Commons Attribution 4.0 International License.

Related Articles

Getting Colour ANSI Emulation to Work Properly When Connecting to a BBS With Telnet Under Linux

I have noticed that the number of people interested in using telnet to access BBSs seems to be growing, which I'm really pleased to see. However lots of people seem to be having trouble getting colour...   Read More

Connecting to a Remote Serial Port over TCP/IP

Most modern machines don't have a serial port as standard; you could use a USB to serial lead, however, if you have another machine available that does have a serial port you can access it remotely ove...   Read More

Transferring Files to and from CP/M .D71 Disk Images Using ctools

Using Vice to emulate a Commodore 128 running CP/M works very well, but it isn't easy to get CP/M files directly onto and off a .D64/.D71 disk image. The easiest way to do this under Linux is to use c...   Read More

Emulating a CP/M System With z80pack

z80pack is great for creating an emulated CP/M system. It can either be used to create a general CP/M system or can emulate a specific system such as an IMSAI or ALTAIR including a graphical front-pan...   Read More

Adding a Basic Stub to a VIC-20 Assembly Language Program

To make machine language programs more friendly it is nice to add a basic stub which contains a line with a SYS statement to start the code. This is easy to do on the Vic-20 and the process gives you ...   Read More

Sign up to get new articles straight to your inbox.

Delivered by FeedBurner


blog comments powered by Disqus