How to Compile Open Source Tron Implementation (Toppers)

1. Get the Source of Toppers

2. untar the source #tar zxfvp jsp-1.4.1.tar.gz

3. Compile #cd jsp #./configure -C linux #cd cfg #make #cd .. #make depend #make

4. Your JSP kernel is ready for run 🙂


Japanese Input in Fedora

March 30, 2005

Following are the easy steps to enable Japanese for Fedora Linux [english]
1. Install the necessary packages
#yum install fonts-japanese Canna-libs iiimf-libs iiimf-gtk iiimf-le-canna iiimf-server

2. Start the Canna Service
#service canna restart

3. Start the iiim server
#service iiim restart

4. Open the GTK program
LANG=ja_JP GTK_IM_MODULE=iiim gedit

To change between the language, use Ctl-Space.

#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <linux/hdreg.h>
#include <fcntl.h>
#include <errno.h>

int main (void) {
struct hd_driveid id;
int fd;

if (getgid()) {
   printf ("Run this with root permission]n");
   return -1;
if (!(fd = open ("/dev/hda", O_RDONLY|O_NONBLOCK))) {
   perror ("/dev/hda");
   return -1;
if(!ioctl(fd, HDIO_GET_IDENTITY, &id)) {
   printf("Serial Number=%s\n",id.serial_no);
   printf("Model Number=%s\n",id.model);
   printf("Firmware Revision=%.8s\n",id.fw_rev);
} else {
   perror ("HDIO_GET_IDENTITY");
if (!close(fd)) {
   perror ("/dev/hda");
   return -1;
return 0;

Say no to Bandh Culture

March 21, 2005

While India is willing to become IT Superpower, BSNL’s on-going strike has crippled the Indian telecom and internet backbone nationwide. I am not well aware why a section of BSNL’s employees are participating in the bandh. Anyway, businesses are suffering and economy is loosing its position in global perspective. Is not it the time to SAY NO TO BANDH CULTURE ?

Google News on BSNL’s Strike

Bleeding edge bites

March 14, 2005

I do sync my Linux Fedora with rawhide repository. Since last weekend, yum has broke …

[root@l5ac250 fedora-core]# yum update
Setting up Update Process
Setting up Repos
development 100% |=========================| 1.1 kB 00:00
custom 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Traceback (most recent call last):
File “/usr/bin/yum”, line 15, in ?
File “/usr/share/yum-cli/”, line 72, in main
result, resultmsgs = do()
File “/usr/share/yum-cli/”, line 462, in doCommands
return self.updatePkgs()
File “/usr/share/yum-cli/”, line 960, in updatePkgs
File “”, line 228, in doUpdateSetup
File “”, line 225, in returnObsoletes
File “/usr/src/build/515186-i386/install//usr/lib/python2.4/site-packages/sqlite/”, line 104, in __getitem__
[root@l5ac250 fedora-core]#