pramode_ce ([info]pramode_ce) wrote,

Looking back

Reading Swaroop's account of his involvement with Linux in college made me look back to my college days. I joined the Model Engineering College, Cochin as a B.Tech student (CS) in 1992. The PC had not yet become mainstream in India and there were just a few guys in class who had even seen a computer before. We got started with MS-DOS and simple programs in Turbo Pascal (running on real 8086 machines) - I still remember a cute program which plotted a sine wave on the screen using the `*' character!

If I remember it correctly, it was during our second year in college that we got to see Windows for the first time - that too on a huge monitor which was used for doing some kind of CAD stuff! It was quite impressive for us newbies - one memory of this period is a thick book on Windows programming with the `OWL' (Object Windows Library) - for some reason, I didn't quite like the stuff written in that book.

We had a Unix lab which ran on a big 486 machine - the OS was SCO. Lot's of dumb terminals were connected to the server and we had a good time playing tetris and writing stupid little shell scripts. The Unix lab was mostly used for teaching compiler construction (LeX/Yacc) and systems programming (IPC, shared mem, semaphores etc). Some seniors also used it for doing database projects with Ingres.

The college management was at that time quite liberal when it came to purchasing equipment; around the same period we got introduced to Windows, there arrived in the lab a Silicon Graphics workstation (running the amazing Irix operating system) and a DEC Alpha system. The SGI machine was real cool - it came with a small movie camera - you could take your photo and put it up on the photo login page - click your photo to log on to the machine! Most of us guys who were really interested in computers soon realized that the `Windows' stuff was absolute crap and there were *much* better things in the world.

One day when we tried booting a machine in the lab, it simply displayed two character on the screen:


LI

We ran to our teacher Prof.Jyothi John and informed him of this mysterious behaviour - he told us that he had tried installing something called `Linux' which he had obtained from IIT Madras - the installation had failed, maybe we could try repeating it. He gave us a bunch of about 40 floppies. After some effort, we had `Linux' successfully running on our machines.

We found this new OS quite interesting. Nobody had worked on it before and it was fun to discover things by trial and error and experimentation (something which I believe many `new-generation' students are unwilling to do in the age of `Googling'). There is one bookshop in Cochin called `Mindstorm' whose owner was an enlightened chap - he arranged us a book which was a collection of documents taken from the Linux Documentation project - we had something to go by. We soon had a small network running and tetris gaming shifted to machines on this network.

We had a mini project coming up - networking was something fascinating at that time and we decided to do some TCP/IP stuff using the new OS. I had read an article in IEEE Computer about `Computer Supported Co-operative Work' - the idea is that you share things like a whiteboard over the network - you draw something,others on the network can see it real-time. We learnt a bit of Xlib programming and some socket stuff from the amazing Steven's book and cobbled up a program which was trivial but impressive in its output.

I got hooked to h/w interfacing with Linux when I wrote a simple user space driver to interface an ADC card and read data from it - this was originally done as an exercise in the hardware lab on MS-DOS but soon got `ported' over to Linux. The networking craze even made us write a `networked' CRO which acquires data from the card and distributes it to clients over the n/w. Simple stuff, but thrilling to a beginner.

The main project was an `extension' of the mini project - we decided to add some audio and video to our earlier program. The video data was obtained from the camera on the SGI machine and was distributed to client Linux systems over the network - our knowledge of X was feeble and we found that the display couldn't update itself fast enough. Then we used some kind of mmap trick to gain direct access to the video mem - the plotting was now quite fast! Looking back, it was an absolutely stupid program, but at that time, we were quite excited about it!

Coming back to Swaroop's article, I note that the single most important point in our favour at that time was a teacher who was good enough to let his students experiment with new things. Prof.Jyothi John was a pioneer in this regard and helped us set up perhaps the first Linux lab in Kerala. I have (unfortunately) lost all contact with Model Engineering College, but I hope the current group of students are as passionate about GNU/Linux as we were in those `good old' days!


  • Post a new comment

    Error

    Your reply will be screened

  • 20 comments

[info]sajith

November 25 2005, 05:44:36 UTC 6 years ago

I was fortunate enough to join Model Engineering College (1998-2002, CS) and have someone like Prof. Jyothi John as department head (and later as principal of the college.) Sir never minded us staying in the lab all night and I'm sure he was only too happy to give us complete access to the facilities. We also had a number of senior students passionate about Free Software and computing at the time, and I am glad to see where it all began.

Later we had Stallman delivering a speech at college (here, here - proud chest thumping, yours truly and friends did the recording and transcript! - no matter how imperfect that may be.) At that time, some folks tried to bring RMS to Bangalore, but the open source advocates here was of the opinion that Stallman had said nothing new in the past x years. (You might want to look at the then BLUG archives - if they are still around - to get an idea about the fun.) Of course as students we were oblivious of the whole affair when running around for the historic event. Few years down the line, I was kind of shocked on seeing the flamewar records. And I see history coming around when they have a Stallman Hall this year at FOSS.IN. Quite noticeably, the name of the event itself has changed.

At the day of Stallman's talk, Anand Babu gave us another talk about the Hurd that inspired us enough to write a filesystem server for it. It did teach us a lot of things, no matter how "studenty" the code was :)

The SGI machine was still lying around in the lab when I left college, but its motherboard had got fried. DEC Alpha machine's SCSI disk was dying, but what a beat that was, even at that stage. And the Apple and SPARC machines were running more or less peacefully, though quite aged they were too. The SCO Unix machine with dumb terminals later ran RedHat 6.2, then were moved out to make room to the new generation PCs. And a lot of (almost all, I'm sure) these machines ran Debian GNU/Linux, thanks to the efforts of our enthusiastic lab admin, Titty Jacob. After completion of B Tech, I got to stay around for almost an year, to work on a cluster computing project the college was developing for NPOL. I consider this my minimal guru dakshina, the very least (harm perhaps..:D) I could give back.

We have a mailing list (hash_define_mec@yahoogroups.com) these days with quite a lot of current students as well as alumni subscribed to it. Hope you don't mind joining us - it isn't an exclusive Free Software group, we almost regularly do have our share of catfights and the resulting wisdom at the end of all these.

Thanks for putting this down. But no thanks for making one emotional - I could barely see what I was typing as I reached here :)

[info]pramode_ce

November 25 2005, 08:53:52 UTC 6 years ago

This is great - so you are my MEC junior!!

I will definitely get onto the mailing list ...

Sad to know about the SGI and Alpha systems - one of my great ambitions in college was to own one of those beauties .. Happy to see that the Free Software spirit is alive and kicking ...

[info]sajith

November 25 2005, 09:57:05 UTC 6 years ago

Very much a junior and very happy about that :) Not to mention good old Mindstorm as well - sometimes I think I should have kept the member card. They were willing to keep my membership even as they were discontinuing the lending library.

Anonymous

November 25 2005, 14:52:38 UTC 6 years ago

college dayz

"Prof.Jyothi John was a pioneer in this regard and helped us set up perhaps the first Linux lab in Kerala. I have (unfortunately) lost all contact with Model Engineering College, but I hope the current group of students are as passionate about GNU/Linux as we were in those `good old' days!".......
well i'd suggest u come over and have a look at our college now. MEC is stabilizing as hub for linux activities in kerala.
come over,meet princi, have a chat with the "current" students. i am sure u'll be impressed.
rgrds,
cherian
02-06,cse dept

[info]pramode_ce

November 25 2005, 15:29:02 UTC 6 years ago

Re: college dayz

I would love to come over there - but something in the way you write tells me that everything is not hunky-dory at MEC with regards to Linux and Free Software. What's up?

Anonymous

November 26 2005, 16:21:07 UTC 6 years ago

Re: college dayz

Maybe becoz I didn’t communicate well.
There are quite a lot of Linux hackers here. V have a hostel LAN with a dozen internet connections and wi-fi. Believe me running web servers on LAMP has in itself made many an expert.
To add on MEC is constantly teaching school teachers in the it@school project. As a student I am privileged to teach Linux basics for these teachers. Main and mini projs are done to extend modules for OSS such as apache, nmap, jxta etc etc.
I can’t stop but then I have a graphics lab exam on Monday. They say svgalib is pretty cool. Lemme see for it myself.
Join hash_define_mec@yahoogroups.com .its our programming community. Your experience will help many at MEC
I am the chairman of MACS (MEC Association of Computer science Students…don’t worry, itz pretty much a tech association..no politics). If u are coming over, drop me a mail. I can assure you a small but very enthusiastic crowd.

Regards,
Cherian Thomas
cherianthomas@mec.ac.in

[info]pramode_ce

November 27 2005, 00:35:44 UTC 6 years ago

Re: college dayz

That's great! I will surely come over there one day.

Anonymous

November 26 2005, 08:09:16 UTC 6 years ago

You said that you realized that Windows is a crap. I have a technical question on this regard.

Everybody says (with or without knowing) that Linux/Unix is much secured than Windows.

I want to know what makes Linux stronger than Windows in that aspect. May be the way the OS is designed o something. But what exactly it is???

[info]pramode_ce

November 26 2005, 08:27:38 UTC 6 years ago

I know very little about security and I am incapable of commenting about the relative merits of Windows/Linux in this regard - my love for Linux is that for a great development environment.

Anonymous

November 28 2005, 05:18:16 UTC 6 years ago

windows too have several softwares which are much easier to use and also have a pretty good development environment. and if you compare windows and linux for only good development environment, windows will definitely have the upper hand on the factors of usability and technicality.

--
I too love linux

[info]pramode_ce

November 28 2005, 17:28:13 UTC 6 years ago

I don't think you really understand what I mean by a `development environment' - please read my post about `anagrams'.

Anonymous

November 29 2005, 06:21:50 UTC 6 years ago

commercially how much is the anagram program going to help? professionally how much are the tools like 'cat', 'tr', 'awk' going to be used? and if we have a customer constraint that only one process should run at a time, what are we going to do?

If you are comparing the tools that unix/linux provides then it is certainly amzing. You think of 'bash', and you will spend the next 5 years of your life thinking how it can be improved.

Once again, how many consoles will one have to login, to see the different fields of a structure/class provided the 'vi' editor is being used. If one starts comparing Kdevelop/Vi with Visual Studio+MSDN, then who will be the winner?

No debates, but being constantly criticizing windows is not at all healthy.

As a teacher, have you tried writing code which will work both in windows and linux?? I guess no? Try this: a simple client server program in C which will work both in Windows and Linux. Hoping that you don't use 'gcc' and 'vi' for Windows?

The greatest challenge as a teacher should be to make your students think independent of the platform. It will certainly help your students to have that flexibility when they also begin their careers as a Software Engineer.

I am no one to advice you, but I hope you will surely consider this too.

--
I too love linux. :-)

Anonymous

November 29 2005, 15:44:42 UTC 6 years ago

May be i don't understand what exactly you meant with a 'development environment'. But referring to that 'anagram' example, how much are your students going to use the tools 'cat' and 'tr' for any software that they are going to develop later?

Another thing that I wanted to ask you was, how many programs have to you taught your students which will work both in windows and linux? Precisely, how many of your students can think of writing programs independent of any OS or platform? Forget about 'Hello World'.

Whether one develops a software using 'vi'+'gcc'+'make'+etc. The same can be done though differently using 'Visual Studio'.

Finally, if you are comparing the tools that Windows and Linux provides, then both have different ways to do things, and if you are comparing Windows and Linux as an OS, then it has a different dimension.

--
I too love Linux

[info]pramode_ce

November 30 2005, 16:14:59 UTC 6 years ago

OK ... this is going to be another Windows Vs Linux war ;-)

If you read http://www.faqs.org/docs/artu/ , you can skip most of
the below.

Let's look at Linux as `Unix' - in that case:

Pipelines are a *good* idea, invented by a really good hacker.

Small tools which can be combined with each other too are a good idea.

Using ASCII text is a good idea.

Using regular expressions is a good idea.

Using programs which write programs (LeX/Yacc) is a good idea.

The Unix shell is an amazing programming tool - have you thought of the
difficulty involved in designing something which works both as a command interpreter and as a programming language?

There are many, many more good ideas in Unix.

In fact, Unix is not an Operating System, but it's a philosophy of using a computer intelligently to solve problems.

How else would you explain an OS surviving extreme fragmentation and poor marketing for well over 35 years and then sort of reinventing itself in the form of GNU/Linux and going on to take over the world? Good ideas my friend, its the strength of *really* good ideas.

You have committed the very common mistake of equating *all* software development with the development of GUI/database apps where stuff like Visual Studio may prove useful (Have you read `Does Visual Studio rot the mind?') - the scope for software is much wider and Unix tools have proven themselves to be amazingly flexible over a *very* long period of time.

Thinking of programming independently of any OS is a fundamental skill - but when you have a good platform which supports your creativity (a platform like GNU/Linux), it does make sense to understand it well and do things in its `style'.

Please read the book I had mentioned and let me know your views.



Anonymous

December 1 2005, 10:00:55 UTC 6 years ago

This is not Linux V/s Windows war. Never. I love linux and primarily use Linux for any thing that I do. Only time I use windows is to play games during my free time which I never get these days and for using Microsoft Project Plan, a terrific software to plany my projects, schedules, resources, effort, cost etc . For the same, I have not been able to find a software to plan my projects.

May be I conveyed the things in a wrong way. I have immense respect for Windows and its products also.

Regarding the comparisons that you made, I would also like to make some points.

There are IPC's in windows also, but they have been implemented in a different way. You have to use some library. pipes can be implemented.

"Small tools which can be combined with each other too are a good idea."

I agree to what you said. But how often will it be used. There should be some equivalent library, or a way in Windows which will help in getting the desired results.

"Using ASCII text is a good idea."
Yes it is good. But what has it got to do with using the computing power of a machine.

"Using regular expressions is a good idea."
There are regular expressions in Windows also. Idea of regular expressions has nothing to do with an OS. It is pure computer science (which I do not need to tell you).

"Using programs which write programs (LeX/Yacc) is a good idea."
I guess, there will be equivalents for LeX and YaCC in windows too. Something very near is 'antlr'.

The unix shell is an amazing tool. I agree. But the idea of scripting exists in Windows also. It is done in a totally different way.

There are several other things that can be done in Visual Studio. I should have made it much more precise regarding the use of software development using Visual Studio. It is not all about GUI's or Databases. You can have a console application that will interpret commands like 'bash'. You can develop device drivers with support from other development kits. You can take the image of RAM, as seen by different processes (all without any restriction) by simply writing 100 lines of code in VC++. You can have a platform for any hardware ready for existing devices in a matter of 20 minutes without having to run through the pains of customizing the whole OS for just one purpose. (I am talking of Platform Builder for WinCE).

Unix may be a philosophy to use computer intelligently for solving problems. But windows is an OS for the intelligent to solve problems using a computer.

Unix/Linux supports your creativity. In that case, Windows requires intelligence to support your creativity. That intelligence is available also.

Again I repeat, things that can be done in Unix can also be done in Windows. The difference is the way in which it can be done.

Again Windows is not all about GUI/Databases. and it is not all crap. It is still one of the best OS that can be used for any purpose (ofcourse in a different way).

As a software engineer, i sometimes wonder, why can't the people working for FOSS, stop companies in using free software, who use free software for creating proprietary software with copyrights. Now don't ask me to learn GPL documentation. :-)

Finally, I already have a copy of the book 'Art of Unix Programming'.

--
I too love linux

Anonymous

November 21 2006, 07:34:57 UTC 5 years ago

Pramod,

I dont see your point.

Regular Expressions came into existence much before computer science ever did. How do u credit the power of regular expressions to Linux?

Lex and Yacc.. regular expression parser generators and compiler compilers are independent of Linux.

Okay, I guess ur point is that, "if something was implemented first in an OS, then the OS gets the credit for the merit of that thing"..

okay. so windows get the credit for the idea of a GUI, the idea of spreadsheets, the idea of presentations, the idea of an IDE and what not.

pramod, you cant ever say windows is crap. if u would say that, back it up with proper arguments..

Deepak
http://deepakp7.googlepages.com/

[info]pramode_ce

November 21 2006, 18:35:48 UTC 5 years ago

GUI = SRI, Engelbart, Xerox PARC
Spreadsheet = VisiCalc = Apple II
PowerPoint 1.0 = Forethought = Apple Mac

[info]shuveb

November 28 2005, 10:49:41 UTC 6 years ago

SGI

SGI Machines are pretty interesting indeed. I had an SGI Indy shipped from the US to learn more about the wonderful MIPS procesor!

And keep posting on what you are able to do with the Linksys!!

[info]pramode_ce

November 28 2005, 17:26:00 UTC 6 years ago

Re: SGI

You got an Indy with you? real cool!!

The Linksys box also has a MIPS CPU; I hope to spend some time with it in the coming days ...

[info]shuveb

December 3 2005, 03:49:54 UTC 6 years ago

Re: SGI

Yeah,
Its got a 133 Mhz R4600 processor with 64MB RAM. I have been trying to learn MIPS assembly, but time has not been kind.... I have been _very_ busy.

Hope to get on top of it real soon :)

Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…