Toward a better C64 terminal

Edit: Unfortunately, the images originally included in this post are gone, because of hosting problems in late 2009. My apologies.

Things like this make me giggle.

Most of that came from the make-your-K6-2-into-a-C64 post I wrote a couple of weeks ago, with one small addition: The greeting message that goes in your .bashrc file. (I did this in Arch, although it should work in Ubuntu too.)

The message only appears on the first spawning of a terminal (or when you log in to a tty1 screen). If you wanted, you could code it to check the status of the terminal and see if that message should be displayed. Regardless …

PS1='\nREADY. \n'
echo
echo " **** COMMODORE 64 BASIC V2 ****"
echo
echo " 64K RAM SYSTEM 38911 BASIC BYTES FREE"

Note the leading spaces on two of those lines; you need those to get the greeting centered across all 40 columns. And there are two spaces between SYSTEM and 38911.

After that, just grab the Adore64 font from Freakyfonts.de and unzip it into your ~/.fonts folder. Add this to your ~/.Xdefaults file, to tell urxvt to mimic the dimensions and colors of the old C64 screen.

urxvt.font: xft:Adore64:autohint=false:antialias=false:size=6
urxvt.background: #3a319c
urxvt.foreground: #7b71d6
urxvt.scrollBar: false
urxvt.cursorBlink: true
urxvt.geometry: 40x25

After that, you could set up some aliases between the old C64 commands and bash commands. Set load"$",8:list to ls, if you want. Or sys64738 to sudo reboot. That would be pretty funny.

But I’ll leave those things to you. I mean, there are limits, people. ;)

About these ads

1 Response to “Toward a better C64 terminal”


  1. 1 Dr Small 2007/11/28 at 9:24 AM

    I did something similar, only I never made it look like the C64 Terminal. But I wrote a simple tutorial on how to add a message to the beginning of your terminal too, awhile back:

    http://php.8ez.com/drsmall/blog/?p=164


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,960,871 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: