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

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.

Share This Post


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

Terminal Programs for BBSing on the Commodore VIC-20

The VIC-20 introduced many people into the world of BBSing, but only a few of the many terminal programs that were available for the Vic have survived. They each have their own pros and cons and here ...   Read More

BBS Ads: Getting the Word Out

BBS Ads were important to users and sysops of BBS's. There wasn't any universal directory like the phone book, and during the heyday of BBS's (early '80s to the mid '90s), most people couldn't easily ...   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

Connecting a Parallel Printer to a Modern Linux Machine Using a LogiLink USB to Parallel Cable, D-SUB 25pin

I have a number of older printers that I would like to connect to my modern machine, but have been unable to do so because my computer doesn't have a parallel interface. After searching the internet f...   Read More