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
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
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
$ kermit -J somebbs.example.com
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.
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:
- Start the upload at the BBS end, remembering that your transfer protocol was set to zmodem above.
- Once started, press the escape key (CTRL+</em>) then
cto get back to the kermit prompt.
sendcommand to send the file. To help find the file you want to send you can use the
cdcommands. So to send
C-Kermit> send afile.bin
- Reconnect to the telnet session using the
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.