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

  /     /   ANSI     BBS     Linux     Retro     Text Mode     Tutorial    

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 ANSI emulation working properly with telnet under Linux. I have therefore put this tutorial together to show just how easy it is.

The process of getting colour ANSI emulation working properly in telnet is quite simple. All you need is the correct font and be using the correct terminal emulation mode. This is easily done as follows:

Installing the Correct Fonts

  • Download the correct fonts from here, so that you can display the ANSI block characters properly.
  • Check where your X fonts are stored, under Debian Lenny I would use /usr/share/fonts/X11/misc.
  • As root extract the archive downloaded above to the font directory using:
    $ tar -xvzf ansifonts.tar.gz -C /usr/share/fonts/X11/misc
    
  • Ensure that X knows about the fonts:
    $ mkfontdir /usr/share/fonts/X11/misc/
    $ xset fp rehash
    
  • Check that X now knows about the fonts (Should return at least one line with the text 'vga11x19'):
    $ xlsfonts | grep vga11x19
    

Setting Up Your Terminal Emulator

The only terminal emulator I could found that does ANSI colour emulation properly is rxvt, if you haven't already got this installed then now is the time to do that. You now need to make sure that your terminal emulator is using one of the correct fonts. To start rxvt with the vga11x19 font, a black background and white foreground, type:

$ rxvt -fn vga11x19 -bg black -fg white &

Now you need to make sure that rxvt is emulating an ANSI display. To do this you need to set the TERM and COLORTERM environmental variables to 'ansi'. If you are using the bash shell type the following from within the rxvt window:

$ export TERM=ansi
$ export COLORTERM=ansi

Connecting to BBSs with Telnet

Now you can just telnet as normal to the BBS you are interested in. If you wanted to connect to a made-up BBS called somebbs.com:

$ telnet somebbs.com

There is quite a lot of information on the internet about telnet BBSs, some of the best sites are: BBS Corner, BBS Finder, The Telnet BBS Guide and BBS Scene. Have fun, and I hope we can expand the use of BBSs, as I still believe they have a lot to give.

Creative Commons License
Getting Colour ANSI Emulation to Work Properly When Connecting to a BBS With Telnet Under Linux by Lawrence Woodman is licensed under a Creative Commons Attribution 4.0 International License.

Related Articles

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, ...   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

Programmable Character Sets: A Simple Alternative to Bitmap Displays

Programmable or reconfigurable character sets were a simple alternative to fully bitmappable displays. The main driving force behind their creation was a desire to keep the cost of computers low: RAM ...   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

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

Sign up to get new articles straight to your inbox.

Delivered by FeedBurner

Comments

blog comments powered by Disqus