Tips and Tricks: Learn GNU/Linux in One Stanza

July 6th, 2002 by Frederick Noronha in

One project in India aims to use randomly generated signature line messages for something useful.
Your rating: None

LOST, short for Linux One Stanza Tip, is a project that tries to make it easier for newbies and techies alike to find their way the maze of secrets that sometimes seem to surround GNU/Linux.

The project started in July 2001 on the Linux-India-Help mailing list, which was set up on the Linux-India network by volunteers within India and abroad. The goal of the network is to promote free software and, specifically, GNU/Linux in that part of South Asia.

One of the threads on the help mailing list centered on the repetition and hand-holding that occurred with new users. Inspired to come up with another way of dealing with frequently asked questions and ensuring a faster learning curve, a team of Indian geeks pooled their resources. To start, the team consisted of Suresh "SRS" Ramasubramanian, Rajesh Fowkar, Sriram Karra and USM Bish.

Suresh Ramasubramanian, one member of the geek team, explains:

It started when USM Bish (one of the key persons) had this great idea. FAQs are asked and repeated so many times. Many people didn't bother to use Google or go to web-page FAQs. They expected answers by e-mail.

Their solution was to include short tips and tricks into the signature lines of their e-mail correspondence. At first, the team wrote HOWTOs and FAQs as well as copied their e-mails to each other, all of which was made available in August 2001 on a HOWTO mailing list offshoot of the Linux-India-Help mailing list. The next step was to make these files available via a web server, so others could be pointed to a common resource.

As time went, however, the team found that readership of e-mail signature tips was about 80%, much higher than any of the other information available on the server. So, more attention was paid to developing these short, info-containing signatures to disseminate Linux-related knowledge. "In education parlance, this is called passive dissemination of information", says Bish.

For some background, since 1997 prominent mainstream Indian computer magazines, like PC-Quest, have pushed GNU/Linux forward by circulating tens of thousands of copies of GNU/Linux CDs. In addition, more magazines, including DeveloperIQ and Digit, have begun to circulate GNU/Linux CD-ROMs.

Now, with the development of LOST, the circle seems to be nearing completion: early adopters of GNU/Linux are passing on skills to new users. Bish says he probably was among the first users of GNU/Linux in India (he started in 1995) and has collected quite a few hints and tips himself over the years.

Bish recalls:

It was a matter of putting a few samples out there for perusal, then some brain-storming on the HOWTOs and, finally, getting the right catch-word, LOST. It also took a bit more effort to get the format together. Then we were on the road. By the time LOST was put up for the first time in September 2001, about a dozen folk were [working on the] HOWTOs.

The first LOST tips were put up on Bish's home page, along with the other documents that he wrote, like the HDI (How Do I) series. The first few also were posted on the Linux-India Help mailing list. They quickly caught the attention of people on the list, and contributions started coming in. "We did not publicize on other lists because there was much more work to be done before we actually could call it a project to be proud of", says Bish.

Although the tips were ready, the implementation of a randomized signature-tip generator was a different ball game altogether. It was possible to use random signature-generating software like Fortune or randsig for LOST signatures, but the team felt the need to develop something so that signature placement would be by choice--either a LOST tip or some other signature.

Bish started writing the script rotator and then developed the gen-sig program. These are Bash-only scripts but did the job well. In fact, fans of the rotator script argue that it is one of the most versatile signature-rotation programs on the Net. It is designed for signatures from multiple signature sets, PGP/GPG and reserved-signature placement. It also allows for signatures from databases like LOST that could be fixed or left random.

Other scripts were needed as well. In particular, a script was needed for the manipulation of LOST snippets to other formats. To handle this, other geek team member, Binand, wrote a script called lgrep, which searches for LOSTs by keywords. In addition, Sriram has been writing an elisp script for interfacing with Emacs, and team member Sayamindu wrote a PHP script to place random LOSTs on web pages, which is working on his home page.

It was at this stage, between October and November 2001, that LOST started taking the shape of a full-fledged project. By December 2001, it had been accepted by SourceForge. On New Year's Day 2002, Bish put up the first tarball on lost.sourceforge.net, and by January 15, 2002, an announcement was made on Linux-India-Help. By then, the number of signature-line HOWTO snippets had swelled to 250 from the original 50 first put up in September 2001.

Currently, LOST tips number more than 300, and the nine scripts that fully execute the project, including the random tip generator, are posted too. Contributions are accepted from anyone, Surseh says.

So what do these tips look like? As an examples, here is one tip that came from Rahul Torvi:

####[ Linux One Stanza Tip (LOST) ]###########################
Sub : Command line shortcuts (clear)                 LOST #310
Tired of typing in "clear" every time you want the screen to
be cleared ? Press [Ctrl-L] ... This works for  most shells,
(except for ash, bsh and ksh)
####<rtorvi@vsnl.net>#########################################

Most of the participation in LOST currently comes from India, and those pushing the list forward are regulars from Linux-India-Help: "People like Bish, Rajesh Fowkar, Binand Raj, Dileep Kumar (MDK), etc.; I haven't contributed more than two or three LOSTs--I just host the mailing list for LOST", says Suresh. He gives full credit to "Bish's fertile brain" for originating the idea. Like many other free software GNU/Linux projects, it grew by word-of-mouth.

Goa-based Rajesh Fowkar disagrees, "Suresh's contributions are next best only to Bish's." As with many volunteer-driven projects evolving in the GNU/Linux spirit, the fight is not so much to gain credit at the individual level, but to spread the benefits around generously and appreciate one another's contributions.

Suresh suggests that a project like this has far greater potential than currently realized. His strategy: expand LOST as far as possible in India, then submit it to Freshmeat so that more people can look at it and participate.

Though only a few months old, members already recollect memorable posts. Many recall the time when some fine soul found a LOST signature about an on-board modem on a mailing list and posted to the list in Spanish. Luckily his error messages were in English, and some of the volunteers actually were able to help him from distant India.

Frederick Noronha is a freelance journalist in Goa, India.

__________________________


Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer

Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anonymous's picture

Re: Tips and Tricks: Learn GNU/Linux in One Stanza

On July 9th, 2002 Anonymous says:

Nice idea, but a quick review of about 10 tips shows them all to be too amateurish for me. A nice idea would be to divide them into categories such as: "beginner,intermediate,advanced,kung-fu-master, k&r"

Anonymous's picture

Re: Tips and Tricks: Learn GNU/Linux in One Stanza

On July 22nd, 2002 Anonymous says:

"k&r"?

shouldn't that be "Linus" :))

Anonymous's picture

Re: Tips and Tricks: Learn GNU/Linux in One Stanza

On July 10th, 2002 Anonymous says:

I think that a better way is to put related tips together, such

as the ctl-L tip to clear the screen and the use of ``reset'' when

the screen is garbage.

Anonymous's picture

Re: Tips and Tricks: Learn GNU/Linux in One Stanza

On July 9th, 2002 Anonymous says:

Thank guys,

I was sick of typing clear and was alway setting an alias that was lost whem I logged out.

Your 1st tip was great I look forward to more.

Hello from OZ

Shane

Anonymous's picture

Re: Tips and Tricks: Learn GNU/Linux in One Stanza

On July 13th, 2002 Anonymous says:

you COULD put the alias in your login or rc files

Post new comment

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Newsletter

Each week Linux Journal editors will tell you what's hot in the world of Linux. You will receive late breaking news, technical tips and tricks, and links to in-depth stories featured on www.linuxjournal.com.
Sign up for our Email Newsletter

Tech Tip Videos

From the Magazine

July 2009, #183

News Flash: Linux Kernel 3.0 to include an on-the-go Expresso machine interface! Ok, maybe not, but Linux is definitely going mobile, from phones to e-readers. Find out more inside about Android, the Kindle 2, the Western Digital MyBook II, The Bug, and Indamixx (a portable recording studio). And if you've gone mobile and you been wanting more Emacs in your life then check out Conkeror.


To compliment the mobile we've got the stationary: parsing command line options with getopt, checking your Ruby code with metric_fu, and building a secure Squid proxy. How is this stationary you ask? What can we say? It's not. We just wanted to see if anybody actually read this part of the page :) .


All this and more, and all you have to do is get your hot sweaty hands on the latest copy of Linux Journal.





Read this issue