You are on page 1of 70

NEWS

Newsdesk


Debian Alliance is formed ■ Chinese schools go for the Linux burn ■ Desktop icon project launches
Open Document format boosted in Boston ■ Virtual worlds from Russia ■ Clothes store picks Linux

Debian gets extra oomph


Founder Ian Murdock forms new alliance to pull Debian-based distros together and crack down on release delays

A collective of concerned Ian Murdock, who launched the


MEMBERS OF THE ALLIANCE Linux vendors has founded Debian project in 1993 and is now the
Despite the lack of Ubuntu, the DCC has attracted some big names the Debian Common Core leader of the DCC, said that Debian
Alliance to manage the release of will improve its penetration of the
future Debian-based distributions. commercial world by aligning around a
The Debian Project was criticised common core.
for the tardy and haphazard release of “I’ve talked to a huge number of
Mepis was founded in 2003 with
Credativ has offices in the UK, Debian 3.1 (Sarge) earlier this year, companies over the years that tell me
the intention of creating a distro
that’s easy to use and install. The Germany and Austria and and there have been claims that their customers ask about Debian, but
product line encompasses provides open source consulting coders are spending too much time that they don’t know how to respond
everything from SimplyMepis, a and support services to both the
public and private sector. porting obscure packages to even because they can’t figure out how to
slimmed-down version more obscure architectures when support it,” he said. “The DCC finally
distribution, to the full product
for home and business users. they should be concentrating on the gives them a way to do that.”
Progeny is the company started major platforms. Each vendor will take the core and
by Ian Murdock (the ‘ian’ in The goal of the alliance is to build add its own elements, depending on
Sun Wah Linux has just become Debian) to provide custom Linux the Debian common core (DCC), a what market sector it is targeting.
one of the largest distributors of solutions to businesses. Murdock base distro that would then be used Xandros, for example, which sells a
Linux in China thanks to a is also the leader of the Debian
by vendors including Linspire, Mepis, desktop-centric product, will add its
landmark deal with the Jiangsu Core Consortium.
Xandros and others as the heart of own KDE setup and other resources
Provincial Department of
Education to provide over their distributions. such as CodeWeavers’ CrossOver
140,000 Linux desktops. The group will also be involved in Office Professional. Linspire, meanwhile,
marketing and distribution, and will will take the core and add its
GnuLinEx is run by the regional work towards establishing a proprietary Click-N-Run technology for
government of Extremadura in predictable release cycle and home desktop users.
Spain. It has almost 90,000 complete compliance with the Linux The alliance’s members hope that
networked desktops serving
Standard Base (LSB) specification. LSB this method of development will
Knoppix is the pioneering Live 200,000 citizens.
CD distribution created by Klaus is seen as vital to the future of free improve interoperability and reduce
Knopper. Future versions of software, as it ensures a degree of the duplication of effort. Members are
Knoppix will use the Debian core The brainchild of Bruce Perens,
system, which means the UserLinux was set up to provide
software will also form the basis
of the many Knoppix clones.
a high-quality Linux system that
could be used as a base distro
“THE FIRST DISTRO TO
for other companies, thus easing
the process of software
TAKE ADVANTAGE OF THE
Linspire, formally Lindows, is a
development and certification.
CORE WAS MEPIS.”
commercial Linux distribution
aimed primarily at desktop compatibility among disparate Linux also expected to contribute back to
users. One of its defining Xandros rose from the ashes of
versions and makes it easier to port the core product.
technologies is Click-N-Run, Corel Linux, and offers home and
which augments Debian’s APT business desktop solutions. It applications from one distro to another. The core will give user access to
package management system to has a close relationship with Founder members of the alliance the usual Debian repositories, and is
improve the user experience in vendors such as CodeWeavers include Knoppix, Linspire, Credativ, also expected to have a high degree
areas such as application which supply Windows GnuLinEx, Mepis, Progeny, Sun Wah, of compatibility with Red Hat’s RPM
installation and security updates. compatibility options.
UserLinux and Xandros. package management system.

6 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.news 6 25/10/05 7:42:49 am


NEWS

Linux desktop
gets Tango-ed
Move to have common icons across open source software
Steven Garrity of the Mozilla Identity
team and Novell’s Jakub Steiner have
announced an ambitious new project
to spruce up the Linux desktop and
Nanjing, capital of Jiangsu province move towards a more unified look
for Gnome, KDE and applications
such as the Firefox browser.

Jiangsu user The Tango project will bring


together coders and artists to create
a common icon library, complete
with a style guide and a standard
Thousands of Chinese children to learn with Linux at school naming specification, and has so far
attracted the attentions of Nat
The government of Jiangsu fight against Microsoft’s monopoly in Friedman from Ximian/Novell,
province in China is China,” said Alex Banh, CEO of Sun usability expert Anna Dirks and Trea
undertaking a massive Wah Linux. In common with previous McCombs, the founder of desktop
deployment of Linux. The deal, which governmental contracts in other theme source www.themes.org. The Tango website includes
encompasses both hardware and countries, the decision-makers in Unusually, the icon themes and advice and guidelines for icon
designers to encourage
software, is worth RMB 346 million Jiangsu opted to support local colour schemes will be licenced
consistency and clarity.
(£24 million) is being led by Sun Wah hardware vendors. Dell and IBM were under a Creative Commons licence
Linux, a supplier of Linux systems to both in contention for contracts but rather than the more usual GPL. also port existing sets to the new
business. With the support of six lost out to Chinese firms. There is a general call for icon naming scheme.
hardware vendors, Sun Wah will In addition to software and technical contributors to design new icons and http://tango-project.org
provide 141,624 machines for use in support for the migration, Sun Wah
schools in the Jiangsu province of Linux will also provide training for staff
eastern China. to manage the changes. The company solution that could be exported to the connected to the internet by 2010. As
“This project marks the cooperative said in a statement that it hoped this rest of the country. one of the most industrialised
effort of Sun Wah Linux and the project would enable the creation of a The Chinese government intends to provinces, Jiangsu (pop. 65 million) is
Jiangsu government’s use of Linux to complete open source education have 90% of Chinese schools at the forefront of this drive.

of its lightweight MepisLite OS at the to an initiative that I believe will that’s largely because Debian seemed
end of the month. Warren Woodford, ultimately fail,” he wrote on the Ubuntu to be faltering for a little while. But
the founder and president of the wiki (https://wiki.ubuntu.com/ now that Sarge is out there, the real
Mepis project, said the eventual aim MarkShuttleworth). “There’s no point momentum is behind Debian.”
was to build Mepis releases with only here in going into the reasons why I
DCC-compliant kernels. The MepisLite think the DCC will fail – time will tell. I
release was built on the first beta would encourage members of the
version of the DCC software and, as Ubuntu community to participate in
such, was initially only available on the the DCC discussions if they have time
x86 platform. and are interested. If the DCC
Test versions for other architectures produces good code, we should
are expected in the very near future. merge that into Ubuntu releases, and
Murdock said he expects the final it should be easy to do so.”
release to be fully compliant with the Ubuntu is the rising star of the
LSB 3.0 specification. Debian world, but has been growing
increasingly independent from its
Wot no Ubuntu? parent distro. Back in July this year,
But the DCC has one very notable when the alliance was still being
Ian Murdock was dismayed by the absence: Ubuntu. Project leader Mark planned, Murdock told ZDnet.com that
late arrival of Debian Sarge. Shuttleworth has said that though the he thought Ubuntu was making a
aims of the project are “loft and massive mistake. “Debian is
The first DCC-compliant code was laudable” it will slow down the increasingly just another upstream
released in September, and the first project’s ability to add features and source for them. Personally, I think this
distribution to take advantage of it was polish and will be expensive. “I’m not is a huge mistake on their part. Sure, Alliance rebel: Mark Shuttleworth
Mepis, which released a test version prepared to devote scarce resources they have lots of momentum, but is keeping Ubuntu out of the DCC.

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 7

LXF74.news 7 25/10/05 7:42:54 am


NEWS

Michael
Meeks
Michael works for Novell
full-time on developing
OpenOffice.org, and
dislikes herring
Mass communication
US state makes landmark ruling against closed source in the public sector
COMMENT
The state of Massachusetts native MS Office files – but would be stung with licence fees in the

Koper has mandated that


government departments
should only use software capable of
adopt the PDF format instead.
Brian Jones, a program manager
for MS Office, wrote in his blog (http://
future – an idea that Sun moved to
quash immediately. Sun’s chief open
source officer Simon Phipps sent a

cabana opening and exporting documents in


non-proprietary formats such as the
Open Document format (supported by
OpenOffice.org, KOffice and AbiWord)
blogs.msdn.com/brian_jones/archiv
e/2005/08/31/458879.aspx) that
“moving to document formats that are
open, documented, and royalty-free is
note to the OASIS consortium, the
group behind the adoption of Open
Document, saying that “unless you’re
intending to sue Sun in connection
The OpenOffice.org and PDF. The change in the law, due actually really valuable” but he was with ODF, you can use the format with
conference in Slovenia, to be enacted at the start of 2007, stunned that the Massachusetts confidence and ignore the FUD.”
held in September on the eve of may lead to the complete removal of decision had been made without The adoption of Open Document
the 2.0 release, was great. Held Microsoft Office from the public sector officials evaluating the ‘open’ Office12 means that companies and
in the beautiful ancient port in the state. XML schema – which features a organisations that deal with the state
town of Koper, tucked under the Peter Quinn, the information licence exclusion forbidding its use government will also have to work
mountains on the Adriatic, it was officer charged with implementing the with GPL software. within the confines of the format. A
well organised and there were change, said the state wasn’t Previously Jones had suggested new OpenDocument Fellowship has
also some pretty interesting attempting to railroad users into that, because Sun owned intellectual been launched to capitalise on the
ideas kicked around. adopting one solution over another, property relating to the Open decision in Massachusetts and
One of the most curious but that legislators were trying to Document format (ODF), users could encourage the adoption of the format
things was the enthusiasm for ensure that users would never be in all areas of business.
the Open Document format as denied access to their own
an end in itself. It seemed that data. “All documents we save
politicians and business people must be accessible to
alike could grasp the everybody, without having to
open standard formats argument, use ‘closed’ software to open
and would roll off endless them now and in the future.”
platitudes about competition He told Desktoplinux.com,
and reducing the digital divide. “The world is about open
Unfortunately, this all tended to standards and open source. I
obscure the far more important can’t understand why
but perhaps less tangible free anybody would want to
software message. The most continue making closed-
interesting thing for Novell about format documents anymore”
OpenOffice.org is that it gives you Despite being part of the
the crucial freedoms we value so consortium that devised the
much: to run, study, redistribute standard, Microsoft said it
and improve free software. It’s a has no plans to add support
shame that others don’t see the for the Open Document
advantages that this would bring. format to its next
That aside, some exciting generation of Office
prototypes were unveiled: the products – a move that would Massachussetts State House in Boston, where the vote was taken to adopt
XUL/UI work that may one day allow OpenOffice.org to access non-proprietary document formats in government offices.
allow both the UI and the dialog
logic to be separated into user-
tweakable XML/JavaScript (via COMING ATTRACTIONS...
the UNO/XPCOM bridge). It was
★ Open Source Developers’ ★ ApacheCon, December 10–14, ★ Open Source World Conference,
also wonderful to have Intel’s
Conference 2005, December 5–7, San Diego, USA February 15–17, Málaga, Spain
involvement announced, and to Melbourne, Australia This year’s ApacheCon US will feature a We’re looking a bit far ahead here so we
see the fruit of its performance A list of papers being presented at the keynote address from author Cory don’t have too many details, but the
work. Novell was pleasingly well Open Source Developers’ Conference Doctorow. Other areas of discussion three-day long Open Source World
represented, leading release has been published. Highlights include a include the use of Apache in various Conference is being organised in
engineering, Cairo, 64-bit and look at the newly released MySQL 5 with industries and the integration of conjunction with the regional
performance work. Finally, it was Stewart Smith, a session on Python technologies such as Perl and Python. governments of Extremadura and
great to see Google starting to game development and a discussion on http://apachecon.com Andalusia and has set itself the goal of
get involved in OOo development. the ‘release early, release often’ ethos demonstrating the capabilities of Linux
and its implications for open source and other open source technologies in
The growing base of substantial
development. An early Christmas treat daily life.
full-time corporate backing
for the community. www.opensourceworldconference.
outside Sun/Novell is an www.osdc.com.au com/conferencia_en.html
encouraging trend.

8 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.news 8 25/10/05 7:42:57 am


NEWS

SCO v IBM: Is the ■ Sun Microsystems and Google


have joined forces to increase the
uptake of Java and Google Desktop

end in sight?
Search respectively, but have denied
persistent rumours that Google
will offer its own hosted version of
StarOffice over the web. Sun CEO
Scott McNealy and Google’s
Eric Schmidt hosted a joint news
conference to announce the
partnership, which will see Google’s
toolbar piggybacked on to downloads
IBM drops patent infringement claims in hope of speeding up court case of Sun’s Java Virtual Machine (JVM).

Executives for IBM have eight counterclaims outstanding from a licensing arrangement… SCO’s ■ Just to keep the speculation
bubbling, there are a number of
opted to drop patent including a breach of contract and sales have been careening wildly interesting looking projects built on
infringement allegations violation of the GNU General downward, so IBM has offered to drop Ajax (Asynchronous JavaScript and
against SCO in a bid to speed up the Public License. the counterclaims in order to speed XML) that promise to pull traditional
desktop applications into the web
protracted SCO vs IBM case. In August Pamela Jones, creator and editor of things along.” browser. There is Zimbra (www.
2003, IBM launched a counter suit the Groklaw website (www.groklaw. In another development that may zimbra.com) for email, Writely
(www.writely.com) for word
against SCO – which had accused net), said that it makes sense for IBM speed things along, SCO has been processing, Numsum (www.
IBM of illegally contributing Unix code to drop the patent claims as it is denied another extensive round of numsum.com) for spreadsheet
to Linux – alleging that four SCO unlikely SCO would have the cash to what’s called discovery. SCO claims work and Webnote (www.aypwip.
org/webnote) for note taking. All
products infringed patents. IBM asked pay any penalties should it be found to that it needs ‘discovery’ time to of these might make a tantalising
that SCO be prevented from be guilty once the case was concluded. prepare its case and discover the acquisition for a web services
distributing the products until the case “IBM can save more money by bringing extent of its adversary’s alleged company looking for ways of utilising
all their spare server capacity.
was settled. this farce to an end quickly than it can wrongdoings. Critics say that it’s simply
The case is now set for a February possibly get from SCO in damages a process by which SCO is stalling the
2007 court date, and IBM still has from those counterclaims or royalties legal proceedings.

Matalan rings up
till savings
■ RealNetworks has fixed a flaw in
the Linux edition of its RealPlayer
10 audio and video player. The bug,
which also affected the open source
Helixplayer, allowed an intruder
to execute commands on a host
system. Users are being urged to
upgrade their software to 10.0.6.
Faster, cheaper, more secure tills for the nationwide
■ As expected, SUSE used the
clothing retailer, courtesy of open source LinuxWorld Conference and Expo in
London to launch the boxed edition of
Matalan, the UK bargain SUSE 10.0, the first of its distributions
to benefit from ‘community exposure’
clothes retailer, has migrated via the OpenSUSE project (the OSS
its entire electronic point of version is on our DVD this month).
Spokesman Matt Asay said that
sale (EPOS) system – that’s ‘tills’, to the company would be announcing
you and I – to run on Linux partnerships in the future that should
after a trial by technology see the return of SUSE to the shelves
of PC World and even Dixons.
consultant Capgemini. A
solution based on IBM’s Retail ■ The movie version of Microsoft’s
Environment for SUSE Linux top selling game Halo will be made
with a healthy dose of open source
was tested against a Java software. The movie will be executive
application running on produced by Peter Jackson and his
partner Fran Walsh, and the special
Windows XPe (the
effects will be created and rendered
embedded version of XP) on the 1000 dual-processor blade
for two months. In addition system installed by IBM in Jackson’s
WETA Digital facility in New Zealand.
to cash savings, Capgemini’s
study found that the Linux ■ Schoolchildren the Italian region of
system was more efficient on Bolzano returned to their classroom
after the summer break to find their
the limited hardware available, computers upgraded and running a
was more flexible in terms of combination of Debian and Gnome.
software management, and was less Over 16,000 have been migrated.
Matalan chose an IBM/SUSE solution for
of a target for malicious crackers. its cash register system.

10 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.news Sec1:10 25/10/05 7:43:01 am


NEWS

Russian engine Richard


Cobbett
Florentine telescope

drives to new worlds


builder, physics pioneer
■ The Chinese government has and church worrier. Or
redefined its definition of news to was that Galileo?
encompass blogs, so that these sites
will now come under the watchful
eye of the government’s web filtering COMMENT
Eugene Onegin: the game! Actually, it’s a 3D renderer...

Boring =
system known as the Great Firewall
of China. Saudi Arabia has also
blocked access to LiveJournal, Flickr Raising pulses through the Project coordinator Denis Shergin
and Blogger accounts.
gaming world, Unigine is a told LXF that the application had
■ Microsoft’s attempt to enforce its
patent on FAT (file allocation table)
technology has been rejected by the
US Patent and Trademarks Office.
If granted, the patent would have
new cross-platform 3D
application aimed at games
developers and virtual reality
grown out of an open source project,
and that Linux support has been a
goal since the project was launched.
researchers. Despite being in an early “Unigine always was a cross-platform
useful
had significant implications for Linux
vendors and the interoperability
stage of development, the engine has (Win32/Linux) engine,” he said. “We There’s an old joke – if
of the two operating systems. The a polished look, and has been use Slackware Linux as a main Microsoft made cars,
company may appeal the decision. developed to play to the strengths of development OS, and many people in they’d crash twice a day. Ripping
■ Nessus, once marketed as an programmers raised on C/C++ and our team are involved in open source satire, and no mistake. But why
‘open source vulnerability scanner’ artists familiar with Maya or 3D Studio. projects. We really like the Linux does nobody ever make the
has announced a change of licence Version 0.33 features modelling environment for its transparency and same gags about Google? If
for the third release of the application.
Developer Renaud Deraison says and rendering tools, including a full flexibility.” One of the company’s aims. you’re talking unfinished, lazy
Nessus 3.0 will continue to be offered skeletal animation module and a Shergin added, is to attract attention to software, it’s hard to think of a
free of charge, but would no longer
selection of pre-made shaders. Users Linux as a desktop OS. more appropriate company to
be available under the GPL.
can also extend the applications The application started life as take shots at. So forgive me, but
■ Autodesk, the developer of 3D facilities through the GLShell (GLSH) Frustum (www.frustum.org), an here’s a gag of my own: if
Studio Max, has agreed to acquire
Alias, the company responsible for
scripting language, which the company open source 3D environment designer Google made cars, you’d get the
industry-standard 3D application claims offers enormous speed created by Alexander Zaprgayev in engine, the dashboard, and the
Maya. Don’t expect the name Alias advantages over Perl, Python and LUA. Tomsk, Russia. Zaprgayev is now the fun pink fuzzy dice – while all
to last much longer.
The biggest addition to this version lead developer at Unigine. the boring bits like
of the software, however, is a Pre- Shergin said that Unigine was speedometers, petrol tanks and
computed Radiance Transfer (PRT) conceived as a commercial application, the windscreen get put on hold
system – also known as spherical but that the company would not for the foreseeable future.
harmonic lighting. This helps to create neglect the open source community. Just take Gmail. 2GB of
realistic light schemes in real time, and “Open source is great fun, but without storage? Thanks! Draft saving?
is a real step forward for academics investor support it’s really hard to Thanks! Labelling system and
and games developers. In essence, the create a complete, high quality address forging and all the
developer can move global light solution for this market.” other interesting stuff? Muchas
sources – a sun for example – in real Demos of Unigine are available from gracias, amigos!
time with no performance hit. PRT was the company’s website (http:// It’s just a bit of a shame that
recently used in Halo 2. unigine.com). nobody seems interested
enough to make the contacts
feature not royally suck, or to
make deleting mail that you no
■ Firefox has a new offshoot. The longer want any less painful than
Firemonger project attempts to
bring the benefits of Firefox and
hammering a whole watermelon
Thunderbird to the sceptic by allowing into your own eye.
users to access both applications Fun coding is all very well,
and a range of plugins directly from a
CD without having to install anything and Google gets the excitement
on to the hard disk. The project lives of an idea better than almost
at www.firemonger.org. anyone – but in long term use,
The engine features real time It seems standard practice to use it’s hard to fight the same
■ The FTLinux course, a primer on
physics modelling. non-standard GUIs in these types
the deployment and use of Linux annoyed feelings provoked by so
that was first published in 1998, has of applications.
many open-source programs:
been released for free at www.
FTLinuxCourse.com. The course that sometimes you need
covers installation, programming, someone to sit down and do the
web development and system
administration. bits that aren’t so much fun,
and that most people probably
■ A number of Novell, SUSE and won’t notice.
OpenSUSE websites have been
hacked and defaced by a group Still, at least they’re all free,
calling itself IHS (Iran Hackers and it’s not as if we’d ever be
Sabotage). The defacement included totally happy. At least, not until
the assertion that it was Iran’s right to
develop nuclear weapons. Google Maps can zoom in close
There is a full complement of enough to show you sitting at
The PRT system makes rendering
modelling options in the of real-time images less your computer, using
application. processor-intensive. Google Maps.

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 11

LXF74.news Sec2:11 25/10/05 7:43:04 am


NEWS

Linspire sets course


David
Cartwright
David Cartwright is an IT
consultant who specialises
in providing Linux Systems

for the enterprise


and solutions.

COMMENT

The joy of First schools, now businesses get a taste of Click-N-Run

storage Linspire is turning its


attentions to the burgeoning
enterprise desktop market,
by converting its Click-N-Run software
Linspire has also announced a
partnership deal with the world’s
largest technology distributor, Ingram
Micros, to sell the complete line of
in places it had never been sold
before. “We’re now able to get
Linspire to more channel partners
whose customers are demanding
I’ve just found out about system into a fully fledged remote Linspire products through its network affordable, virus-free computing
a cool new technology. management tool. Linspire of US resellers. Carmony said this deal options,” he said. LXF
Not only that, but the only Professional will be based on the would see Linux hitting the shelves
company that’s produced a current Linspire Five-O desktop, but
commercial product using it would feature a bespoke Click-N-Run
(www.coraid.com/products. server for managing identities and
htm) has made it compatible software across a network.
with Linux and various Unixes – New CEO Kevin Carmony says the
but not Windows (yet). What joy. company has been inspired by the
This technology is called ATA success of Indiana’s Access program,
over Ethernet, or AoE. Why am I which is furnishing schools in the state
so excited? Simple: it extends with 400,000 Linux desktops (see
the concept of low-cost, high- Open Source Systems Trialled In
functionality operating system Schools, News, LXF72). He told
software that we’re used to with Computer Business Review that 90%
Linux into the storage hardware of schools in the initiative had chosen
market. Traditionally, when Linspire over offerings from Novell.
you’ve wanted to bolt a big And the company hopes that the beta
storage array to a server, the test of Linspire Professional will prove
cost savings of going with Linux that it can do the behind the scenes
are largely negated by having to jobs, too: “I think this is really going to
shell out on expensive hardware. give Red Hat and Novell a wake-up
AoE, on the other hand, is call that we can do desktop
just Ethernet – so you can make management,” said Carmony. Linspire is shaping Click-N-Run as a remote management application.
yourself a basic SAN (Storage
Area Network) with a ten quid
Ethernet switch from PC World.
OK, you can’t route packets to
off-site secondary storage, but
EMBEDDED LINUX NEWS
nine out of ten of us don’t want
to anyway. And because it’s not ● Despite the recent ructions in its core capable of scaling from handhelds to forward with the launch of a prototype
business, Palm is rumoured to be preparing network infrastructure. Industry device (pictured here). Negroponte, who is
IP (it simply places ATA packets
a new range of Linux-based ‘feature commentator Chris Lanfear said that Wind a professor at MIT’s Media Lab, has won
into Ethernet frames on the
phones’ before the end of the year. After River was responding to the demands of the the support of Google, AMD, News Corp
LAN), it can’t be hacked into.
launching the Windows-based Treo device market and the growth of Linux in the and others to provide devices to countries
Just when I thought we’d embedded space. “While this trend is
earlier this year, Palm CEO Ed Colligan said such as Brazil, Egypt, China and South
stopped coming up with new he saw no need for the company to adopt driving explosive growth of device software, Africa. The governor of Massachusetts, Mitt
ideas (networking’s a pretty any other OS. However, Palm’s for Linux customers, it is exposing a plethora Romney, has also committed to providing
innovation-free world these days employment opportunities website has had of new challenges such as unsupported, the machines to every school pupil in the
now that Ethernet’s reached vacancies for Linux engineers over recent forked distributions that are nearly state. Negroponte expects to ship 100
gigabit speed) some bright spark months, and it is also listed as a impossible and extremely costly million of the wind-up computers every
proved me wrong by inventing customer of embedded Linux provider to maintain long term,” year once production ramps up.
Wind River. he said.
AoE. Open source drivers, a spec
● Nokia has delayed the introduction of its
that’s simple enough to span
● Wind River itself is staking more ● Nicolas Negroponte’s 770 web pad, suggesting that the device
only a few pages and technology
of its future on Linux as it ambition to build a $100 will now be available in early 2006. The
that costs next to nothing to PC for use in developing
launches a new consumer 770 provides roaming web access and
implement. As more vendors electronics version of its countries has taken a step other network functions and will be
start to make compatible kit, Linux software platform. marketed as a consumer electronics
this technology is bound to be a The company is claiming device, but there has been speculation that
winner: if you want big the platform is the industry’s Can this new device bridge the company is unsure of how to present
storage at sensible prices, first ‘commercial grade’ product the digital divide? the product to the mass market.
give it a look.

12 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.news Sec2:12 25/10/05 7:43:08 am


NEWS EXTRA

KDE Community
LINUX FORMAT
EXPOFEST
We go to open source
conferences so you
don’t have to… Here’s

World Summit 2005


our roundup of
three of the year’s
biggest shows.

27 August–4 September, Málaga. Billed as: “The annual conference of KDE developers and contributors.”
LXF man on the ground: George Wright.
Conference survival tip: “Make sure you have a Konqi with you for the boring bits!”
KDE developers and users KDE 4.0 development is well under emphasis on users, showing studies on He was a good speaker, preferring
from around the world way in the development repositories the usability of its software. not to use slides in his presentations
descended on the University and 3.5 should have just been Throughout UserConf the talks (cue a sigh of relief from the
of Málaga’s computer science released when you read this (there’s were scheduled in two parallel streams, audience) but rather to talk directly,
department in early autumn for a a beta version on our coverdiscs), so it was not possible to attend every initially in front of large projected
week of learning, schmoozing and so the KDE world is pretty busy at one – with the exception of the two photographs from his time in space.
coding. The first two days were set the moment. keynote speeches. The second Shuttleworth argued that the open
aside for talks aimed at users and The summit began with a panel of keynote at UserConf this year was source community is one of great
administrators, and the following two speakers addressing the conference given by possibly the biggest celebrity collaboration, and that individual work
days for developers and contributors. attendees. Much of the introduction in the Linux world at the moment, is no longer a viable option in the
The remainder of the conference was was spoken in Spanish, with a
dubbed the coding marathon – a translator, but the gist of it was that
chance for KDE hackers to come
together and get some serious
the authorities were very pleased that
the KDE project had chosen Málaga “WE ALL WANTED TO GET
development work done.
The overall organiser this year was
for the conference this year. And so
were we.
TO ‘BEAUTY AND MAGIC
Antonio Larossa, one of the core KDE
developers, but in addition to his Support from Novell
FOR KDE DEVELOPERS’.”
commendable efforts, the Linux Immediately afterwards, the users and
Málaga user group put in a good deal developers conference (dubbed Mark Shuttleworth. His talk was modern age. His talk highlighted a big
of time to take the lion’s share of the UserConf) kicked off with an opening entitled ‘Ubuntu and Kubuntu’, which problem he sees in the open source
work. They were exceptionally friendly talk about the Novell Linux Desktop turned out to be a very inaccurate title world – the bug tracking system. For
and a great asset to the conference. operating system. Novell’s support of indeed. Instead, Shuttleworth any one package there are several bug
Though the KDE 3.5 release was KDE was stressed very heavily, as explained that he wasn’t going to databases, he explained, and no
still being worked on, the focus of the anticipated, although some of the discuss his flagship distribution at all, collaboration between the application’s
conference was on the next major default applications have been and decided to talk about maintainer and the distribution. To
release of KDE – version 4.0 – which replaced by non-KDE programs, such collaboration within the open source conclude, he demonstrated a web-
promises many improvements, such as as OpenOffice.org and Mozilla Firefox. community, highlighting issues that he based system in development that
the much-hyped Plasma framework. Pleasingly, Novell placed a lot of felt needed fixing. would allow collaboration between
projects’s databases.
Photo by GaÎl Beaudoin

Despite the presentations,


throughout UserConf many of the KDE
developers spent their time in the
hacking rooms, where they worked on
their own projects or brainstormed
together to get things done. Live video
streams were available of all the talks
courtesy of the Fluendo project, and
the finalised video files are now
published on the KDE fileserver, at
http://ktown.kde.org/
akademy2005.

Eirik sells Qt
After the weekend came the
developers and contributors
conference, this time nicknamed
DevConf. The sole keynote was from a
prominent figure in the KDE world:
Eirik Chambe-Eng, one of the
Akademy 2005 group photo. KDE founder Matthias founders of Trolltech. He gave a
Ettrich is in the first standing row, far right.
keynote speech at last year’s Akademy

14 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.expos 14 24/10/05 12:27:18 pm


NEWS EXTRA

TECHNOLOGY CAUSING A STIR AT THE SUMMIT

ICECREAM EXA
PLASMA

KDE EDUTAINMENT

Zack Rusin, taking a stand against bad software names.

and there were many references to his ranging from multimedia to web windows on the corners of the cube Seigo, the current maintainer of the
previous talk, but as usual a fair development to graphics. and watching scrolling text on them. KDE panel, Kicker. It’s spoken of as
proportion of the presentation was One presentation that we all wanted When the window was dragged the ultimate panel for any desktop
figures from surveys showing how to get to was Zack Rusin’s talk on around it rippled like a flag waving environment, and will include features
popular Qt is with Trolltech’s ‘Beauty and Magic for KDE developers’. around, and Rusin also showed the like those found in SuperKaramba, a
customers. Interestingly, the statistic for Rusin was recently hired by Trolltech windows popping up and down when palette of scripting tools designed to
the customers who were either using to work on Exa (his graphics extension they received focus. True, there isn’t give you complete control over your
open source software or intending to to X.Org), which should give X11 the much practical use for the things he desktop due to be released with KDE
do so rose, suggesting that open sort of graphical capabilities that was demonstrating, but it certainly 3.5. Plasma is still very much in the
source is in a more viable position Apple users have enjoyed with Mac showed off the flexibility and power of planning stages, and its core
commercially this year and gaining OS X. At first his talk had to be Exa. Rusin emphasised heavily that developers have been tied up working
enterprise support. Light relief came postponed because of incompatibilities Exa is a name not an acronym and on Kicker for the 3.5 release, but
from Chambe-Eng showing some between his laptop and the projector. thus does not stand for anything expect it to get much more attention
embarrassing photos of Matthias The day after DevConf, the organisers except “stop making stupid acronyms in the months ahead.
Ettrich, the founder of the KDE project had to set up a video camera on a that don’t make sense”… A lot of the work done during the
and project leader on Qt at Trolltech. projector and filmed the screen coding marathon was aimed at next
instead of going directly from the The coding marathon year’s KDE 4.0 release, and many
For the developers... laptop to the projector. With DevConf over came a five-day people took advantage of the local
DevConf was much busier than Rusin’s presentation itself was coding marathon, where KDE ‘Icecream farm’. Icecream is a
UserConf and had three, not two, impressive – while most of the other contributors came together to rack distributed compiling system,
streams running in parallel in three speakers used OpenOffice.org or PDF, their brains collectively over head- developed by some of the core KDE
rooms. Again, these talks were Rusin wrote his presentation in C++ hurting problems. Several so-called developers, which uses massive
recorded on video by the Fluendo using Qt’s Arthur, the highly bird of a feather (BoF) sessions were parallel computing power on networks
project and uploaded to the KDE file accelerated graphics library introduced organised to discuss various areas of to compile projects. Among its list of
server. The topics varied quite a bit, in Qt 4. The presentation itself was KDE including education, Plasma, features are the ability to make use of
visually engaging, with marketing and all sorts of other things. cross-compilers in multi-architecture
full 2D rendering of The Akademy discussion mailing list networks and the ability to monitor
cogwheels and other was buzzing with activity organising the compiling with nifty graphical
bits of eye candy in the BoFs and some of the newer monitors. Using Icecream, it was
the background. projects, such as the KDE possible to cut the compile time down
After the Edutainment project, received for a KDE module from several hours
presentation, Rusin favourable interest from governmental to a mere 15 minutes.
gave a demonstration conference attendees. The hacking After the coding marathon it was
of Exa’s capabilities rooms were consistently full, with time to say goodbye – to the Linux
and managed to do many KDE hackers making good use Málaga people and to the KDE
all sorts of things of the opportunity to work together in developers who had come from all
never really seen person while they could. over the globe to attend. It was a
before on X11, Perhaps the most talked-about fantastic event, and we’re looking
including rotating proposed feature of KDE is the much- forward to seeing some of the
The hacking rooms gave a chance the screen as if it were a large cube to hyped Plasma project. Plasma is the technology we got a sneak preview of
to work face to face on problems. change virtual desktop, and placing brainchild of KDE developer Aaron unleashed on to the Linux desktop.

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 15

LXF74.expos 15 24/10/05 12:27:23 pm


NEWS EXTRA

Brainshare Europe 2005


12–13 September Barcelona. Billed as: “The industry’s premier technical conference.”
LXF man on the ground: Mike Saunders.
Conference survival tip: “Take a phrasebook and a map. If only someone had told me this...”

Brainshare Europe 2005 was


Novell’s venue for bringing
together users, developers
and partners of its software and
services. The blistering late-summer
heat notwithstanding, Novell selected
an excellent location for the show –
the CCIB (Centre Convencions
Internacional Barcelona) right beside
the Mediterranean. On the lower floor
of the building, developers could relax
on beanbags and make good use of
the free wi-fi internet access, while on
the upper floor the Developer Den
proved to be a popular hangout for
hackers and curious users.
On the first day, Jack Messman
(Novell’s chairman and CEO) moved
swiftly through his opening keynote
speech before heading up a press
conference where he was joined by
David Patrick (general manager of the
Linux and open source group), Ron
Hovsepian (president of global field
Novell’s ‘lab staff’ were always on hand
operations) and other Novell big brass.
and filled much of the show floor.
The keynote and press conference
didn’t thrill the crowd with any major
product announcements – after all, per day and two million hits to the explaining that the city faced obstacles both software and hardware. IBM was
everyone knew about OpenSUSE at homepage, these were promising stats but they’re confident that they’ll make proud to show off its eServer xSeries
that point, and the fanfared new for a project that was still finding its it through. When asked what kind of 366 box, a four-way 3U server, while
releases of Zenworks and GroupWise feet. Novell also noted that, at the desktop organisations are migrating to on the smaller end RIM was present
had arrived a few months before. So time, over 500 bugfixes had been Linux, the panel noted fixed-function highlighting its Blackberry devices and
the announcements were more about contributed by the community – not or locked-down machines along with GroupWise integration. Oracle’s stand
Novell’s successes, along with newly bad considering OpenSUSE had only financial services as some of the most was mostly devoted to its Fusion
struck deals with other software been up and running for a month. You promising market segments. Middleware suite, and other show floor
developers. can see the first fruits of the project’s Other announcements made at attendees included Gwava, Fabasoft
OpenSUSE’s impressive progress labours on this month’s cover DVD. Brainshare included significant desktop and EMC. By far the biggest highlight,
was highlighted in the press OpenSUSE and the then-upcoming wins. SEB Eesti Ühispank, the largest though, was Novell’s own megastand in
conference. With 5,000 downloads SUSE 10.0 release featured heavily on bank in Estonia, had adopted Novell the centre, where white-coated ‘lab’
the main show floor too, with users Linux Desktop on its bank teller personnel tempted passers-by into
keen to get hands-on with the new workstations. In Norway, the fiddling with the latest releases: SUSE,
features and updates. municipality of Baerum was in the Extend, EDirectory, Open Enterprise
process of shifting 40 schools from Server, and more.
Zenlightenment Windows to Novell’s desktop offering. But most importantly, the croissants
An important milestone for Zenworks, Meanwhile, Sage announced that its were yummy.
Novell’s system management suite, was Sage Line 500 v5.5 software would be
announced at the press conference – available on SUSE Linux Enterprise QUICK SUMMARY
over 40 million users and the highest Server 9, joining other ERP (enterprise
■ Good progress for OpenSUSE –
ever revenue for the product in the last resource planning) vendors such as many downloads and increasing
quarter. And although Zenworks 7 had Carmen and Jeeves Information community involvement.
been released before the show, Systems in supporting Linux. These ■ Zenworks going strong – good
Novell’s technical team actively gains, while not jaw-droppingly huge, revenues and four million new users
promoted the suite with reflect a growing interest in the OS in the last two years.
demonstrations and presentations from a wide range of markets. ■ Desktop wins – Estonian bank and
aplenty. Also in the press conference, On the main show floor, Novell’s Norwegian schools.
Novell could get a good deal Novell execs fielded questions on the partners and other companies ■ New support – more ERP vendors
selling these big Ns to Nintendo... getting on board.
Munich Linux adoption slowdown, demonstrated their latest releases,

16 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.expos 16 24/10/05 12:27:37 pm


NEWS EXTRA

LinuxWorld
Conference and Expo
5–6 October, London. Billed as: “The must-attend event for the Linux and open source community.”
LXF man on the ground: Andy Channelle
Conference survival tip: “Take headache tablets and strong mints”.

If there was one thing that which seemed to involve shuttling from
Insert lame pun about
could be said to define this Dover to Olympia an insane number of
racks here.
year’s London version of the times over two days, was paying off, as
LinuxWorld Conference and Expo, it visitors from UK schools had come to
was intent. Exhibitors told us that in the show specifically seeking out
previous years, the show, which is held Karoshi. The software is a network
annually at Olympia in the west of the management system aimed at the
capital, tended to attract visitors with a education sector that, since its
vague interest in the products on offer, inception, has been adopted by several
but there was very little in the way of... schools with cost savings, Jo said, in
well... money. excess of £80,000 for some users
This time things seemed different, (more on page 65).
and it wasn’t just the presence of Elsewhere in the .org pavilion, the
corporate behemoths such as Sun, Gnome team were proudly displaying
their Linux Format award for Best
Desktop Software, and folks from the
Joomla (www.joomla.org) project
were showing the best way of putting
their ‘legal issues’ behind them by
wowing a constant stream of visitors
with Joomla’s CMS prowess. Also JIVE TALKING
present were KDE, UKUUG, Hula, In the conference area, the biggest choice to our customers.”
Debian, Mozilla Europe and many crowd of each day gathered for the Sun’s Phipps said that, rather than
others. Exhibitors and visitors alike Great Linux Debate, in which luminaries attempting to migrate people to Linux
were pleased to see a little more space from the Linux world (and LXF’s Nick right away, the desktop strategy should
devoted to the .org pavilion this year, Veitch) attempt to shoehorn adverts for be built around a gradual migration:
as it demonstrates an understanding products into their answers before moving to Firefox, OOo and others
that this is where the open source OpenForum’s Graham Taylor could stop before convincing the users of the cost-
them. The award for most blatant plug effectiveness of shifting the entire OS.
community (and its best products) are
went to Simon Phipps of Sun, who kept Mark Spencer, the developer of Gaim
conceived and refined.
mentioning some piece of hardware his and the Asterisk open source telecoms
company had just announced. system, reinforced the need for cross-
Ubuntu on the up The questions from the audience were platform development. “In order to
It’s a useful barometer of the relative the traditional mix of the astute, obvious succeed, we need to offer users
LinuxWorld also saw some pretty
success of a distribution (and a and perplexing with many directed at alternative models for picking up great
blinged-up Daleks.
desktop environment) to count the proprietary punchbag Nick McGrath software,” he said.
number of machines running it in the from Microsoft.
Novell and HP – they’ve all been here hall; and by that measurement, McGrath gave some Everyone laughs at
interesting answers in one of Nick’s jokes.
before. This time there was a new Ubuntu is definitely a distro on the rise.
relation to his
breed of visitor: the decision maker. There were more versions of SUSE
company’s need to
These men and women (mostly men) running, mainly because Novell had so
‘understand the open
prowled the hall seeking out innovative many machines, but if you discount
source development
open source technologies, and really vendors running their own software, method’ in order to
took an interest. Staff from Axigen, a Ubuntu seemed the most visible. This better compete and
mail server company, made the trip to translated into a boost for Gnome, interoperate with it.
London from Romania to demonstrate which was also on show in the Red Hat He also got the
their wares, and said that this show and Sun exhibitions. For the first time, biggest laughs of the
had a focus that even the New York or it appears to have caught up with KDE. day when he said,
German events had failed to muster. Usually as we drift away from these responding to a
question about 2006
This idea of ‘potential’ didn’t stop at shows, two or three people are left in
being the year of the
the gates of the .org pavilion, which the hall hoping to blag the last freebie.
desktop, that
was busier than ever. Jo Harris of the But this year, as closing time drew near
“Microsoft is about
Karoshi project (www.karoshi.org. on Thursday, the hum of conversation providing freedom of
uk) said her hectic work schedule, was hardly diminished. LXF

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 17

LXF74.expos 17 24/10/05 12:27:42 pm


REVIEWS Ubuntu 5.10

LINUX DISTRIBUTION

Ubuntu 5.10 ON CD
A compiler upgrade makes this a breezier distro than Hoary. Andy Hudson finds out what else is new.

KEY STUFF
Easy-to-use Debian-based distro.
Also consider Mandriva or OpenSUSE
“The Ubuntu team have
■ DEVELOPER also done amazing work to
The Ubuntu Foundation
■ WEB www.ubuntu.com
get ACPI working on many
■ PRICE Free under GPL branded laptops, making
this one of the best choices
Ubuntu is truly the enigma for Linux on the go.”
of the Linux world. Only
released in October 2004,
you might think it would need time to This is all very well, but Ubuntu’s
build its support base, yet it need for everything to ‘just work’
consistently wins awards and makes us think that Ubuntu is trying
frequently tops the DistroWatch.com to become more like Apple rather
rankings. All these accolades point to than Microsoft. Apple’s philosophy is to
one giant achievement: Mark provide software that people want to
Shuttleworth’s team have taken use rather than tinker with, and it
Debian, one Linux distro that you could be argued that Ubuntu is
The chips are down, and Ubuntu holds all the cards (note the Beagle
could hardly call user-friendly, and search tool running). With usability like this, who needs Mac OS X? mirroring this to a certain degree.
given it a human face. Also interesting is the launch of
Version 5.10 (codenamed the and other not immediately apparent of course roll your own kernel with the Edubuntu distro, which makes
Breezy Badger) is the latest release, features. If you’re familiar with Ubuntu specific optimisation flags. The only heavy use of the Linux Terminal Server
and if previous versions are anything you’ll know it makes a lot of choices thing to watch out for is that Ubuntu Project and is aimed at schools. LTSP
to go by it’s going to be hugely popular. for you about which applications are does not ship with any development support is now built in to Ubuntu as
The Ubuntu Foundation has supplied. As mentioned in our review tools installed as standard, so you’ll standard, and it will be intriguing to
worked hard on Ubuntu’s installation, of Hoary (LXF68) we believe this need to use Synaptic to obtain the see where they go with this. Most
with the text installer now continuing works in Ubuntu’s favour, as it reduces required tools. Unsurprisingly, then, schools and colleges in the UK are
to the second stage of the installation. the feeling of being lost in among all Mono is not installed by default, but Microsoft-only, although some do use
No longer do you have to watch reams the options. there are Ubuntu-specific packages Linux for file and print purposes.
and reams of text information scrolling The applications immediately available through Synaptic. There’s a lot riding on Ubuntu in terms
past at lightning pace: instead there’s a available include OpenOffice.org 2.0 Support for PHP 5 is now included, of bringing new users into open source.
friendly status bar that tells you (1.9.125), Evolution 2.4, Gnome’s although 5.1 is expected to be All in all, this is a very positive
exactly where you are up to in the BitTorrent client, GnomeMeeting, released by the time you read this. For release. Ubuntu gets better and better
setup routine and which packages are Rhythmbox, Totem, Sound Juicer and Bluetooth fans, support for keyboards with each update and it will be exciting
currently being worked on. Serpentine. This last package allows and mice is available out of the box. to see what the effort promised for
Also included is a graphical bootup mastering of audio CDs from a range 6.04 will produce. LXF
screen with status messages of audio codecs including OGG and Know thine enemy
appearing below the word ‘Ubuntu’. It’s MP3. Those of us in the UK will no With the release of Breezy, Mark LINUX FORMAT VERDICT
a little basic, but better than nothing. doubt already be taking advantage of Shuttleworth also let us know the FEATURES 9/10
our fair use allowance and Serpentine name of what will become Ubuntu PERFORMANCE 9/10
Linux made simple will encourage this further. 6.04. It has been christened the
EASE OF USE 10/10
At first glance, nothing much has Dapper Duck – dapper because it will
changed from Hoary Hedgehog (5.04). New instructions have to be pretty smart to poach DOCUMENTATION 8/10
Gnome 2.12 replaces 2.10, but its There have been a few improvements Windows users away from Vista, and Solid, easy to use distro that every
refinements and improvements are under the hood. Ubuntu now includes Duck because… it begins with D. In Linux user should try, and the pre-supplied
applications are all sensible choices.
mostly hidden in right-click menus access to GCC 4.0, with the related what might be heard as a battle cry,
benefits that this brings, although the Shuttleworth has asked for some real RATING 9/10
kernel is still compiled with GCC 3.4. effort behind 6.04 to lure old XP
FEATURES Breezy uses kernel 2.6.12, but you can users away from Windows.
AT A GLANCE
The helpful, if This Add/ Easily arrange
somewhat annoying Remove and burn any
updates pop-up is a Application tool OGG or MP3 file
good move for is a welcome to an audio CD
reassuring security simplification with Serpentine.
conscious users. for Synaptic.

24 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.rev_ubuntu 30 24/10/05 2:01:47 pm


REVIEWS Slackware 10.2

LINUX DISTRIBUTION

Slackware Linux 10.2


Pefected by years of evolution or fossilised? Tom Wilkinson digs in to find out.

KEY STUFF
Distribution aimed squarely at
advanced users.
See also: Debian and Gentoo.
■ DEVELOPER Patrick Volkerding
■ WEB www.slackware.com
■ PRICE Free under GPL

With a 1.0 release dating


back to 16 July, 1993,
Slackware is the oldest
surviving Linux distribution. It has had
a steady following over the years
because it provides the most Unix-like
environment of its peer group, and
because it does not try to hide the
complexity of configuration under an
endless tirade of graphical tools (which
can frequently introduce their own
complex oddities).
It is a testament to the abilities of
Patrick Volkerding, Slackware’s lead
developer and near-sole contributor,
that he has been able to keep an KDE has supplanted Gnome, though Gnome 2.12 packages are available for Slackware, Slamd64 and Slackintosh.
audience and attract new users when
most of the competition have far more on under the distro’s skin. Even if you Additionally there are extra programs One major change that’s occurred in
developers working for them. eventually settle on a distro other than available, including Slackpkg on the the new version of Slackware is that
Slackware, you’ll appreciate how extras disk, which make package Gnome is no longer distributed with it
Back in time complex the tasks that most installers management far more straightforward. – the only ‘high calorie’ environment
Installing Slackware may, for some perform for you are. Although these too lack the finesse of available is KDE. This change is
users, be like taking a trip back in time Once you’ve created the relevant APT or Yum they are admirably robust understandable. There’s a lot of work
ten years or so. There is no graphical partitions, the installer will walk and more than up to the job. involved in maintaining a full
interface to the installer at all, making through formatting them and package One thing that seems a little distribution of Gnome for Slackware,
it look incredibly primitive compared selection. Slackware’s packages come anachronistic is the installer offering to and handing over this responsibility to
with Fedora or SUSE’s. Looks aren’t in series, called disk sets. The name, set up a modem. Many may have third parties makes sense.
everything though: the installer does as you might surmise, is a holdover moved on to broadband, but for There’s nothing to stop you
everything it needs to, and because it from the days before CD-ROM drives now at least it’s worth having it as installing your own version of Gnome,
isn’t weighed down with bells and were widespread and software was an option. of course, and it’s well within the
whistles it copes admirably, regardless distributed on floppies. It’s no longer Finally the boot loader, Lilo, is Slackware ethos to do so. The distro
of the specification or age of hardware possible to install Slackware using such installed. Unlike with previous versions encourages experimentation and
it’s run on. arcane media, but the name has stuck. of Slackware, we had no problems learning more about what’s under the
One vestigal feature from days of Each set contains a different set of using it to boot a ReiserFS partition. surface. Give it a try if you want to
yore which isn’t so welcome is the packages relating to different It’s good to see that this small but know your Linux box inside out. LXF
partitioning method. While the choice functionality. The ‘base’ disk set important niggle has been fixed.
of Cfdisk or Fdisk, both text-mode contains the bare minimum, and is LINUX FORMAT VERDICT
partitioners, is more than ample, the only thing that’s absolutely Gnome no-show FEATURES 7/10
there’s no method included for resizing necessary to install – which is useful Once installed, and rebooted,
PERFORMANCE 9/10
existing partitions. Depending on your for putting a tiny installation on a Slackware places you at a standard
needs, this might not be a problem, single-purpose machine. text-based login prompt. Configuration EASE OF USE 4/10
but some users may need to use a Slackware’s packaging system is of all hardware is up to you, though a DOCUMENTATION 8/10
third-party partitioning tool to prepare much simpler than Debian or Red few text-based programs are provided
If you want to know how things used to be,
the disk first. It may seem like Hat’s. Essentially, each package is just to assist with this where necessary. or desire to get closer to your kernel,
Slackware is shooting itself in the foot a Gzipped set of files, which are The biggest problem we had was Slackware should be high on your list.
by making things difficult for users so unpacked over the filesystem. While getting the graphical environment
early on, but the process fits in with this can bring the difficulties of using running, but for most users it will be RATING 7/10
Slackware’s strategy of exposing the packages from various sources, it enough to just run the X.org
user as much as possible to what goes won’t be a problem for most users. configuration script.

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 25

LXF74.rev_slack 25 24/10/05 1:22:02 pm


REVIEWS Cairo

VECTOR GRAPHICS API

The Cairo Graphics Library


Graham Morrison looks at one of Gnome’s capital assets.

KEY STUFF The original 1.0 release of Cairo


Scalable vector graphics for widgets had a bug that prevented it from doing
and windows. Also consider: Qt’s dashed curves, but this has been fixed
Arthur, OpenVG. in version 1.0.2. Cairo, in fact, is in a
■ VERSION 1.0 constant state of development, and
■ DEVELOPER The Cairo these releases are really just
Development Team snapshots along the way. At least the
■ WEB http://cairographics.org API system calls are now keeping
■ PRICE Free under LGPG constant, which is more than could be
said of the pre-1.0 versions.
Cairo is going to improve the
Linux desktop hugely. It’s an Free Cairo
API that delivers vector- Perhaps predictably, Cairo does have a
based rendering, with the potential to competitor, in the shape of Qt’s Arthur.
transform all those pixel-based Yes, keeping up the tradition of re-
windows and widgets into beautifully inventing the wheel, the two most
rendered, fully scalable curves and popular Linux desktops have
lines. Just think of Bezier splines, anti- implemented two different APIs for
aliased text rendering and affine performing almost the same task.
transformations such as scale, rotate Arthur offers broadly the same
and shear (probably most familiar to features as Cairo, even as far as
you through applications such as providing an accelerated OpenGL
Inkscape and Adobe Illustrator. back-end; but because it is properly
Because Cairo is an API free (Trolltech imposes restrictions on
(application programming interface), developers using Arthur) Cairo is far
it’s only useful at the moment for more suitable for an open desktop.
Cairo can handle more than just rendering primitives. These examples
those who can develop software. The Cairo is a brilliant idea, brilliantly
show it colour compositing with ADD and opaque layering with ATOP.
average Linux user won’t feel the executed. The promise of device
effects of Cairo until the GUI documentation doesn’t go any further There are other back-ends that are independence, along with the
applications we rely on are built with it. than providing a minimal framework perfectly usable, making it almost as improvement in the quality of graphics
To develop software using Cairo, for each function. You certainly don’t easy to send your output to a PDF or rendered using Cairo, marks a maturity
you’d use a supported programming need any specialist knowledge, though, printer as it is to send it to the screen. in the development of the Linux
language. By default, that’s C. Other and if you’re familiar with rendering However, the most exciting back-end is desktop. SVG (Scalable Vector
languages are catered for with functions from other APIs, such as Glitz. Vectors are also used to define Graphics) is going to become
bindings, and include Java, Python, GTK or Qt, this will simply feel like a 3D graphics, which opens the door to increasingly common, and Cairo can
Perl and Ruby, as well as the excellent natural progression of their simple accelerating many of Cairo’s rendering use it seamlessly.
Mono and .NET bindings bundled with geometry. In fact, it’s a little like functions using OpenGL, and that’s Cairo will have a profound effect
the Mono distribution. C++ bindings moving from Gimp to Scribus. Instead exactly what Glitz does. It’s the same on the future of the Gnome desktop,
are still a work in progress. of dealing with absolute values, you principle that drives the eye candy in especially using hardware acceleration.
The functions contained within the deal with a cursor that moves relative OS X, and it’s the combination of Glitz How successful this will be is in the
API are relatively easy to use, but the to a previous position. and Cairo that’s likely to have the hands of the developers, but looking
greatest impact on the Linux desktop. at this first release of Cairo, if there are
HMS Vectory Even if you can’t program, it won’t problems it won’t be the fault of this
Developers using Cairo can make their be long until you can get your hands wonderful toolkit. LXF
graphics totally device-independent, on applications that use Cairo. Gnome
while at the same time dramatically 2.12, released in early September,
LINUX FORMAT VERDICT
improving the quality of the output. It’s already takes advantage of it. You only
all thanks to vectors: they can be have to look at the colour selector, FEATURES 8/10
twisted, scaled and rotated without any which now shows an extremely PERFORMANCE 8/10
degradation in quality. Device smooth transition from one colour to EASE OF USE 7/10
independence comes from using a another, to see Cairo in action. The DOCUMENTATION 6/10
separate back-end for rendering the latest release of the Gecko rendering
output. This first release only officially engine, which will be used by Firefox1.5, This should be the vector graphics API for
every Linux desktop.
supports three back-ends: Xlib for X will also use Cairo, and the OpenOffice.
Window System output, rendering to org team at Novell are already putting RATING 8/10
Cairo helps Gnome 2.12 to an image file and Win32 for the a lot of work into Cairo-rendered slide
seamlessly blend colours. Windows platform. shows and presentations.

28 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.rev_cairo 28 24/10/05 2:00:40 pm


REVIEWS Maya 7 Unlimited

3D SOFTWARE

Maya 7 Unlimited
If this release was a chance to catch up on features, the suite is all the better for it finds Nick Veitch.

KEY STUFF Left: Complex scenes are a


doddle with Maya’s advanced
3D modelling and rendering software. modelling tools.
Also consider Realsoft 3D and the
free software, POV-Ray.
Below: The hair browser is a
■ DEVELOPER Alias new, if not entirely un-live-
■ WEB www.alias.com without-able feature.
■ PRICE £4,899 (or £1,449 for
Complete version)

After trailblazing new features


for so long, it seems that for
this release of the 3D
graphics suite (a simultaneous release
with the Windows version), the Maya
team have stepped back and spent
time looking at the details of how
systems such as text rendering and
polygon primitives work.
For example, it is possible in
version 7 to perform modelling category of tools that should always Most of the
operations on text, then change the have existed are some of the new new features are
text afterwards (as has been possible polygon primitives – it’s amazing that in the area of
in some rival programs before). In a a helix hasn’t existed before (it might dynamic and
similar vein, you can now scale and not be something that gets a lot of visual effects.
rotate objects with one tool rather use, but it is handy sometimes). The new toon steeper as more functions are
than many. Also falling into the On to the new new stuff, and renderer, which emulates hand-drawn crammed in. This makes it all the more
here the changes will be of great animation cells, is simply the best of annoying that the Learning version is
UNLIMITED’S KEY benefit to most artists. Tighter its kind we have seen and works with not available on Linux. This is a free
cooperation with Adobe software any of the render methods. There are version (aimed at students and
NEW FEATURES means better support for Photoshop numerous enhancements to cloth amateurs) for honing your Maya skills.
■ New polygon primitives layers and the ability to subscribe to modelling and greater control over fur It’s available under Windows and OS X,
■ Adobe Illustrator support Illustrator objects – these can be and hair, especially when using but there are no plans for a similar
■ Scene optimiser directly operated on in the software, dynamic effects such as wind. offering on Linux.
■ Full-body IK but can also be linked to live files for Nevertheless, with this release,
■ Dynamic fur easy updates. This is long overdue, but Busy interface Maya remains at the forefront for
■ Toon shader
will be of more use to Windows users We tested the software on the same Linux 3D work, if only because it’s one
■ Cloth enhancements
than it will to anyone running Linux. hardware under Linux and Windows. of the few 3D systems to support the
While visually the interface is pretty platform for anything other than
identical on both systems and the rendering. As Linux has already taken
render times were the same (if over the render farms, though, the
anything, slightly faster under Linux), modelling workstations are surely next
the GUI certainly felt a lot more on the list. Realsoft already produces a
sluggish under Linux – it’s hard to say Linux version of its 3D software, and
why, though it’s possibly down to X.org bigger names like LightWave and 3ds
and the graphics drivers. may appear before too long... LXF
The interface is also beginning to
look a little clunky and dated. It is LINUX FORMAT VERDICT
becoming increasingly obvious that it FEATURES 9/10
is difficult to cram all the tools and PERFORMANCE 9/10
options into the toolbars and menus.
EASE OF USE 6/10
Maya’s system of ‘shelves’ and
operation specific menus and the VALUE FOR MONEY 7/10
object navigation menus try to make it Still the best professional 3D software
currently available for Linux.
easier, but often it can take a while to
find the tool you are after. RATING 9/10
With each new version, the
Character animation is greatly enhanced with full body kinematics. learning curve for the user becomes

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 29

LXF74.rev_maya 29 24/10/05 2:01:25 pm


REVIEWS SSH Tectia Server

SECURE TERMINAL AND FILE TRANSFER

SSH Tectia Server


The security-conscious Graham Morrison goes shopping for a secure remote shell.

CPU ACTIVITY NETWORK BANDWIDTH


KEY STUFF version of software that has an open
source alternative. The answer, as with
Log in to your machine from a
many similar applications, lies in the
remote location and perform the
same tasks you can locally from the enterprise market. Using an actively
shell. See also: OpenSSH. supported, expensive implementation
of SSH developed by a company with
■ DEVELOPER SSH
the pedigree and expertise of SSH
Communications Security Corp
■ WEB www.ssh.com Comunications Security gives a
■ PRICE £1,439 business the assurance that it won’t
get from an open source solution.
Where would we be without There are other advantages with a
the Secure Shell? It’s paid-for solution: SSH

AMOUNT
installed by default with Communications Security has made
TIME TIME
nearly every distribution, and has bold claims about the enhanced
become one of the most essential security and performance in the latest
tools on your system. Using SSH, you incarnation of its SSH Tectia software.
can connect to your own, familiar In a change from previous releases,
command prompt from a machine where all the SSH tools were
anywhere on the planet. You don’t combined into a single package, the
need broadband – thanks to the new version is available pre-packaged
nature of the text-based interface, you to include just the client, or the client
can get away with the bandwidth of a and the server combined. Packages
smoke signal. But if you’ve got more, are available for both Red Hat and
SSH can do other tricks, such as SUSE’s enterprise Linux offering, as
tunnel a port from a remote machine well as SUSE’s Professional distribution.
or forward an X Windows session. Our SUSE 9.3 and 10 weren’t listed, but we
Linux experience wouldn’t be the had no problem installing the included SSH Tectia is shown below OpenSSH, and in our tests was slightly faster at
the cost of greater CPU usage.
same without SSH. RPM packages on to our SUSE 10 box
SSH started life as a project after removing OpenSSH from our
developed by Tatu Ylönen and was system. We also successfully installed We pitted this third generation These are buzzwords that will take
released as open source in 1995. the RPMs on Mandriva Linux 2006, against OpenSSH 4.0, and it is indeed pressure off the typical IT manager,
Ylönen went on to found SSH after making sure the new binary files faster. It transferred a 700MB file and avoid the personal responsibility
Communications Security to further were in the system path. across our network at about 10.1MB/s. an open solution often brings.
the development of SSH, which The packages themselves are a OpenSSH, by comparison, managed On a big enough battleground,
eventually pushed it into the realm of drop-in replacement for OpenSSH, but 8.3MB/s, but used slightly fewer CPU this makes SSH Tectia unbeatable.
enterprise-based proprietary software. we did experience a few problems cycles. If your business transfers Technically, you don’t get much for
The free version used by most Linux while using the SSH file transfer tool gigabytes of data using SSH, this is a your money, but in today’s world, you
distributions is called OpenSSH, and SFTP to transfer and receive files with significant improvement, but for the just can’t buy enough security. That’s
was developed by the OpenBSD team OpenSSH. The transfer would often rest of us it’s hardly going to change what’s on offer here: an indemnity
as an alternative to Ylönen’s SSH. timeout before completion, so it’s the world. policy for a backbone of corporate
You may wonder how SSH obviously not 100% compatible with communication. Yes, this is a stable,
Communications Security makes any other formats. Interestingly, SFTP Keep it a secret efficient and effective suite of tools;
money selling a costly and proprietary includes folder and file completion, Security is obviously the main front on but more important than that, it’s
which is sorely missed in which the battle between SSH Tectia reassuringly expensive. LXF
the free version. But the and OpenSSH will be fought. Both
biggest touted benefit is implementations are technically very
LINUX FORMAT VERDICT
performance, surreptitiously similar, featuring almost identical
implemented by way of a encryption. But when it comes to
FEATURES 7/10
bolted-on enhancement to ensuring your valuable data can’t be PERFORMANCE 6/10
version 2 of the SSH compromised, OpenSSH can’t compete EASE OF USE 6/10
protocol. Dubbed G3, this is with enterprise rhetoric. For example, VALUE FOR MONEY 6/10
the third generation of the SSH Tectia can offer FIPS 140-2
Expensive SSH for the enterprise with an
SSH2 protocol implemented certification, as required by the US
authority that can’t be argued against.
by SSH Communications government, and scalable user
Security, and is supposedly authentication. You can also deploy, RATING 6/10
KDE uses the SSH protocol for transferring a complete rewrite of the update and patch SSH Tectia using
remote files through FISH. code base. additional management software.

30 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.rev_ssh Sec1:30 18/10/05 6:50:59 pm


REVIEWS ThinkFree Office 3

OFFICE SUITE

ThinkFree Office 3
Thinking free, says Alex Cox, means finding an office suite without traditional shackles.

KEY STUFF
A Java-based office productivity suite,
now faster and more stable than ever.
Also try KOffice.
■ DEVELOPER Haansoft
■ WEB www.thinkfree.com
■ PRICE $49.95 (download edition)

The concept of single


platform applications is, if
you think about it, pretty
ridiculous. Compiling something for
just one platform stinks of laziness,
and alienates a big part of the world’s
audience. It’s especially difficult to
keep any sort of consistency when
working between operating systems if
you can’t use the same tools. The real
solution is to write efficient portable
code, and Sun’s Java is as good a
method as any.
ThinkFree Office 3 is a Java
implementation of three of the most
widely used office applications ever:
Microsoft Word, Excel and PowerPoint.
They’re here wholeheartedly copied in
most of their glory. ThinkFree Write,
Calc and Show emulate their ThinkFree Office, eschews the frivolous in favour of the functional, so you should find the features you need.
counterparts closely, with all of the key
features included. If it weren’t already also suggested, meaning that the suite Functions such as creating tables, mistakes, highlights spelling errors,
obvious that ThinkFree is trying to should function on any platform that formatting, spreadsheet calculations and has a full dictionary. It also,
directly target users migrating from runs Java. Compatibility with window and creating new slides feel almost somewhat inevitably, includes a set of
Microsoft, its default file formats are managers isn’t an issue, since the MS- instantaneous. Created for portability, hideous clip-art from the 1980s.
.doc, .xls and .ppt. alike internal interface is entirely this has been tightly coded, and you Always a bonus.
proprietary and generated, like the rest can feel it. All three applications use It can save in PDF format as well
What’s the deal? of the graphics, in Java. the same core interface, and share as Word’s .doc, rich text, plain text and
The deal is that it’s selling for a lot less Naturally this also means that, the same pace. scalable vector filetypes – a limited
than MS Office (the Standard Edition while there is no special allowance selection but one that’s compatible
2003 costing $399, though it made for the system that ThinkFree is Write with just about every other application
includes the email package Outlook), running on, there’s also no complex ThinkFree Write, the word processor, is out there. It’s also fairly adept at
and since the apps are easily portable installation or dependency hell. perfectly adequate for everyday use. opening files created in .doc format
(currently compiled for Linux, Windows, The big surprise is the speed. We It’s an effortlessly useful tool for using other applications, though our
Mac and even in an online version) didn’t think it would be fast, what with generating documents with complex tests showed it couldn’t quite
their familiar air can be made to go the extra layer of operation, but on our formatting, tables, linked objects like reproduce line drawings accurately, nor
even further. Site licensing for schools 3D objects. We also suffered some
is as little as $1 per machine, a lot less issues with responsiveness: at one
than Microsoft is asking. Because the
interface is the same, the skills kids
“THE BIG SURPRISE IS THE point during the writing of this review,
Write seized up completely and
learn here are easily applicable to the SPEED. WE DIDN’T THINK IT refused all keyboard input. Save often
big wide world where MS prevails.
The main thing you’ll need, funnily WOULD BE FAST... BUT IT IS.” to prevent having to test the auto-
recover feature, we suggest.
enough, is Java. Fedora Core is listed
as the recommended distro, and we 3.4GHz Pentium 4 with 512 MB of pictures and line art, hyperlinks, and Calc
can confirm that ThinkFree functions RAM (running Fedora Core 3), it is. footnotes. Write runs quickly, and the Calc is a wonderful spreadsheet. Really.
quite happily once Java has been Scrolling is smooth, screen updating is screen does its best to keep up with It’s not very complex, but it does
installed. SUSE and Turbolinux, on spot on… we have absolutely no even the most fervent typing. It everything so efficiently that it’s a
which Java is installed by default, are complaints with the rendering engine. automatically corrects common pleasure to use. Because it shares the

32 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.rev_tfree 32 24/10/05 12:52:22 pm


REVIEWS ThinkFree Office 3

its sloth. We tested the boot timings


SPITTING IMAGE for the word processors from each
Similarities between ThinkFree Office and Microsoft Office package, and after a clean reboot,
ThinkFree Write took a relatively
POWERPOINT EXCEL speedy 7.4 seconds to load. This is
half of the 14.5 seconds that
OpenOffice Writer took on the same
machine. Allowing ThinkFree’s quick
SHOW CALC launcher to load first meant a start
time of just under five seconds, which
we found impressive.
But casually glance at the toolbars
of each of the competing apps and
you’ll see which one has more to offer.
There’s really no comparison between
the wide-reaching scope of OpenOffice.
org, or KOffice come to that, and the
Show does a really good job with support for the Execs are unlikely to panic when faced with Calc’s bare bones of ThinkFree Office. It can’t
.ppt format, and works just as well for animations familiar interface. It’s the closest clone of the have escaped your attention that
as static slide shows. it’s even possible to export to whole set, which is really saying something. It’s ThinkFree has fewer separate
PDF format, not something easily achieved with very unlikely you’ll find an Excel document that
applications than the rest, or that
Powerpoint at all. stumps it.
fewer tools have been shoehorned in.
It’s playing the same game, but it
backbone of Write’s structure, it also Show doesn’t quite have a full kit. So, it’s an
shares many of its features, and the Can PowerPoint do it? Show will most office suite in its vest and pants.
interface is just as quick. Of course, it’s likely manage it. There is a large
“This is a smart alternative
built like Excel, and the calculation selection of slide transitions to choose
to using Microsoft Office
Should you bother?
formatting and such is identical. The from, and like the rest of the suite, ThinkFree Office is short on fluffy
icons, too, are spookily similar. This is a they run smoothly even on lowly through CrossOver, but extraneous features in favour of
good thing. The chart function is machines. It translates PowerPoint files can you live without streamlining and stability. In many
almost a direct copy, and it’s great. just fine, too, meaning you can take OpenOffice.org’s Base?” cases, the simpler interface is actually
Over 300 of Excel’s function types your presentations cross-platform with an advantage: less stuff you’ll never
are supported – the omissions are ease. The online version means you or OpenOffice.org counterparts. Write’s use; less bloat; less potential for
mostly from the engineering and can easily take things cross-platform live spellcheck ignores apostrophes, getting royally confused, although this
financial groupings - so the vast even if you’re in a location that doesn’t for example, even when you have may lead to compatibility issues with
majority of worksheets will open. have either app installed. inserted the word from its own right- MS ofice. Its familiar interfaces would
Crucially though, there is no support To use the word innovative would click menu. We have to admit we were make ThinkFree Office a fantastic first
for MS-style macros at all. be a bit much in this case, considering expecting a certain number of bugs to step for Linux newcomers frightened
While there isn’t an enormous that the whole suite is as derivative as creep in, but it’s nowhere near as bad of accepting a more than mild change.
amount of interaction between the they come. It’s more clever. as it could have been. Yep, as office apps go, this new
applications, the graphs you make are A lot of people aren’t going to like version of ThinkFree Office is a serious
ready to copy and paste directly into Irksome bits this. You may be one of them. You choice for everything from a single
your Write documents or Show Clones are bound to shake up some could be spitting and fuming that it’s a system to a whole network rollout. It
presentations. It’s another case of minor irritations, especially to those big blatant MS rip-off; that the .doc works just as well on FC3 as it does
ThinkFree Office doing just enough to used to the original. Some features format is insecure; or that there’s not on Windows XP (we tested it on both),
make it completely useful. still feel like early versions of their MS even any support for the OpenOffice. if not better.
org OOo format. But this isn’t It isn’t open, it isn’t free and it
OpenOffice.org – that might as well not doesn’t even try to be. If you want
exist as far as ThinkFree is concerned. some cheap software that apes the
If OOo had the sort of installed user ability of MS Office, in a non-scary,
base as MS Office, perhaps ThinkFree won’t-have-to-retrain-your-users way
would take notice. As it is, the target is then Haansoft may have the answer
MS users, and the result is something for you. LXF
that isn’t going to make the whole
Linux community happy. LINUX FORMAT VERDICT
And here’s the scary thing: put FEATURES 5/10
ThinkFree Office up against OpenOffice. PERFORMANCE 7/10
org, and there seems to be little
EASE OF USE 9/10
disparity when they’re performing non-
specialist tasks. If anything ThinkFree DOCUMENTATION 8/10
Office approaches Microsoft’s tried Value for money licences and a solid code
and tested feature set in a more base make ThinkFree Office a real
contender. Well worth a try.
direct fashion.
One key difference between the RATING 7/10
Write easily handles importing of images and charts, and supplies handles suite and OOo is its lightness – Sun’s
for simple rotating and resizing. system has long been bemoaned for

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 33

LXF74.rev_tfree 33 24/10/05 12:52:24 pm


REVIEWS Books

Learning Unix for Mac OS X Tiger


After years using Macs, Andrew Gregory finally discovers how they work.

KEY STUFF the tar command is named after the


■ AUTHORS Dave Taylor old tape archiver used in the sixties.
■ PUBLISHER O’Reilly Learning... Tiger has plenty of
■ ISBN 0-596-00915-1 exercises worked into the text, and you
■ PRICE £13.95 can read through it with a terminal
■ PAGES 260 open in front of you and really feel as
though you’re learning something new.
Apple did itself a huge favour The way the information is presented
when it chose to base OS X on Unix: it could be a lot better, but this is
multitasks properly, it’s fast, and it very counter-balanced by the excellent
rarely *cough* crashes. The Darwin index (which should be pretty good:
Unix core that the rest of Apple’s this is in effect the fourth edition of
flashy OS runs on also did the Linux Learning... OS X).
community a favour: it’s something Give this to the Mac user in your
we can use to convert Mac users to life. As long as they aren’t absolute
the Linux fold. and who – but then the interesting familiar with the “command-argument- newbies, sit back and wait for the
While that’s not explicitly the stuff grinds to a halt. Instead, we get filename” syntax used by the shell, conversion – but be patient.
intention behind Learning Unix For Mac several pages on how to change your and had a quick explanation of what/
OS X Tiger, it’s often how it comes command prompt from ‘[Mac:~]user%’ all/ those/ slashes in paths mean, LINUX FORMAT VERDICT
across. The book aims to expose to to ‘yes, master’. Cue the sound of Mac you’re introduced to the Unix
Not just for Mac users, this is a simple,
the mollycoddled GUI-loving Mac user users laughing at pathetic Unix geeks workhorses – everyday tools like grep, practical guide for anyone getting started
the command-line power that lurks and putting the book quietly back on ssh and FTP. The book even goes with Unix.
just under the surface. the shelf. some way to explain the silly names RATING 5/10
You’re introduced very early on to As usual with O’Reilly, the that crop up. For a system touted as
the common Unix commands ls, date information is all there: once you’re cutting edge, it’s amusing to learn that

Perl Best Practices


Graham Morrison opens an oyster to find a gem of a book.
boundaries for example, we’re told
KEY STUFF “consistently using the ‘/m’ on every
■ AUTHORS Damian Conway regular expression makes Perl’s
■ PUBLISHER O’Reilly behaviour consistently conform to your
■ ISBN 0-596-00173-8 unreasonable expressions”. But he
■ PRICE £28.50 goes a considerable way to explain
■ PAGES 517 what’s wrong with certain approaches
to a problem before trying to change
your ways – rather than simply telling
Don’t be insulted, but this book’s you that you are wrong. That’s
premise is that the way you program important if you are going to bother
is wrong. You probably use a mixture changing the way you program to his
of instinct, habit and laziness, it says, often more long-winded approach.
and when you’re under pressure you This is another O’Reilly book you
can multiply the impact of each of can keep at the side of your computer.
those by ten. Who better than author Each entry is short enough to read
Damian Conway to teach us the error rewrite than to comment”, “Never topics, before finishing with testing and while your system is booting in the
of our ways? He’s a well-known place two statements on the same debugging. The main body involves morning, and after a couple of weeks
programmer, works at the heart of line”. They’re concise and easy to read itself in the intricacies of the Perl you will be a better Perl programmer,
the Perl development process, and in and you could pick up on any one of language with things like values and which should please Conway. LXF
this book Conway lends his authority them without having read the one expressions, or control structures.
to improve common Perl before, but there is logic in the order. There are plenty of worked examples, LINUX FORMAT VERDICT
programming malpractice. The first good habit to learn is and it’s easy to skip to the parts you
A must-have for any Perl aficionado with a
The book presents a set of 256 code layout because “layout is where may be interested in, whether it’s desire to improve.
recommended coding practices, most of the arguments start”, says Perl’s built-in –functions, or file I/O.
organised by topic. Each is summed Conway. He moves on through Conway never shies away from RATING 8/10
up by a Zen-like instruction at the variables, subroutines, error handling stating how he feels about certain
start: “Consider whether it’s better to and modules, to name but a few “bad habits”. When it comes to line

34 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.rev_books Sec1:34 24/10/05 12:31:32 pm


DISTROWATCH

Distrowatch
This month’s roundup of news from Linux distro development.

WELCOME!
How many times
have you
A brief history of
Linux distributions
witnessed (or
even taken part
in) an online
discussion where
each party
Ladislav Bodnar defended their
From half a dozen to over 300 in a decade
is a founder,
preferred distro
maintainer, editor
and poured Welcome to the first
and janitor of
DistroWatch.com. scorn on
Distrowatch! This is a 1992 ....... SoftLanding Linux System
everything else?
new regular section for 1992 ...... Yggdrasil alpha
We do love our operating systems
and are prepared to prove our the magazine that will keep you up to 1993 ...... Slackware Linux 1.0
allegiance in passionate arguments date with the latest distro news. We
1995 ...... Red Hat Linux 1.0 ‘Mother’s Day’
on internet forums. hope you’ll find it useful for everything
1996 ...... Caldera Network Desktop 1.0
you need to know about your
“IT SEEMS THAT JUST preferred flavour of Linux.
1996 ...... SUSE Linux 4.2
1996 ...... Debian 1.1 ‘Buzz’
ABOUT EVERYBO DY The concept of a Linux distribution –
a complete operating system with the 1998 ...... Mandrake 5.1 ‘Venice’
IS BUILDING NEW Linux kernel, essential GNU packages 1999 ...... Corel Linux 1.0
DISTRIBUTIONS.” and other open source software – 1999 ...... Linux From Scratch 1.0
emerged in 1992 from two companies: 2001 ..... Knoppix 2.0
Having said that, research
indicates that a Linux user is much Softlanding Linux System and Yggdrasil 2002 ..... Gentoo Linux 1.0
more likely to switch allegiance Linux. Their early efforts were riddled 2002 ..... Lindows 1.0
than, say, a football supporter. If with problems, causing frustration to 2003 ..... Fedora Core 1 ‘Yarrow’
Manchester United underperforms many users who attempted to install
2004 ..... Ubuntu 4.10 ‘Warty Warthog’
one season, its followers dutifully them on a variety of hardware
return the next, hoping for better configurations, so it was hardly
things. But users of Linux surprising that they gave rise to a new
distributions are much less breed of Linux distributions. Among
forgiving. The latest release of
them, Slackware Linux and Debian
Mandriva didn’t work for you? No
GNU/Linux were the most successful.
problem, you can simply download
and install SUSE, Ubuntu or any Slackware was created by Patrick
other of the hundreds of Volkerding and launched as version 1.0 Just some of the landmark Linux releases since 1992.
distributions available until you in July 1993. It is estimated that at its
find the one that makes you feel peak in 1995 Slackware had a market across the globe who exchange ideas independent applications. Although
proud of your PC once again. share of 90% of all Linux installations. and code on the internet, was bound many ideas were floating around at
This ever-increasing range of Many other Linux companies made to disintegrate in chaos and fail the time, it was a new company called
products, together with new, use of Slackware in those years – a miserably. But the reality surprised the Red Hat, established in 1995, which
amazing ideas, is what makes the good example is SUSE Linux, which sceptics. Debian has not only become brought about a revolution. Its RPM
world of Linux distributions so
started as a company translating living proof that unpaid volunteers can package management format was a
fascinating. From multi-billion
Slackware files into German and accomplish an amazing amount of major breakthrough and, in the
dollar corporations with hundreds
of well-paid programmers to distributing large sets of floppy disks work in an loosely organised following years, it was quickly adopted
penniless students hacking about containing Slackware Linux to environment, it has also become one by several other Linux distributions.
in their bedrooms, it seems that interested users. of the most respected and stable Linux
just about everybody is working on Debian GNU/Linux was first distributions around, with quality The Renaissance
some open source code, writing announced in 1993 by Ian Murdock control structures that many The dotcom boom and bust at the
applications and building newer, and, after a slow start, the distribution commercial companies can only turn of the century meant big changes
better distributions. quickly became one of the largest dream of. on the Linux distribution scene.
We haven’t paid enough cooperative software development As the early distributions started Mandrakesoft (renamed to Mandriva
attention to this phenomenon, but
projects ever created. Many predicted adding more and more software, it was earlier this year) survived financial
this is about to change – welcome
that this type of development work, clear that much simpler package problems and made some
to Distrowatch!
carried out by hundreds of volunteers management was needed for all the fundamental improvements to Red

36 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.dwatch 36 24/10/05 2:22:33 pm


DISTROWATCH

Hat’s offering, thus becoming one of


the best-loved Linux distributions for
the desktop. But the fortunes of most
other newcomers were not nearly as
favourable – the Debian-based Corel
Return of the Slack
Slackware Linux 10.2 Simple, secure, reliable and conservative
Linux was abandoned in 2001 after
the company, the first well-known
software firm to make a foray into the Slackware Linux is the
world of Linux development, ran into
financial difficulties. A similar fate
first major distribution to
bring out a new release “KERNEL 2.6.13 IS
awaited Storm Linux, another
promising Debian-based start-up. And
this autumn. Version 10.2 continues in
the tradition of simplicity and reliability, PROVIDED FOR MORE
Caldera Systems, with its innovative
desktop and server distro, turned from
rather than offering major new
features, with the only exception being
ADVENTUROUS FOLKS.”
an admired company into a Linux the introduction of the LinuxThreads
pariah after it merged with SCO and library in Glibc 2.3.5. Although the kernel remains the tried and tested provides an optional kernel 2.6.13 for
began pursuing claims in courts package set in Slackware 10.2 is highly 2.4 series (2.4.31 to be exact). more adventurous types, who might
against Linux and Linux companies. up to date, including X.org 6.8.2, KDE Patrick Volkerding, Slackware’s prefer its performance enhancements,
3.4.2 and XFce 4.2.2, the default maintainer, believes that anyone using especially on less critical desktop
New blood Linux in mission-critical systems.
Despite these failures, the arrival of production There is bad news for Gnome fans
the new century has seen a huge environments might – 10.2 is the first Slackware release
increase in the number of Linux prefer to stick with the since version 4.0 that ships without
distributions as more and more 2.4 kernel series for Gnome. The decision was made a few
software developers are discovering some years to come. month ago when Volkerding concluded
the power and freedom of working The newer kernel, he that third-party projects specialising in
with freely modifiable open source argues in the release building Gnome packages for
code. While in early 2000 there were notes, is still under Slackware, such as GWare and
perhaps two dozen or so distributions, heavy development Freerock Gnome, were doing a
this number has swelled to over 300 and is not as well- marvellous job building the often
in recent years. tested under extreme complex Gnome binaries. He now
Partly responsible for this enormous conditions as the 2.4 recommends that Gnome users use
rise was the concept of a Live CD – a kernel series. However, one of those two Gnome builds.
complete operating system that can Slackware 10.2 also ■ See page 25 for the full 10.2 review.
be run from a CD or DVD without
installing anything on the hard disk, as

Copycat in the hat


popularised by Knoppix. But many
other ideas were also brought into
spotlight: the concept of building one’s
own distribution by compiling all
source code found a strong following
in Gentoo Linux, while this year has
Tao Live A Live CD for Red Hat sysadmins
LIFE IN THE OPEN
witnessed the rise of Ubuntu Linux, a
How is SUSE’s online community
free community distribution sponsored While the Debian-based rebuild source RPM packages from
getting on?
by a wealthy philanthropist. It’s an Knoppix has popularised Red Hat Enterprise Linux (RHEL) into
exciting world, and one you can enter the concept of Linux Live what is effectively an RHEL clone, but The opening of SUSE to public
by contributing to or building your own CDs to the extent that there are without the support contract and the participation (see LXF72) generated a
(see cover feature on page 54). dozens of Knoppix derivatives for accompanying price tag. In the huge amount of interest among Linux
every taste and purpose, what about process, the project has also developers and users. Busy mailing
users familiar with one of the other developed a Live CD, called Tao Live. lists, overloaded download servers
major distributions? Is there a good Version 4.02 was released in mid- and plenty of quality bug reports all
Live CD based on Red Hat or Fedora? September and it includes all the indicate that SUSE is truly on its way
to become one of the most open (in
The answer is: yes, of course. Tao recent security and package updates
terms of being accessible to its users)
Linux is one of several projects that issued upstream by Red Hat. Tao Live
distro development projects around.
boots into a KDE desktop,
With the October launch of SUSE
with the essential applications Linux 10.0 behind us, the developers
available from the menus. did not waste any time before
If you are a Red Hat system launching the first alpha release of
administrator, this could be a SUSE 10.1; this will be followed by
perfect CD to keep handy for three more alpha releases in monthly
that occasional repair or intervals, four beta releases in weekly
rescue job. intervals and a release candidate on
16 February 2006. The final release
http://taolinux.org.
of SUSE 10.1 is expected in early
Patrick Volkerding: the founder Taoism enthusiast David March 2006.
and maintainer of the oldest Parsley rebuilt RHEL to www.opensuse.org
surviving Linux distro, Slackware. share it with others.

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 37

LXF74.dwatch 37 24/10/05 2:22:44 pm


Roundup
Every month we compare tons of software, so you
don’t have to!

RSS READERS
Want the news, the whole news and nothing but the news? Paul Hudson
puts his newspaper down and seeks out the finest RSS readers.
Blogs and news, blogs and Winer created his own XML-based Really Simple Syndication). Both of
news. Is that all RSS readers syndication protocol for his site, Winer’s apps were based on RSS 0.91
are good for? Yes, pretty Scripting News. From there, Winer and and incompatible with Netscape’s RSS
much, but think of the riches! Netscape collaborated on a modified 1.0. All this mess means one thing:
boingboing.net, alienlovespredator. version of RSS, which was christened making an RSS reader is no easy task,
com, theonion.com, www. RSS 0.91 despite being substantially and choosing an RSS reader isn’t
barbrastreisand.com/news_ different from 0.90. RSS now stood for much easier. OUR SELECTION
statements.html… all the essential Rich Site Summary, and started to be Thankfully, modern RSS readers AT A GLANCE
content in the world delivered as easily adopted on a wider basis. don’t bother you with all this version
as an email. That was when things really started information, they “just work”. But there Akregator .............................. 42
For something that’s so simple and to get crazy. Netscape dropped are many other things to consider: Blam ...........................................39
yet so important to modern computing, development of the format just as it which supports tabbed browsing?
BottomFeeder ....................41
RSS has a complicated history. It all was taking off, which caused a fork. Which lets you find specific news items
began in 1999, when Netscape On one side, an external group quicker and faster than the others? Liferea ...................................... 40
created the very first version of RSS produced RSS 1.0, based on Which has the best features, such as RSSOwl................................... 42
(which stood for RDF Site Syndication) Netscape’s original. On the other, favicons to identify feeds? All this and Snownews .............................39
for the my.netscape.com web portal. Winer produced RSS 0.92 then RSS more we’ve taken into account in Thunderbird ........................ 40
At the same time, a chap called Dave 2.0 (now saying that RSS stood for order to find the best…

38 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.round 38 24/10/05 12:31:55 pm


ROUNDUP RSS READERS

Blam
Disappointing Mono flag bearer.
■ VERSION 1.8.2 ■ WEB http://developer.imendio.com/wiki/Blam
■ PRICE Free under GPL

Despite its immense potential, three-pane layout that’s so common


Mono has so far only been used to with RSS readers and mail clients
handle small applications that do one alike: down the left is the list of feeds,
thing well. Together with Beagle and F- in the upper-right is the list of posts
Spot, Blam is frequently cited as a and in the bottom-right is the content
great example of what Mono can do, of an individual entry. Unread items
yet it doesn’t seem to have the are marked in a bold font, and the
features to back up its position as channel list also prints the number of
poster child. Although Gnome-based unread messages next to each feed.
programs are well known for limiting
What the developers call “clean”, we think of as “featureless”.
the number of options available to Three panes, stupid!
users, Blam seems to take this to You can update all your feeds at once your Gnome-default web browser to presumably because this is one
extremes. For example, the settings by clicking the Refresh All button at point to the entry you were reading. program that’s easy enough to use
dialog contains just two options: one the bottom of the channel list, or one The fact that this app is made that you can do without them.
that places new RSS entries at the top by one by right-clicking on an using Mono doesn’t win it any brownie
rather than at the bottom, and another individual feed and selecting Refresh. points, because this really is the most LINUX FORMAT VERDICT
that sets how often feeds should be Each RSS entry is book-ended with basic RSS reader you can imagine.
auto-refreshed. Individual feed options minimal styling to make it look fresh The lack of any sort of configuration We could program this ourselves in half
an hour.
are pared down to just the name and and interesting if no pictures were means you either have to work the
location of the feed, which is poor. included. This is actually useful, way Blam works or use a different RATING 3/10
The Blam GUI makes little attempt because the bottom bar contains a program – there’s no middle ground.
to innovate or surprise, adopting the Show In Browser link that opens up There are also no help files, which is

Snownews “THE DOWNSIDE OF NO GUI


IS A LACK OF USABILITY.”
Is good news.
blunt interface we all expect from this story to feed, or from feed to feed list)
■ VERSION 1.5.7 ■ WEB http://kiza.kcore.de/software/snownews
type of tool, with the downside being a and also quitting the program. This
■ PRICE Free under GPL
distinct lack of usability. If this were a means you need to be very careful
text editor, it would be more like Vim how many times you press it – we
As the only command-line RSS result, there’s no three-pane view, no than Nano – lots of power, but you’ll accidentally quit out of this program
reader in this test, Snownews has no tabbed browsing, no fancy pop-up need to be familiar with the help files far more times than we wanted to.
preconceptions to follow about GUI menus everywhere and certainly no if you want to get the best out of it. Type-ahead find and the ability to
design for this type of software. As a pretty themes. Instead, you get the When Snownews first opens you’ll assign topics to your feeds make it
see a blank screen, waiting for you to quite easy to categorise your news,
add your RSS feeds. The only clue to particularly as you can apply a topic
how to add a field is for a small line at filter then search within it. Lynx is the
the bottom prompting you to press H default browser for opening feeds, but
for a help menu. That gives you all the it can be whatever you want, even
instructions you need, but it’s a shame something running on X. Perhaps the
Snownews couldn’t just list the most best thing about Snownews, though, is
common commands rather than hide the fact that it’s a first-class console
them away. citizen: all its configuration files are
To add a feed, type the exact URL easily accessible files, and it’s able to
into the program. Once you’ve done use other command-line programs as
that Snownews will download, parse filters for its feeds.
and display it for you straight away.
LINUX FORMAT VERDICT
Master of the keys
Keyboard interaction is important, as It won’t blow you away, but it’s certainly a
strong gust of wind.
you would expect. The cursor keys
navigate between feeds and between RATING 5/10
stories, with the Q key performing the
Snownews uses purple to highlight unread RSS entries. dual action of going up a level (ie from

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 39

LXF74.round 39 24/10/05 12:32:02 pm


ROUNDUP RSS READERS

Liferea
The best option for power users.
■ VERSION 0.9.4 ■ WEB http://liferea.sourceforge.net/
■ PRICE Free under GPL

This may come as some surprise, searches through a special dialog –


but the most feature-laden RSS there’s no text box that could be
reader isn’t KDE-based: it’s Liferea reached from within the main dialog.
(“LInux FEed REAder”), and is based
on Gnome. Liferea uses clever defaults Beyond the GUI
so that you don’t even need to be Whereas most of the other programs
aware of most of the options until you here allow you to set global options,
need them. And if you’re itching for Liferea lets you override any of those
some customisation, you’ve come to options on a feed-by-feed basis. For
the right place: you can make Liferea example, you might want most of your
Browsing feeds is easy with favicons and the tree-based channel listing.
work just as you want it to with only a feeds to be refreshed every ten
few minor tweaks. minutes or so, but Slashdot to be And now we come to Liferea’s complicated, but are good enough:
We’re back to the three-pane view, refreshed every two minutes. Most coolest feature: Vfolders. If you’ve ever you can filter by item name and body,
but Liferea improves it by adding cunningly, you don’t have to use plain used Evolution you’ll know that virtual feed name and flag and read status.
favicon support to the feed list, which old URLs to get your feeds, as Liferea folders are a great way to organise
shows the sites’ icons next to their allows you to use a local command for your data, because they allow you to
LINUX FORMAT VERDICT
names. It also has a special the feed. Sound odd? Well, you could create folders that are essentially
Condensed View option that makes a use it to point to a script you wrote search results. When you select a All the features you want, cleverly tucked
away to keep the interface tidy.
feed read more like a guestbook by that connects to a server through SSH Vfolder, it matches the rules you set
having the posts consecutively printed and downloads the RSS from there. against all the feeds, and displays the RATING 9/10
in full on one page. One glaring You can also specify conversion filters matches as if they were in that folder.
annoyance is that you have to run for feeds that use unusual formats. The rule options aren’t too

Thunderbird
department. Mozilla Mail, the base if it were a web browser. Yes, this
upon which Thunderbird is built, is means that you end up downloading
of course a highly advanced email lots of irrelevant page furniture along
and messaging client, but it never with the news – which, to our minds,
Firefox’s little brother just isn’t ready for RSS. really got around to adding much in seems to ruin the whole point of RSS
the way of RSS support. It’s here in the first place.
■ VERSION 1.5 ■ WEB www.mozilla.org where Thunderbird manages to
■ PRICE Free under the Mozilla Public License
distinguish itself from the parent suite Not quite Firefox
– but only just. Managing your RSS feeds is painful,
Firefox is one of the biggest New York Times for a brief moment. While there’s no Blam-style and really highlights the difference
success stories in the world of free But its lesser-known cousin, extreme shortage of features here, between Firefox and Thunderbird. With
software, having even managed to Thunderbird, is making baby steps neither is there an abundance. The Firefox, the GUIs are always smart,
cross over into print advertising in the forward in the mail and news key problem with Thunderbird is that streamlined and very obvious, even
most of it is geared towards collecting to relatively new users. With
and writing emails, with RSS loosely Thunderbird, be prepared for longer
tacked on as a “we may as well” pop-up menus, frequent multiple-
addition. So, the options enable you to choice dialog boxes where there’s no
set the default character encoding for obvious way to close them without
a blog, which is fairly useless. using the window decoration, and a
Furthermore, the GUI for RSS feeds is Search dialog that will scare even the
just recycled from the main mail- hardiest of users away. All this makes
reading system, so there’s just one GUI sense if you’re using Thunderbird for
that serves everyone without things your email or Usenet news already,
having to move around. It’s a nice idea, but we just can’t recommend it as a
but if you only want to use stand-alone RSS reader.
Thunderbird as an RSS reader, it gets
annoying to have RSS entries treated
LINUX FORMAT VERDICT
as if they were unformatted emails.
Thunderbird’s clumsy workaround for A great mail reader, but just doesn’t cut it
as an RSS reader.
this is to set the system to browse to
the live web entry for each post by RATING 4/10
default, embedding the Gecko engine
Thunderbird combines Firefox’s UI goodness with all the usability of Emacs. directly into the bottom-right pane as

40 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.round 40 24/10/05 12:32:06 pm


ROUNDUP RSS READERS

BottomFeeder
Ugly, ugly, ugly, ugly, ugly…
■ VERSION 4.0 ■ WEB www.cincomsmalltalk.com/BottomFeeder
■ PRICE Free under Artistic License

…ugly, ugly, ugly, ugly. Get the them. How many? Many many, that’s
point yet? No, BottomFeeder is not the how many. Some features seem like
most attractive item in this trophy good ideas that we can immediately
cabinet of RSS readers, and the put to use, such as the ability to
reason is apparent as soon as you visit create instant blog entries based
the website: it’s written in Smalltalk. upon a news entry; some features
This particular language is deader than seem like good ideas that we could
Etruscan, which means the language immediately put to use if we could
bindings for modern graphical toolkits just think up a use for them, such as
are somewhat thin on the ground. adding del.icio.us tags to blog entries. Forget the poor design and focus on the features…
BottomFeeder uses what looks like an And other features probably seemed
early Motif GUI, which puts you off like a good idea when the programmer sorting and you’re done)! Back up and with a small, yellow news ticker, where
before you start. Compiling by hand is was typing them in, such as the ability restore your settings and feeds to a the latest feed entries slow march
somewhat pointless, given that to impersonate a particularly broken remote FTP server! Surf the web using across your screen.
Smalltalk is interpreted, which means Mac OS X GUI. The confluence for all the built-in web browser! Nominally
you can just download binaries and these options is the inevitably huge this last feature is intended to allow
LINUX FORMAT VERDICT
run them as they are. settings dialog, but that’s best avoided. HTML RSS entries to be rendered
If you can live with the properly, but it’s used for external links Pug ugly, but powerful enough that you
Features ahoy! mindbogglingly poor GUI, you’ll find a too. One feature we are particularly
could get accustomed to it.

With our patented Anti-Ugly glasses feast of functionality. Create your own fond of is the Slim Mode, which hides RATING 7/10
firmly in place, let’s get down to Amazon feeds at the touch of a button the main GUI away (not a moment too
business. Features: there are many of (specify category, search name and soon, in our opinion) and replaces it

Mandriva GlobeTrotter

Up to 80GB Linux-bootable USB hard drive


Pre-loaded with Mandriva Linux Limited Edition 2005
Automatic hardware detection and storage of profiles
Lightweight, sturdy, portable design

Portable Linux Desktop


Leave your laptop at home—with the LaCie GlobeTrotter 2.0, you can take your Linux desktop anywhere. This lightweight
mobile hard drive comes pre-loaded with a specially tuned version of Mandriva Linux Limited Edition 2005, allowing you
to transform any PC into your own complete work environment.

For latest news, please visit www.lacie.com/uk


E-mail: info.uk@lacie.com

LXF74.round 41 24/10/05 12:32:08 pm


ROUNDUP RSS READERS

RSSOwl
Perhaps Java isn’t so bad after all…
■ VERSION 1.1.3 ■ WEB www.rssowl.org
■ PRICE Free under the CPL

We don’t like Java very much configuration options. For example,


at LXF Towers. It’s slow, closed source you can’t set a custom HTTPS
and generally looks nasty. At least, password for a particular feed, as you
that’s what we’ve always thought: can with Liferea. Similar, there’s no
RSSOwl has done a lot to change that favicon support, so all the feeds look
point of view. In fact, RSSOwl is fast, the same in the channel list. However,
open source and is easily the best- these are small niggles compared with
looking program on test here. The what RSSOwl does have. This is the
cleanness of the GUI strikes you only RSS reader we tested that has
immediately, as Java takes on your AmphetaRate support built in, which is
The default selection of RSS feeds is comprehensive enough that you may
GTK theme and so fits right in. Tabs a centralised aggregation and never need to add anything to it!
are used consistently to keep your recommendation service. When you
various feeds organised, which rate a news entry as Fantastic (or OK, post and automatically opens the deletes its cache every time you
maximises the screen space and also Bad etc), this rating and your others finished product in your preferred PDF restart, then has to download it all
helps you work quicker. The GUI isn’t are used with a Bayesian filter to figure reader for you. You can also create again. Shame!
perfect: the Refresh Feeds button out what other news might interest blog entries from news posts through
needs to be more prominent, and it you based on what other people liked. a single click, which makes sense
LINUX FORMAT VERDICT
would be helpful if some of the other given how common this task is.
icons actually had captions beneath Multiple export The one big problem we found Slick, tab-flavoured and not
slow: Java in “not rubbish” shocker!
them as they aren’t very obvious. One useful tool is the option to export with RSSOwl is that it doesn’t cache its
In terms of features, RSSOwl is a feeds as HTML, RTF or PDF. The PDF feeds by default. Perhaps this is an RATING 8/10
few twits short of a too woo. First, export, for instance, formats the posts option somewhere, but it should be on
there aren’t many per-feed neatly, creates bookmarks for each by default as without it you find it

Akregator
time to re-jig the GUI to use i and enables you to run a fast search
components and add a few minor on the articles to find a particular term.
tweaks of their own. The default feed This is such a simple thing to
list is somewhat predictable: Akregator implement, and yet several other
An RSS reader that Krusty the Klown would love. news, KDE news, more KDE news, readers on test aren’t so smart.
plus some KDE apps news and KDE- Another clever feature that is unique
■ VERSION 1.1.2 ■ WEB http://akregator.sourceforge.net
Look news. to Akregator is the ability to show the
■ PRICE Free under GPL
Although Akregator’s default number of unread news items in its
interface uses the stock three-pane status bar icon; most other tools here
“Aha,” you say, “a ‘K’ in a really reading program. In true KDE style, view, the developers have added tabs require you to hover over their icon to
weird place. That must mean…” Yes, Akregator is largely the same as other to better use screen space. This works get a tool tip.
Akregator is the KDE-preferred news tools around it, but its writers took the quite well in that external links just get However, apart from those two, the
opened in Konqueror in a fresh tab, distinct lack of features is quite obvious
but we had problems following links and highly surprising to boot. KDE
some times – almost as if Konqueror applications traditionally have features
were barred from opening fresh stuffed in every possible location, with
windows of its own. The screen space a Preferences panel a mile long; this
that is cleaned up by the use of tabs is one doesn’t. Sadly, its developers
cunningly spoilt with the inclusion of haven’t turned that to their advantage
eight (count them, eight) menu with Gnome-like economy and design.
options at the top, followed by a three- Blam is featureless, but at least it
button tool bar that is pretty pointless. looks good. Akregator, while not as
A much wiser option would have been low on features as Blam, is not nearly
to move those three buttons down into so easy on the eye.
the left-hand pane so that the right-
hand panes could have moved up and LINUX FORMAT VERDICT
used more screen space.
Neither attractive nor powerful, but
somewhere in the middle of the table.
Smart search
The bright point in Akregator’s RATING 6/10
functionality is the Quick Filter box,
Someone needs to tell the Akregator folks that clashing colours are bad. which sits neatly above the article list

42 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.round 42 24/10/05 12:32:10 pm


ROUNDUP RSS READERS

ROUNDUP
THE VERDICT OVER TO YOU
Is Thunderbird
Do you use Em
under-rated?
acs
your news as we to read
your breakfast?
on the forums
ll as make
Let us know
at ww
linuxformat.co w.
.uk.
Seven RSS readers, and only crunch, features such as the Vfolder GUI tweaks such as the condensed
one can win: Liferea. It has support and the ability to read feeds view and favicon support, and Liferea
the right mix of power and from commands as well as URLs pulls even further ahead, deservedly
prettiness that makes it suitable for all placed this beyond the reach of its winning this roundup. That said, it’s still than Liferea adding PDF export
types of user. When it comes to the competitors. Add in the little lacking that extra bit of refinement options any time soon!
that’s necessary to reach true We were surprised that
excellence. We’d particularly like to Thunderbird still treats RSS support
see further edits to the UI to bring in as a last-minute addition rather than
lessons from Akregator and Blam – an integral part of people’s day-to-day
the Refresh All button needs to be lives; even the command line-based
marked more clearly (as in Blam), and Snownews had more thought put into
LIFEREA

9/10
an on-hand search box (as in it, and was actually a very usable way
Akregator) would be useful too. to browse the news across a secure
For the runner up, we’d be hard SSH connection.
pressed to choose anything but Last but not least, we’d like to
RSSOwl. This surpasses Liferea in many mention BottomFeeder. We think this
ways, particularly with juicy social is the dark horse of RSS readers: yes,
networking features such as the GUI is ugly and very hard to work
AmphetaRate support. However, three around, but that’s something that can
things hold it back: the lack of Vfolder be easily fixed if the developers take a
support, the lack of favicons and the critical look at it compared with other
strange lack of caching by default. The news readers. With a radical rethink of
last two are pretty easy to solve, so we the layout, and keeping all of the
expect RSSOwl to catch up with Liferea powerful and off-the-wall features it
pretty quickly. Adding Vfolder support already has, this could be a real
Liferea’s condensed view makes it easy to view all your feeds at once. isn’t so easy, but it’s much more likely contender in a few versions’ time. LXF

TABLE OF FEATURES
Reader User Interface System Tray Vfolders Favicons Authentication Feed Sources HTML Renderer Drag and Drop
Akregator Qt Icon, Unread news URL KHTML KDE
Blam GTK Icon URL Gecko Gnome/KDE
BottomFeeder Custom URL Custom
Liferea GTK Icon ✔ ✔ ✔ URL,command,file Gecko Gnome/KDE
RSSOwl Java/SWT/GTK URL Gecko
Snownews Curses ✔ URL Lynx
Thunderbird GTK URL Gecko

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 43

LXF74.round 43 24/10/05 12:32:13 pm


HOTPICKS

HotPicks The best new open source software on the planet!

AUDIO CD WRITING TOOL CDs or business cards with 21 minutes.


Mike Saunders

Serpentine
Files are added via the standard GTK
Mike has installed and
tested more apps than dialogs, but you can drag and drop
he’s had hot dinners. them in the playlist to rearrange them.
As you can see. Handily, the playlist doesn’t show
■ VERSION 0.6.3 ■ WEB http://s1x.homelinux.net/projects/serpentine merely the filename but uses tags
Quite often I’m asked about
the selection process for from the files, so you get a lot more
HotPicks – why do I choose info. The burning process sports a little
certain apps and not others? progress bar for further feedback.
The answer is demonstrated
in the graphic below: Disco inferno
Serpentine’s developers have made
the wise decision to use GStreamer as
KS
IC

the multimedia handling back-end,


SOFTWARE

TP
HO

rather than writing their own file filters


from scratch. Although GStreamer is
capable of much more, Serpentine
uses it to get instant support for a
wide range of music formats including
GREATNESS MP3, OGG, WAV, and FLAC. It can
also open various types of playlist
It may be subjective, but I (M3U, PLS, XSPF) and save the lists
just pick the best. Simple. If you create for later burning or import
you know some open source into a music player.
software that you’d like us to
You can drag and drop music files
cover, email me at mike. Fear ye not – if you try to overburn a disc, Serpentine pops up a warning.
saunders@futurenet.co.uk. from Rhythmbox and Nautilus into
Serpentine. Similarly, there’s a GTK#
It's amazing to consider that audio music formats. Because it's written in plugin that enables you to create your
HOTPICKS CDs have been on the market since Python with GTK as the front-end, playlist directly in Muine. A sprinkling
AT A GLANCE 1982, yet they're still the primary you’ll need PyGTK installed to of configuration options (writing speed
means of music distribution today. configure and run it. Additionally, Gst- and post-track gaps among them) is
Conkeror ............................... 45
Even with the explosion of online python and Libnautilus-burn-python included, although there’s no
Eric3 ......................................... 49 music stores like iTunes (and more
KleanSweep ....................... 45 dubious methods such as P2P
KTorrent ................................ 48
LMMS....................................... 46
networks), CDs show no sign of
budging from shop shelves. Couple
“SERPENTINE’S GOALS ARE
Serpentine........................... 44 this with the fact that nigh-on every SIMPLICITY, COMPATIBILITY
Singularity ............................47
Sysprof ................................... 48
PC is supplied with a CD burner, and
we can be guaranteed that our familiar AND USABILITY.”
optical discs will be around for many
Ultimate Stunts ................47 years to come. Linux CD burning are also required for the Gnome documentation to speak of at present.
Xplanet .................................. 49 software is a mixed bunch – the integration facilities. That aside, Serpentine excels – it’s
command-line tools are robust and With a compact main window clean, extremely easy to work with,
LOOK OUT FOR THE
flexible, but newcomers prefer the that’s refreshingly free of clutter, doesn’t constrict the user and rolls in
HOTPICKS AWARD comfort of a GUI. Serpentine mixes polish and several plenty of little touches. With Gnome’s
Everything covered in our HotPicks
section is unmissable, but each Serpentine, already showing solid neat features. The bottom pane increasing focus on simplicity, these
month we single out one project for progress and maturity, is a relatively contains a graphical representation of plus points alone make Serpentine an
outstanding unknown entrant into the world of space used by your music: a shaded ideal candidate for official Gnome app
brilliance. Only
the very best audio disc mastering software. Its area of a CD picture indicates at a status, and its coders are striving to
is chosen! primary goals are simplicity, usability glance how much space you have left. adhere to the Gnome interface
and compatibility; this is not at the Usefully, you can toggle between a guidelines. If you find other audio CD
expense of a respectable feature set number of CD formats, from the burning tools too hasslesome and fluff-
that allows it to handle a wealth of standard 74 minutes to single-size filled, Serpentine is a first-class choice.

44 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.hotpicks 44 25/10/05 7:41:07 am


HOTPICKS

BROWSER MODIFICATION
FILESYSTEM TIDY

KleanSweep Conkeror
■ VERSION 0.20 ■ WEB http://conkeror.mozdev.org
■ VERSION 0.1.5 ■ WEB http://linux.bydg.org/~yogin

Although Linux and other accompanied by plenty of helpful


Unix-like systems are generally text. (If you’re not running it as root,
regarded as cleaner than Windows, it notifies you that you can only
if you install lots of new software clean up files in your home
your hard drive can fill up with directory.) KleanSweep lets you
clutter very quickly. The typical Linux select the type of files to remove:
distribution drops tens of thousands empty files and directories, broken
of files on to your disk during symlinks, orphaned packages, dead
installation – even more if it’s a menu entries, duplicated files and
large distro – and after a distro more. Additionally, you can specify a
upgrade, many of these are starting point if you only want to
rendered pointless. KleanSweep clean up a small area of your
aims to free up hard drive space by filesystem. Following the scan,
sifting through your filesystem and KleanSweep displays a tabbed view
plucking out pointless files. of the results, listing files that were
Binary packages are available for identified along with their full
Debian and SUSE (both of these filesystem details (permissions, Combine Conkeror with the Ratpoison WM (see LXF72’s HotPicks), and
binaries are provided on our owner and so on). you can say sayonara to the mouse forever! Well, until you run Gimp...
coverdisc), but if you’d rather A particularly smart feature is
compile from source you’ll need the the ability to back up the to-be- Traditionally, Unix geeks who got You can split windows, search,
KDE development packages deleted files, so if something goes started in the seventies or eighties enter URLs and perform most actions
installed beforehand. In many distros, wrong on your system after the scan, hated using anything but the keyboard. available in a normal Firefox session,
these are known as Kdebase-dev, you can recover the files. This is very After all, GUIs didn’t become truly all without having to reach over for the
Kdelibs-dev or similar. Because the useful to have – some empty files in mass-market until the late eighties, rodent. For diehard Vi(m) fans, there’s
main searching script is written in critical system folders, for example, and even today the mouse is grossly even a mode to emulate the Vi
Perl, you’ll also need a recent Perl are still required for proper working inefficient for some tasks. Nonetheless, keybindings rather than the default
release. The build process uses of the OS. If you accidentally delete it’s hard to imagine navigating the web Emacs keybindings.
Scons, so just run one, you can get it back from the without a mouse (leaving aside the The browser itself performs as
./scons and ./scons install (as root) archive KleanSweep produces. On wonderful Lynx/Links browsers), but you’d expect it to: Firefox’s rendering
to build and go. the whole it’s a small, friendly and Conkeror hopes to keep your fingers engine (Gecko) does all the work, so
When started, KleanSweep pops useful tool to keep your system free on the keyboard’s home row while still Conkeror is just as fast as Firefox and
up a wizard-like dialog, of wastage. giving you the power of Firefox. supports all ther same standards.
It’s easy to get Conkeror running: in Conkeror even keeps your other
Firefox, open the conkeror-firefox- extensions running too.
0.20.xpi extension file (or if that fails, Conkeror is a fine little project, ideal
grab it from the project’s website) and for those who like to keep busy on the
it’ll install. You’ll need to have software keyboard but find Links and Co. too
installation enabled for this to work – primitive for their needs. During a
see Web Features in the Preferences heavy coding session it’s certainly a
dialog. Conkeror doesn’t work like a help to catch up on news or do a
typical extension, though; you don’t quick search without taking your hands
enable or configure it through the off the keyboard. And entertainingly,
browser itself, but restart Firefox with the main developer claims that he
this extra option: doesn’t even own a mouse – just to
firefox -chrome chrome://conkeror/ make sure Conkeror is pure!
content
Initially, it’s alarmingly bare: no
toolbars, no icons, no menus, and not
a lot of anything. The only obvious
change is that links are prefixed by
numbered bubbles, indicating which
numbers you can type to access the
links. This can look rather messy on
some sites. One of Conkeror’s goals is
to ape Emacs as much as possible, so
Usefully, you can step backwards in the cleanup process to try commands are entered by pressing
different settings. Meta-x first (Alt+x) and then typing The Emacs-like split screen mode allows
the command. you to view two pages simultaneously.

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 45

LXF74.hotpicks 45 25/10/05 7:41:11 am


HOTPICKS

MUSIC PRODUCER process is the standard ./configure,


make and make install

LMMS LMMS sports an excellent initial


setup wizard, using cheerful images
and helpful text to step you through
■ VERSION 0.11
. ■ WEB http://lmms.sourceforge.net first-time configuration of the app.
Following this you’re dropped into the
Would the great composers have LMMS, the Linux Multimedia Studio, main screen – and you may be
written even better music if they had has a lofty goal: to be an open source surprised by the design. LMMS uses its
today’s technology available to assist alternative to FruityLoops, Cubase, own colour scheme, a soft mixture of
them? It’s a question often raised in Logic and other major music making dark greys and blues, on top of the
music circles, and it’s impossible to applications. Combining features for current Qt theme. If the rest of your
come up with a decent answer. Could sequencing, synthesizing and sampling desktop is bright and chock-a-block
Mozart have made more with a Mac? into a single app, LMMS is best used with eye candy, LMMS will look
Maybe Wagner wanted a word (according to the developers) on a worryingly dark and depressing, but
processor to help with his librettos? 1GHz box or faster. You can just about after some use it’s not a concern.
Without question, Bach would have get away with it on a 500MHz box, Cosmetically it oozes polish in every Beat+Bassline Editor panel lets you
other respect: there are lots of tooltips, toggle on multiple samples in a loop.
side panels and ingenious dial widgets As a useful bonus, there’s also a
“LMMS COMES WITH AN that you spin by moving the mouse
with the mouse button held down.
Project Notes box (with support for
different fonts and colours) where you
ASSORTMENT OF SAMPLES LMMS’s main window contains all the
sub-windows, such as the song and
can jot down quick thoughts or
present text to others who’ll be
AND INSTRUMENTS.” bassline editors. loading/editing your work. It all fits
together reassuringly coherently, and if
Techno notice you’ve got a modicum of music
benefited greatly from a photocopier – depending on exactly what you want A selection of demo songs are software experience you’ll be able to
simply to avoid using his wife and to do. To compile LMMS from source, included to help you get to grips with pick it up in minutes.
children as scribes. Modern music you’ll need the development libraries LMMS. These are all of the same Naturally, you can import your own
software enables you to create almost and headers for Qt 3.2 or newer, along genre – bass-laden electronic choons sound samples, but LMMS comes with
any kind of sound, from electropop to with SDL_sound. Some optional – but even if that’s not your preferred an impressive assortment of samples
a grand concert hall, and although libraries can be installed for extra type of music, they’re useful for and instruments. These are organised
Linux hasn’t made massive inroads on functionality: Libvorbis to handle Ogg ascertaining how it all fits together. In into categories – sound-effects, drums,
this front just yet, we’re starting to see Vorbis files, and Libalsa if you don’t the Song-Editor sub-window you add classical instruments, Latin and more –
a bunch of projects arrive aiming to fill want to use the standard OSS sound and arrange tracks, dragging around and in general, they’re of pretty decent
the gaps. framework. Otherwise, the build blocks to create the music, while the quality. Having these samples supplied
with LMMS and ready to use is a great
boost to the app, making it more of a
complete music-making solution, even
with its early version number.
Unfortunately, any proper
documentation is notable by its
absence right now; most of the app is
easy to learn, but complete
newcomers would be well served by a
step-by-step tutorial or explanation of
some of the more complex aspects.
Similarly, there’s little in the way of
configuration, just a choice of MIDI
and audio devices, along with buffer
settings to avoid choppy output. None
of this detracts from what is, on the
whole, a hugely impressive piece of
software that’s already more than fit
for use. Many projects suffer from
stability problems or rough-edges in
their early days; not so with LMMS.
The interface is slick, despite the
unchangeable colour scheme, and it
didn’t show any reliability concerns in
our testing. And best of all, it’s easy to
pick up, so you can be knocking out
tunes within minutes. Kudos to the
coders for achieving so much by 0.11 . –
Thankfully, an abundance of colours and icons brightens up the grey theme. it should be a stellar 1.0 full release.

46 LXF73 DECEMBER 2005

LXF74.hotpicks 46 25/10/05 7:41:15 am


HOTPICKS

HOT GA

ME
STRATEGY GAME

S
Singularity
■ VERSION 0.21a ■ WEB www.emhsoft.net/singularity/index.html

Mankind as a whole has many Linux in the extracted directory will


fears: a giant meteor obliterating the pop up the retroishly bland graphics.
earth, ‘grey goo’ nanobots consuming Yes, Singularity is about as
all matter, and Jimmy White retiring visually exciting as a rusty spanner,
from snooker. And on top of all that, but that’s not an issue here. Aside
we have the nagging worry that from the crisp world map, all you’ll
someday, somehow, a computer find is blocky text and stock sound-
system will develop its own sense of effects to accompany your clickery
existence and seek to destroy around the game world. Nutshellised,
everything in its path. Still, while we you play the role of a computer
humans continue struggling to make imitating a human. The goal is to
Thankfully, the computers at LXF Towers are well behave KILL ALL
even the most basic software work move from computer to computer HUMANS KILL ALL HUMANS
perfectly, a supremely advanced AI around the planet researching new
system seems a long way off. But technologies, with the ultimate research. All the time, you have to Games such as Singularity wouldn’t
Singularity tries to show just how bad aim of escaping the planet and then keep tabs on possible detection from be commercially viable in the cut-
things could get... the universe. the media and the public as to your throat ‘electronic entertainment’
Thankfully, Singularity isn’t self- Sounds odd? True, Singularity nefarious goals. Via a Frontier-esque market, but thanks to the whim of
aware enough yet to compile itself can’t be slotted neatly in to any speed-selection panel, you can some open source developers, we
from source, so you’ll need to make existing game genre – that’s what accelerate the passage of time to get to experience genuinely bizarre
sure you have the dependencies gives it some appeal. There are avoid any long-drawn and boring and innovative ideas. Well, until the
installed beforehand: these are elements of strategy as you balance episodes of play. Linux kernel thinks it’s alive and starts
Python and the PyGame libraries. If your cash reserves with the building Essentially, you have to play it to ejecting floppies as projectile
you have these, running ./Endgame_ of new computers and performing really understand what it all means. weapons...

DRIVING SIM

Ultimate Stunts
■ VERSION 0561 ■ WEB www.ultimatestunts.nl

According to recent research, driving sims have always held some Stunts strives to recreate the DOS Currently, the game is supplied
driving a car over a ramp, rolling it appeal in the form of competitive classic Stunts, albeit with more with a handful of racetracks, only
three times and escaping unscathed racing and strategy, but all-out flying- modern graphics and under an open one of which has much interactive
generates an even higher Coolocity car-fests like Stunt Car Racer hold the source licence. scenery of interest. Using the cursor
Factor than being The Fonz. Serious key to on-the-spot fun. Ultimate To build Ultimate Stunts from keys you can drive around ramps,
source, you won’t need to unravel a tunnels and half-pipes (some
tangle of dependencies – just have reminiscent of the classic Hard
the X and OpenGL development Drivin’) and send the car hurtling into
packages installed before you set off. the air. If you find that you can’t
SDL is an optional dependency to change camera angles with the right
enable sound support, although you Alt key, edit the ultimatestunts.conf
can live without it. Once built and file and switch the ‘shiftup’ and
installed, entering ustunts at a terminal ‘camerachange’ keybindings. Now
prompt will bring up the main game. you’ll be able to change camera
At this early stage, Ultimate angle, but not change gear (this isn’t
Stunts’s presentation is hardly sock a problem, as the car is an automatic).
blow-offingly impressive. The rather And this is important simply
generic pumping soundtrack adds a because the game is much more
little spice to the throwaway textures entertaining from the outside view.
and graphical effects, although For the most part, the physics are
strangely, the Ferrari you drive is fairly convincing and there’s great
orders far more detailed than anything satisfaction to be had from pulling off
else in the game. We greatly preferred a particularly virtuosic manoeuvre.
teh third-person mode – you get to Ultimate Stunts still needs plenty of
Don’t try this stunt at home. Try it on the motorway instead, preferably see the car react to the terrain so work, but already it’s entertaining to
with the blissful OutRun music blaring from your speakers. much better than in first-person mode. play around with.

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 47

LXF74.hotpicks 47 25/10/05 7:41:17 am


HOTPICKS

CPU PROFILING TOOL

Sysprof
■ VERSION 1.0 ■ WEB www.daimi.au.dk/~sandmann/sysprof

If you’re a developer with the start up the front-


latest kit (including a stonkingly fast end by running
CPU), it’s often hard to spot sluggish sysprof.
code which’ll only manifest itself on Using a three-
older machines. Similarly, if you’re pane display,
writing a particularly complicated Sysprof lets you
app, it’s difficult to identify which select a running
parts of the code are causing process and
slowdowns – everything gets too determine how
messy. Profiling tools provide some much CPU time
form of assistance, although in many it’s using. There’s
cases they require low-level changes very extraneous
to the system in order to run. Sysprof eye candy, which
hopes to counter this problem: you keeps things
don’t need to recompile any libraries nice and clear:
or applications, all it needs is a the alternating
kernel module. shades in the lists is the closest each of these,
You’ll need your kernel sources Sysprof gets to looking nice. You’ll information on the amount of CPU Sysprof analysing CPU usage of
the X server.
installed, or at least the headers for still need some programming usage is provided, both for the
your running kernel, to build experience to make use of the function itself and a cumulative total
Sysprof’s module. The minimum details – if you’re just trying to find (ie with the other functions called it’s useful nonetheless because it
requirement is kernel 2.6.11 with out why your box is sluggish, the too). Handily, you can sort the lists in doesn’t require you to make any
profiling support enabled. For the output won’t be of much use. ascending or descending order, so drastic changes to the OS, or rebuild
user interface side, you’ll need GTK Sysprof’s coders have made good you’re not left to hunt down a CPU your libraries and apps – you can
2.6 and Libglade 2.5 or newer. Once use of a tree widget to expand, hog by hand. apply it to your system as is. Give it a
these are built, you can insmod or collapse and navigate around the Although Sysprof isn’t the most try if your current development
modprobe the kernel module, then functions called by a program. For spectacular profiling tool available, project could do with a tune-up.

BITTORRENT DOWNLOADER ./configure, make and make install more than an embedded KHTML pane
(as root). with quick links to well-known BT

KTorrent KTorrent’s interface pleasingly


combines essential statistics and info,
such as download progress and
search engines (such as http://
isohunt.com). Additionally, KTorrent
lets you pick individual files to
■ VERSION 1.1rc1 ■ WEB http://ktorrent.pwsp.net seeders/leechers, with a smooth and download from a .torrent, and create
manageable UI. It’s much more your own .torrents via a simple GUI.
BitTorrent, the peer-to-peer (P2P) isn’t taxing – just make sure you have approachable than power-users’ apps Other notable features include
file distribution system, acquired its the relevant KDE development libraries such as Azureus. The inbuilt search upload and download speed capping,
initial popularity as a means to shift installed, and enter the regular feature, while handy to have, is nothing which helps if your net connection is
large open source project files such as being used for other tasks, along with
ISO images. This was a great boost for support for UDP trackers. KTorrent can
projects that couldn’t afford hefty also preview audio and video files, and
hosting fees and they didn’t have to while there’s not much in the way of
worry about their servers being documentation at present, the overall
overloaded by unexpected demand design is coherent and intuitive enough
(the dreaded Slashdot effect). Since to pick up quickly.
then, BitTorrent has reached the A handful of configuration options
masses, bringing controversy with its have been coded in, such as the ability
inevitable use for dodgy purposes. Still, to add new search engines. It’s not as
despite claims made by the popular versatile as some of the beefier clients
media, there are plenty of legal uses such as Azureus, but this is also
for BitTorrent, and KTorrent provides a KTorrent’s strength – it’s lean, compact
KDE front-end to the system. and lets you grab files without any fuss.
Helpfully, KTorrent’s developers We’d be thoroughly chuffed if it were
have assembled binary packages for adopted as an official KDE app.
many popular distros, so chances are KTorrent’s prefs box doesn’t have
you won’t have to go down the source too many options to understand –
code route. Still, compiling from source just the essentials.

48 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.hotpicks 48 25/10/05 7:41:20 am


HOTPICKS

HotPicks REVISITED ALSO RELEASED


PYTHON IDE New and updated software
that also deserves a look...

Eric3 ■ pyNeighborhood – SMB network


browser http://pyneighborhood.sf.net
■ VERSION 3.7.2 ■ WEB www.die-offenbachs.de/detlev/eric3.html
■ Klavaro 0.9 – Touch-typing tutor
In LXF51 a couple of years ago we armoury. That was version 3.3.1; since thumbs- http://klavaro.sourceforge.net/en
had a quick look at Eric3 in HotPicks. then, Eric3 has seen plenty of upworthy
■ XArchive 0.1.10-1 – GTK UI for
This Python-integrated development development with new features and range of new features archiving tools http://xarchive.
environment, sporting the most updates galore. and updates: support for Ruby sourceforge.net
hideously ugly troll as its mascot, To run Eric3 you’ll need an projects (with a debugger and
■ Task Coach 0.47 – To-do list manager
impressed us with its speed, stability assortment of dependencies installed syntax highlighting); a task viewer;
http://members.chello.nl/f.niessink
and cleanliness – an ideal workplace first: as it’s written in Python with Qt as watchpoints; preview of UI files;
for coders. Even with a few missing the front-end, you’ll need both of improved Windows support;
features, we found it more than those along with the PyQt bindings. In bookmarks for the file browser;
adequate tool for any Python coder’s addition, Sip and the QScintilla editing and a shedload of small bugfixes.
component are also The author has kept up bugfix
required – these are releases while the main
on our coverdisc and development continues in snapshot
can be found in releases, a good way to avoid
many distros’ glitches creeping in.
repositories. In use, Most importantly, the new ■ kFlickr 0.2 – Flickr image uploader
Eric3 behaves like features haven’t harmed Eric3’s for KDE http://kflickr.sourceforge.net
any typical IDE, with performance. With Ruby becoming
code folding, syntax a more popular language by the ■ PyInstaller1.0
Make Python app executables
highlighting, macros, day, Eric3’s new support for Ruby
http://pyinstaller.hpcf.upr.edu
bookmarks and a coders is a major highlight, and
debugger. should bring it a wider audience. ■ Tersus 0.8 – Visual coding for
Since our earlier The additional facilities and polish enterprise web apps www.tersus.org
review, Eric3 has are worth having if you’re running
■ splax 0.1 – Splash screen generator
You can disable or resize most panes. been given a an older version too. and controller www.pancho.dk/splax

■ Vuurmuur 0.5.68 – Firewall creation


utility http://vuurmuur.sourceforge.net

PLANET RENDERING UTILITY ■ Netmonitor 0.4b – Monitor network

Xplanet
interfaces http://netmonitor.
sourceforge.net

■ Raydium 0.680 – Portable 3D game


■ VERSION 1.2.0 ■ WEB http://xplanet. engine http://raydium.cqfd-corp.org

It’s been many, many moons since


we looked at Xplanet – in LXF5 to be
exact – and in those years, our
knowledge of the universe has
continued to expand (as has the
universe itself, of course). The recent
Mars probe projects have delivered
astounding imagery of the red planet,
and fascination with our outside-earth worth consulting the man page, as it’s It might be worth getting some
surroundings continues unabated. But not immediately apparent how shots of that big white blob ■ Doodle 0.6.4 – Desktop searching
thanks to Xplanet, you don’t have to Xplanet works. You can get a quick while it’s still there… tool http://gnunet.org/doodle
be an Ubuntu founder to get good view of the earth with:
■ Flamerobin 0.4.0 – Firebird database
views of space – this program provides xplanet -body earth -window There is a stack of other options
administration www.flamerobin.org
detailed renderings of our home Xplanet has had a complete for budding astronomers. If you
planet and its neighbours. rewrite since our coverage years ago. know all about declination, ■ BMPx 0.11 – Audio player (rewrite of
Because Xplanet has been doing In the current version, it sports the magnitudes and more, you can BMP) www.sosdg.org/~larne/w/BMPx
the rounds for many years, it doesn’t ability to render all the well-known tweak and tune the images to
■ Comix1.0 – PyGTK comic book viewer
have a towering stack of celestial bodies such as Earth, perform almost any view of the http://comix.sourceforge.net
dependencies; just the base X libraries Saturn, Mars, and Jupiter, Phobos, planets. A huge number of settings
will do (though you can compile with Titania and Io. Similarly, you can are available and you can even set it ■ SharpMusique1.0 – iTunes shop client
Pango to render internationalised text apply a variety of projections to the to act as a screensaver or display on http://nanocrew.net/software/
sharpmusique
(use the -pango option to disable this views, including azimuthal, Mercator the root window as a background
feature) . Once you’ve built Xplanet, it’s and orthographic. image. Earth-spinningly good. LXF

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 49

LXF74.hotpicks 49 25/10/05 7:41:23 am


WHAT ON EARTH Hibernate

What on Earth is...

HIBERNATE?
Want to save time database coding so you can lounge around eating
honey and picking fleas? Of course you do. Scott Douglass can help.

>> Hibernate… isn’t that what bears


do in the winter?
actually being developed by those wonderful people
at JBoss, and is licensed under the LGPL.
free to develop Java applications with little concern
for how Hibernate will store your objects.
Indeed it is, but instead of napping away those long
winter hours, they’ve been busy coming up with a
fancy new way of storing Java objects in a database. >> Persistence, eh? Isn’t that what
Enterprise Java Beans are for? >> And I won’t have to write lots of
dull JDBC code, you say?
Enterprise Java Beans (EJBs) are server-side Java Nope – once you’ve created your Java object and

>> But aren’t databases for storing


data, not objects?
objects that live in a container in an application
server. Hibernate offers some advantages over EJBs;
sorted out your mapping, the code that you need to
store or retrieve an object is fairly minimal compared
Yes, they are. Usually, you have your data in the specifically a variety of them called entity beans. with JDBC calls and associated error trapping.
database, but you access it using an API designed The clever thing about entity beans is that they
for your database. If you were using Java, which is an
object-oriented language, you would read the data
have a persistent state. There are two ways to
achieve this: container-managed persistence (CMP), >> Good
What’s this mapping business?
question. Hibernate needs to know
into a Java object using SQL calls made via Java where the J2EE (Java 2, Enterprise Edition) which tables relate to which objects, and to this end
Database Connectivity (JDBC) code. You can then container manages the state of the bean; and Bean it uses an XML mapping file. You can create one vast
manipulate the Java object and write the data back Managed Persistence (BMP), where the bean XML file that contains an entry for each object you
into the database, again using SQL and JDBC. manages its own state. wish to persist, but Hibernate also enables you to
But if you shut down your machine before doing Unlike CMP, Hibernate enables you to map create a separate file for each object. This makes for
so, the data held in an object would be lost. Java several tables to one Java object, or persist several a set of small files, each with one clear purpose.
objects only exist in the Java virtual machine – Sun Java objects into one table. Although this could be
didn’t design Java to write anything to the hard drive;
so it’s objects don’t ‘persist’ across sessions.
achieved with BMP, it would still require you to create
all the JDBC logic within the bean. >> Having to write out all my
database tables in XML sounds
like just as much work as writing out
those JDBC calls...
“WHAT IF YOU COULD STORE JAVA If you only have one or two objects that you want to
use with Hibernate, writing out the XML isn’t too big
OBJECTS IN A DATABASE WITHOUT a chore: the XML is fairly simple. Even if you’re

TEDIOUS STATEMENTS AND CODE?” working with multiple objects, Hibernate has
mechanisms so these files can be auto-generated.

People started asking, what if you could persist


(or store) the Java object directly in the database, >> So these Java objects have to be
written in a special way – I can’t >> Wow! It can make its own
configuration files?
without the need for tedious SQL statements and just store any old object, can I? It can, but you need to follow some guidelines when
JDBC code? This is what Hibernate is for – it According to Hibernate, yes you can. It allows you to designing your objects. Nothing too revolutionary,
provides object relational mapping (ORM) between store just about any Java class designed using mind – you just need to create a default
object and database. standard Java/object-oriented techniques. This lets constructor and get/set methods for each field.
you play to Java’s strengths, including ‘inheritance’, In fact, Hibernate even comes with a tool to

>> Excellent. Was it written by


brown bears or grizzlies?
where you derive one class from one another,
‘composition’ for including data members, and even
generate a database schema or template from
your mapping file. What this means (in theory) is
I should come clean about the bear thing: it’s grouping classes into a ‘collection’. In essence, you’re that if you’ve created a Java object that you want

50 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.woe 50 24/10/05 2:03:11 pm


WHAT ON EARTH Hibernate

to persist with Hibernate, you can use the provided specify them in the query itself. You can use native Once you’ve got it, it’s simply a case of unpacking
tools to generate the mapping file, and from this, the SQL directly with Hibernate, but the developers don’t the archive and building with Apache Ant (http://ant.
database schema. recommend it. apache.org – indispensable Java build tool). There
are more detailed instructions on the website.

>> But I still need a container of


>> All this seems very nice, but isn’t
some description, right?
Actually no: unlike EJBs, which require a J2EE
it what the new EJB3 standard
does? Why do we need Hibernate when >> What if I like the idea, but
Hibernate doesn’t fit in with my
application server (JBoss for example), Hibernate Sun will soon have something better? current setup – is there any other way
doesn’t require any special environment. This makes The current EJB standard doesn’t allow for object of achieving this?
it far more lightweight than EJBs, and suitable for relational mapping, but the next incarnation There are many different object relational mapping
stand-alone applications. (EJB3) will include an EJB ORM standard. Obviously tools available; which one you choose will depend on
the folks at Sun know what they’re doing, which is your setup and situation. There’s a list comparing

>> I would have thought that if it


doesn’t use a container, it would
why they have allowed the Hibernate developers to
get involved in the creation of this standard –
some of them at http://c2.com/cgi/wiki?ObjectRe
lationalToolComparison.
slow everything down. apparently Hibernate has influenced the design of Another popular ORM tool products is Object
Apparently not. Although EJBs live inside their own EJB3, you see. Relational Bridge (OJB) from the Apache project
container they are notoriously slow, and although In fact, because Hibernate has the same set of (http://db.apache.org/ojb). It’s a bit newer than
Hibernate may take a little longer to start up, it is code requirements as entity beans do when they’re Hibernate, but as it’s an Apache product there
regarded as being fairly fast. Hibernate’s developers using transparent persistence, you should be able to should be no problems with support or stability. It
claim that it should offer performance gains over use Hibernate as the entity manager component of supports multiple persistence APIs, so users can
handwritten SQL/JDBC solutions, because of the an EJB container – in other words, as the primary choose whichever API suits them best. You could
Hibernate-generated database queries, which can interface used to interact with beans at runtime. also have a look at TopLink from Oracle (www.
implement cacheing and other optimisations. Another point in Hibernate’s favour is that Hibernate oracle.com/technology/products/ias/toplink/
is available now, whereas EJB3 is still going through index.html), which is Oracle’s relational mapping

>> What if I want to do something a


bit more complicated with the
a Java Specification Request (JSR). It’s mature, well
tested, and more or less the industry standard.
tool. It’s available as part of the Oracle Application
Server or separately (at a price), and can be used on
data, and don’t have the primary key Oracle or other databases. LXF
for the object I want to retrieve?
By primary key you are referring to the individual >> I like the sound of this. How do I
try it out?
identifier given to each record, no doubt. Well, You can get it from the coverdisc or download the
fantastically, instead of writing SQL and making latest version from www.hibernate.org.
database calls using JDBC, Hibernate has its own
object query language, HQL (Hibernate Query
Language), which you can use to query the
persistence objects and their properties directly. This
allows for more compact queries than the equivalent
action in SQL, as HQL can use the relationships
stored in the mapping files, instead of having to

LXF74.woe 51 24/10/05 2:03:14 pm


INTERVIEW JIM JAGIELSKI

LXFtrumps
Jim Jagielski
Unix
Jim was bitten by theadmin.
bug as a student sys d his
pe
Since then he’s dip en
s in a var iet y of op
toe
rce pro jec ts, inc luding
sou
bre ath : Pe rl, PHP,
(deep
, GNU, CGIWrap,
MOVES UK LTD

BIND/named, Xntpd .
an d Ap ac he
FreeBSD
)
44 (six in dog years
AGE erican
Am
NATIONALITY
URTESY: WINNING

UX 11
YEARS USING LIN 11
LA NG UAGE S
PROGRAMMING 8
NUMBER OF PCS + tea
TAKE 3
DAILY COFFEE IN 2
TOP TRUMPS CO

AL S OW NE D
SAND ng to
w people are goi
HE SAYS “Right no
pth than breadth.”
be wanting more de
>> www.linuxformat.co.uk

LXF74.jimjag 52 24/10/05 12:29:15 pm


INTERVIEW JIM JAGIELSKI

THE LXF
INTERVIEW

With a CV that includes working for


NASA, editing Slashdot and core Apache
development, Jim Jagielski has pretty
much done it all. Who better to ask
about the world’s #1 web server?

im Jagielski has had a LXF: And what’s your role there? Python were like my three and I liked just releases but how Apache was

J
profound effect on the JJ: In addition to being one of the Ruby but I didn’t want to spend any being used in external companies or
development of open core developers on the web server time on it. But that’s really changed things like that.
source. He’s worked for and project, the Tomcat project, and some now, and I’m finding myself getting And that was fun, it was a great
contributed to more high- of the other projects, I also serve on much more interested in becoming a time. You’d be surprised at the
profile projects than there the board of directors and I also serve developer, a low-level developer on number of potential articles that you
are wildebeest on the plains. We were as the executive vice president and Ruby. So I’ll most probably be working could use, and it was very difficult at
lucky enough to bump into him at at secretary of the ASF [Apache Software on doing that kind of quickly. times being able to figure out which
OSCon, and get what Jim described Foundation]. So I’ve got developer one made sense in the environment.
on his blog as “A great interview.” roles as well as some more LXF: Tell us about life on Slashdot. It was tough having to say, “This is
administrative roles. JJ: There was a point in time when good news, but we’re going to have
LXF: Most people probably Slashdot still had the Apache sections, to hold it.” And the bad thing about
connect you with Apache, but that LXF: Are you actively involved in they still had sections for a lot of open Slashdot of course is that if it’s two
doesn’t really tell the whole story any other projects? source environments, BSD for days old or three days old, it’s old
does it? After all, you have worked JJ: I do love to keep my fingers in PHP, example, and they were going through news, so it was hard trying to limit
on PHP, Perl, FreeBSD, ... I really do enjoy that. Unfortunately a phase when they actually wanted the number of good Apache-related
JJ: That’s correct. Probably my biggest most of the development I have been people who were in that community to news stories to that environment.
claim to fame, at least within this working on has been focused on the be the editors for those sections. Then of course, once things
changed the Apache section came
ON ZEND: more in-house, with internal
Slashdot editors.

“Helping PHP make inroads into corporate LXF: You were also CTO at Zend

America was something that I enjoyed and for a while [a company that sells
PHP solutions to businesses].

I’m very proud of the time I spent there.” JJ: That was fun. It started off initially
when Zend was looking at creating
an open source advisory board. They
were somewhat concerned about
generation, has been Apache. I mean, ASF, simply because of time restraints. So it was my responsibility back creating an open source company
I really just started off in the internet. But I still try to keep commit access to with Slashdot to come up with stories, around their PHP engine, they were
Apple used to have an operating PHP, and if I see patches within Perl of course, but also to be the ‘funnel’ somewhat afraid about how the PHP
system called AUX, and I was the I’ll send those in as well. for any Apache-related stories – community would respond to it. They
editor of the FAQ for that. And that I’m really trying to get more into things that made sense in the Apache were very smart in knowing that one
was what got me into open source by the Ruby community. There was a community, news that the Apache of the key features, one of the big >>
doing porting and stuff like that to it. point in time when PHP, Perl and community wanted to know about. Not success points of any open source

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 53

LXF74.jimjag 53 24/10/05 12:30:10 pm


INTERVIEW JIM JAGIELSKI

they’re a corporate or a small user, if


you’re not sensitive to either real or
perceived restrictions that they see in
using open source, then you’re not
really doing what you want to do,
which is make that software available
to everyone.
There is a lot of education that
needs to go on inside the open source
community to the external people to
make sure they realise that open
source is OK. The struggle used to be,
is open source stable? Is it just
developers drinking beer and hacking
away with no quality control? We’ve
got beyond that point now. Now it’s
much more, we want you to open
source, we want a large community.

LXF: Was it largely about you


going there to share your
experience?
JJ: It was nice because I was able to
straddle that fence as someone who
came up in open source as a
>> company, is being active and well use open source in corporate America, JJ: I think it was actually a good mix developer, but also I built my own
known and to really welcome or corporate wherever, what skills do of technical people and business- business – it was called JaguNET Web
members in that community, so they you need to take the most advantage oriented people. I think the biggest Hosting, it was an ISP company – and
created an open source advisory of it? Certainly it’s easy, or easier, to be problem is that nowadays people are I used open source technology
board and invited me to be one of the a user of open source technology and somewhat curious about how to do exclusively for that. Then I had my
people on that board. just consider a non-shrink-wrapped that. They hear horror stories of experience in involvement with Zen
We had such a good relationship solution. I need, for example, an companies trying to use open source and now Covalent, so I was able to see
that they were looking at expanding application server. Well, yes, I could technology and not doing it right, or how if you’re business-oriented what
their US operations (they were at that use commercial SDs but I could also somehow being persona non grata in those issues are, and if you’re a
time wholly based in Israel) and they use Tomcat. the open source community. developer [what the issues are] –
asked me if I would be interested in But you’re not really not taking Nobody wants to hear: “Oh, you’re because that’s another part of the
taking over the CTO position of Zend, advantage of the capabilities that open just leeching off of open source, you’re community, how do you keep the
and I did. The only unfortunate thing source provides if you’re not building not really giving anything back”, and I community up and active. It was really
about it is that I was only there for the internal skillset required to allow think there is still a mindset within nice being able to feed off both of
about a year or so before Covalent you to adjust the software, patch the some people who want to use open those backgrounds and figure out
came and offered me a position that I software and so on. If you’re not source of “how can I do it? What do I what the people needed and provide
simply couldn’t refuse. But I really looking at the open source technology need to be afraid of? In addition to those solutions.
enjoyed the freedom and flexibility and
the simplicity that PHP provides, still ON BUSINESS ADOPTION:
to this day, to people who are trying to
create their web applications. It really
is a very easy language to use. So
“There is still a mindset within some people
helping PHP make those inroads into
corporate America was something that
who want to use open source of ‘how can I
I enjoyed and I’m very proud of the
time I spent there.
do it? What do I need to be afraid of?’.”
LXF: You were at OSCon doing a
talk with Brian Behlendorf on as a developer would, then you’re not what skills I need, is it OK for me to LXF: One of the things that
open source skill building. Give us able to take the most power out of the use open source?” And certainly one Covalent has done since you got
a bit of background on that: what technology. One of the things that of the overriding ideas, especially there is the Enterprise Ready
was your goal? makes open source so successful is within licences such as the Apache Server, the ERS. How does that
JJ: It was a panel discussion with just that people can change the code to licence, is that in open source you differ from Apache?
Brian and I on on the panel. I did a scratch various itches. want the application, you want the JJ: I think the biggest differentiators
20-minute talk and Brian did a software to be used by as many are what we bundle in. ERS is what we
20-minute talk, then we just had LXF: Would you say that it was people with as wide an audience as call our framework so it includes the
some Q&A afterwards. But the idea largely pointy-headed boffins or possible. So if you’re ignoring the Apache web server, of course, and
behind it was that if you really want to bosses in your talk? potential users out there, whether [MySQL, PHP, Perl, Tomcat and

54 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.jimjag 54 24/10/05 12:30:24 pm


INTERVIEW JIM JAGIELSKI

support for Access]. I think what’s tons of people saying yes, this would LXF: Covalent originally sponsored Adding for example load-balancing
important is how we build it, because be very cool. But again, we don’t try to the Open Source Applications Of capabilities, full internal cacheing for
obviously we take a lot of time working do anything to make our version of Tomorrow, the Apache initiative. proxy capability, a lot of features that
out the best compositor flags, things Apache different from Apache, Was that a sneaky way of hiring would have been nice to have been in
like that, on how to build Apache to because it is Apache. for the future? 2.0, but will be in 2.2.
get the best performance. JJ: No, not really. First of all, even
If you’re running under Solaris 8 LXF: Didn’t Covalent spearhead though the first selection was really LXF: So a lot more stability, a lot
for example it’s a whole serve the 64-bit Apache? done by Covalent, all the subsequent more scalability…
compiler fight to get the most, if you’re JJ: There is no one really inside the selections will be done within the ASF. JJ: A lot more scability. The feedback
running pre-4versus Worker you have ASF who spearheaded it. For one What we wanted to do more than from external people who are using
to compile those differently as well. thing, even if there was one particular anything else was to ensure the it,really big users of Apache, this is
There are two main ways that Apache person who was the leading force to continued viability of the communities. direct feedback: “This is what we need
can run, in a threaded or non- do something inside the Apache, And people who are going to college to take us to the next level.” To keep
threaded-type environment. So, we inside the ASF, one of the things that’s and learning, taking courses and Apache, even though we are happy
take the time now to really build it crucial to the ASF is the idea that we whatever, they want to be able to do with the market share, and we don’t
right. And then we run it through our are all equal peers, a meritocracy. So that but it’s difficult for them to work design for market share, but it does
QA implementation in a lot of different the idea is that it’s the group itself that on open source when they also need mean we have a responsibility to the
environments that it could be exposed spearhead efforts, not an individual to have a part-time job and pay the people who are using it. So we need
to the best way to make sure that it inside. Even if there was something fees associated with going to school. to ensure that Apache is kept fresh,
runs correctly, it runs reliably and that I had – quote – “spearheaded”, I So we thought it would be a great current, up to date and anticipate what
things like that. wouldn’t feel comfortable saying that, idea if we could make it easier for the needs and
features are going Go to
ON APACHE 2.2: to be in the next
www.linuxformat.
co.uk/mag/jagielski.html
couple of years.
to find out more about
“The biggest change will be in the And make sure
that Apache is
Jim’s work at the ASF,
Covalent, and the

authentication/authorisation capability. ready to handle


those. LXF
BSD License.

We’re also going to fix the 64-bit issues.”


LXF: Custom build flags on Apache, because it’s just opposite from the way people who are going for advanced
though – that sounds like a trade the ASF works. education to not only continue their
secret or something. education, but also continue
JJ: Not really. We have never done LXF: But Covalent as a whole put developing open source code.
any source-level code changes to some resources into...
Apache. Everything that we’ve added JJ: Covalent has put a lot of resources LXF: More importantly, and this is
to Apache has always been either in in, but every kind of capability that the one you’ve been waiting for,
how we build it – simple compile flags we’ve added, any kind of patches and what’s coming up in Apache 2.2?
– or in extra modules that expand the like, have always been donated JJ: I guess probably the biggest
capability. It used to be that those back to ASF. It’s crucial to it. I think change will be in the authentication/
modules were proprietary to Covalent, most probably in addition to the authorisation capability. The way 2.0
but we’ve moved away from that. 64-bit changes inside of Apache and works right now, there really
We’ve been open sourcing all of our APR as well (the Apache Portable isn’t a very
proprietary modules. We just donated Runtime, it’s sort of like the interface streamlined way
the Covalent FTP module to the ASF, between the web server and the to be able to
it’s going to be in the ASF incubator. underlying operating system) a lot of dissect out
It’s still, even now, a product that the 64-bit issues are actually at that those aspects,
we have customers coming specifically layer rather than with Apache, so so they had to
to Covalent for. They are interested in that’s where a lot of the work has be restructured.
our FTP server because it has a lot of been done. We’re also
neat capabilities, but we realised that Certainly we’ve done a lot to help going to fix the
this was software, this was technology out on that, and of course on the 64-bit issues
that just screamed to be free, and we testing framework as well. But yes, any Apache 2.2, and
really wanted to have the entire open patches that we have ever done, a large number of
source community involved. whether they’re things that we’ve fixed bugfixes that we
During the process you go and you internally or something that we’ve got couldn’t put into 2.0
ask the PFC, the project committee from external customers – “Hey, this is because they would possibly break the
that the software is going to go into, broken in our environment, can you fix API. So the biggest thing is thing is
which would be the web server project it?” Well, we’ll fix it for them, release it taking it to the next level, adding this
inside the ASF, is there something as a version of the ERS, but also new authentication scheme, and a lot
you’re interested in?”, and there were report/port it back. of changes to the proxy module.

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 55

LXF74.jimjag 55 24/10/05 12:30:27 pm


LINUX IN EDUCATION
Students using Linux at
St Ives School, Haslemere.

Learning with Linux


Linux in education is finally taking off. George Wright reports on some of the highest-achieving projects.

L
inux was born to go to school. implications for schools in poor areas. And even non-tailored Linux support. That is changing. There is now
Everything about it, from its So Linux isn’t just being adopted in systems can be suitable for schools a wide range of teaching software,
open, inclusive philosophy to its institutions in France, Germany and and colleges. Tim Fletcher, the games and network solutions available.
friendly penguin mascot to its the US – it’s also being adopted in learning technologies manager at Many have the backing of mainstream,
low costs, holds appeal for Brazil, China, South Africa... Parrs Wood High School in mature Linux projects – of the
college ICT departments, There are other compelling Manchester, says he uses Fedora Core software we’ll look at in this feature,
primary school heads and education reasons to migrate, one being the there because it’s more user-friendly, for example, Edubuntu was spun off
authorities. Especially the low costs bit. possibility that students learn more as well as being cheaper and more from Ubuntu, Skolelinux is based on
For Dennis Fangmann, the principal of about computing with open source. reliable. “Users don’t see the Debian, and so on.
Grace Lutheran School in Sandy, Utah, Like many, Steve Hardogan believes difference, and admins for the most Buoyed by advocacy groups and
it means he is saving an estimated Windows is not ideal for teaching part find it easier to use,” he says. government endorsement of open
$29,000 a year since converting to computing and programming, because
an open source system. it has a price tag and because the
The Grace Lutheran School system code is hidden, “thereby eliminating “THE ENTHUSIASM FOR
was installed by Steve Hardogan,
whose Californian company has been
some of the most significant aspects
of learning that might take place.” Also,BRINGING LINUX INTO
installing thin-client Linux systems in
schools for the last year. From what
some of the teachers and developers
we spoke to for this feature were
EDUCATION IS IMMENSE.”
he’s seen he believes schools can save proponents of constructivist education
up to 75% of their technology – a kind of learning by doing Hardogan would agree that Linux is source, such software is being used by
expenses by switching. The British philosophy that is well-suited to open, low maintenance. “I’ve installed LTSP more and more students around the
Educational Technology Agency has online study through Linux. [Linux Terminal Server Project] in world – while the emergence of
made a more modest estimate that But it doesn’t have to be anything schools from Hawaii to Indiana, and I commercial support for many of them
schools can save 20%–50% of their more than just an operating system. almost never hear from them,” he says. and specialist services like Hardogan’s
ICT costs by adopting free or open The front-ends and administration “It’s kind of spooky!” hints at a new maturity. So, before we
source software (www.becta.org.uk). panels of the latest educational Linux The enthusiasm for bringing Linux go on to look at some projects in
The potential to save on IT costs projects are specifically written to be into education is immense. But more detail, if anyone can think of a
through Linux, with the option to simple and user-friendly, taking into traditionally, there have been two reason why Linux can’t play a major
recycle old hardware and the lack of account that neither teachers nor IT obstacles – a lack of widely available role in education, raise your hand. >>
software licenses, has exciting staff are necessarily Linux hackers. software, and a lack of commercial Anyone? You at the back?

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 65

LXF74.feat_edu 65 24/10/05 12:28:24 pm


LINUX IN EDUCATION

>> KDE EDUTAINMENT (ALMOST) TOO COOL FOR SCHOOL


The KDE Edutainment Project was mainstream schooling system can use part of KDE, Edutainment is shipped Qt libraries. The first and second prizes
founded in 2001 by KDE developer programs such as Kalzium (a periodic with almost every major distribution, were taken by KStars and the
Anne-Marie Mahfouf, who had table resource) and KLatin (a GCSE and thus has quite a large audience. geometrics program Kig respectively. In
become interested in creating high- Latin revision tool), as well as more Crucially, the KDE internationalisation addition, programming game KTurtle
quality open source applications that general purpose revision programs, like team has translated the Edu apps into won the third prize in a Dutch
teachers could use to aid in their KVocTrain for cramming vocabulary. many languages, and each of the educational contest, showing the
teaching or that students could use In higher education, tools include programs has undergone rigorous bug quality and maturity of the educational
themselves. It quickly grew to be one KmPlot for mathematicians and testing before being included. software in KDE Edu.
of the largest modules in KDE and KStars for astronomers. Earlier this year, the Qt Forum held http://edu.kde.org
although many of the applications Mahfouf’s project has exceeded a programming contest for the best
were once stand-alone projects, others expectations, not least because being educational software written with the
have been built from the ground up as
part of KDE Edu. LET THE GAMES BEGIN
The project is a broad one, LXF’s very own idiot savant, Paul Hudson, tries out some KDE Edu apps.
targeting children in pre-school right
through to adults in higher education,
and its developers have equally tried
to maintain a variety of applications,
covering the sciences, languages and
humanities. At the lowest level are
game-like applications including
KHangMan, KMessedWords and
KLettres. They are designed to be KLatin: Romanes eunt Domus. KGeography: 0 correct answers out KHangMan: Mash letters on your
colourful, graphical and appealing to Even with Qt, learning Latin is of 95. We like the wine and the keyboard until you win, then feel
children. Older students in the hard work! women, but that’s all we know! clever.

MOODLE USING YOUR NOODLE, WEB-STYLE


Launched as version 1.0 in August
2002, Moodle has since made a name HOW PUPILS USE MOODLE
for itself as a useful open source Miles Berry and his kernel hackers of the future
project for running courses and
Miles Berry is deputy head of St Ives ■ The discussion forums – if they have
managing students’ work online. When
School, a 150-strong girls’ prep school in problems with homework they can now
Martin Dougiamas was webmaster at
Haslemere, Surrey. The school has been ask one another, or me (if I’m logged
Curtis University of Technology, running Linux on its servers since 2000, on).
Western Australia, he became and recently started to use Moodle. We’ve also experimented with wikis
frustrated at the lack of a decent for collaborative research or homework,
program or project to help schools and “We have been piloting the use of and this has been a good way of making
colleges make the most of the Moodle over the past year for the Year 5 students aware of more open and Miles Berry is deputy head, maths
and 6 maths curriculum, and have collaborative working methods. Also, we teacher and Linux administrator...
internet. So he built his own – Moodle.
become hugely impressed by the have had a couple of long-term
Moodle runs on PHP and enables benefits it offers. The model has been to absentees, who used Moodle to keep up using Moodle, and a significant
client computers to acces a single take the best aspects of classroom with the class’s work. My statistical improvement in pupils’ attitudes and
database, usually MySQL. Moodle practice, such as access to a range of analysis shows that there’s been a small approaches to work.
includes features for group learning resources and the chance to work increase in test scores as a result of From a management perspective,
projects such as tests, forums and collaboratively, and use Moodle and the having lesson plans, interactive
internet to make those available to my whiteboard files and other resources
workshops. Students can upload their
pupils in their homes too. available alongside pupil grades has a lot
assignments and check grades, while
The big pluses have been: of potential. We’re also using Moodle on
teachers and tutors can be given ■ The ability to link to online our internal web server to provide an
privileges to modify courses and enrol learning resources. intranet homepage and are moving many
students. The project has proved so ■ Online assessment, with daily of the staff administrative tasks over to
successful that in 2003 Moodle.com homework now completed and marked Moodle for this academic year. My pupils
was set up to provide commercial online, and pupils making corrections to were delighted when some of their
their work without any further suggestions for improvements to Moodle,
support and other services to all
encouragement than the desire to get Originally only in English, Moodle and the occasional bug reports, made it
organisations using the software. now supports 52 languages. into a new release.”
their best possible score.
http://moodle.org

66 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.feat_edu 66 24/10/05 12:28:38 pm


LINUX IN EDUCATION

EDUBUNTU = UBUNTU + LTSP X HOCKEY SOCKS


Mark Shuttleworth is certainly environment, non-Gnome educational version of Wikipedia for
putting his money to good use. Soon apps will be themed to match the schools that do not
after the success of the Ubuntu default style. have an internet
distribution comes Edubuntu, a new One project that Grawert is working connection. This is still
project started by the Shuttleworth on specifically for the Edubuntu distro being considered, but
Foundation to provide a version of is the Student Control Panel. It is still in would be a great asset
Ubuntu for classroom use. The distro development, but may be included to Edubuntu. No
uses the Linux Terminal Server Project with Edubuntu as early as its second university content is
to provide a thin-client infrastructure to release. The idea behind the Student being considered at
schools with limited IT funds. Oliver Control Panel is to give the teacher full the moment, as the
Grawert, one of the project’s control over their currently logged in target age is under
developers, describes it as “an out-of- students and the applications they are 18s, but it could
the-box LTSP install with the Gnome running. Teachers will be able to conceivably appear in the future. An early development version of
desktop, educational apps and a connect to students’ desktops, killing www.edubuntu.org the Student Control Panel.
handful of servers like MediaWiki, apps they’re using or kicking them off
SchoolTool and Moodle.” the machine. EDUBUNTU ENTHUSIAST
The road map for Edubuntu is The application list for Edubuntu
In Virginia, USA, Linux advocate and support team behind the project.
impressive for such a new includes all the applications one would
computer science teacher Jeff Elkner I’ve had the opportunity to be
project, including such expect in a normal distribution, and
has been trialling a prototype version of directly involved in writing the
gems as a content- some more specialised applications, Edubuntu at Yorktown High School, and specification for Edubuntu, and I can’t
filtering proxy such as the MonoDevelop integrated says he’s loving it. begin to tell you how exciting it is to be
server. As development environment and “I’ve been using an LTSP architecture able to have this level of input into what
Edubuntu is based Blender, a 3D modelling package. for three years now, so that isn’t new,” I’m confident will soon be the platform
on the Gnome Probably the most prominent feature, he says. “What is new is that there is of choice for use in school environments
now formal support and a well-financed around the world.”
graphical desktop however, would be a cached, offline

SKOLELINUX DEBIAN GOES NORTH


Skolelinux is similar to Edubuntu in
that it’s based on a popular distro – in applications well-suited to learning:
this case, Debian. The project began in KStars, GPeriodic, Gimp, Lightspeed…
2001 when a group of Debian And undoubtedly, being connected
developers (four friends, some drinks to the strongly open Debian
and one pizza, according to lead community is a great advantage, in
developer Markus Gamenius) terms of support as well as
lamented the lack of open source collaboration. As the Skolelinux
applications available for students in website says: “With Skolelinux,
Norway, particularly in the local modifications and enhancements done
language. They decided to found of education and research since 2004. configuration can be done through a by a school in Norway may benefit
Skolelinux, and with funding from SLX “The use of open source and standards web interface, including adding/ schools in Eritrea – and vice versa.” >>
Debian Labs, tailored a distribution gives teachers more freedom in their removing users, setting up printers and www.skolelinux.org
with an IT platform to meet the needs choice of methodology and content,” controlling system services.
of schools in Norway. Today, it is says Guri Stoklefald, senior adviser, ICT Not only can Skolelinux talk to
considered one of the most mature strategy at the ministry in Oslo. “The Linux clients, but the main server is set
educational Linux projects.
The Skolelinux community is a
government has not carried out a
systematic survey involving the
up with Samba so that Windows
clients can access files on the server

large and active one, with over 120 reactions of Skolelinux user groups, storage. It’s a thin-client solution (see X
developers, and their aim is to create
the leading computer solution in
but our general impression is that they
are satisfied.”
more on page 66) and installation is
simple, too, with very little Skolelinux-
X
Norwegian schools by the end of Schools like it because it’s cheap, specific code.
2006. Gamenius says there are 80– reliable and open. But how does As it’s tailored to schools, you’d
100 Skolelinux test schools in Norway, Skolelinux satisfy parts of education expect Skolelinux to have a pretty
and others in Europe, Uganda, Eritrea, that other distros don’t reach? First, education-oriented software selection.
Brazil and China. The project has been administration for Skolelinux is kept as OpenOffice.org is the default office KStars, one of the tailored apps
part-funded by the Norwegian ministry simple as possible. Most of the suite, and the distro is full of individual included with Skolelinux.

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 67

LXF74.feat_edu 67 24/10/05 12:28:42 pm


LINUX IN EDUCATION

>> KAROSHI WORKAHOLIC NETWORK MANAGER


Started by Paul Sharrad and Jo Samba or CUPS. The online classroom
Harris, Karoshi is one of the first Linux (virtual learning environment, or VLE SCHOOLS USING KAROSHI
projects to offer full-on commercial for short) is provided by Moodle, and Karoshi is expanding out of its south-eastern beginnings,
support to establishments that use its mail services are provided by Postfix. and now has 15 users including one in the USA.
software. Karoshi is not a distribution, The servers are made to be as
but rather a network management economical as possible with a cost of
system that runs on top of Mandriva £700 per server and an average setup
Linux. It is designed to be easy to use time of 30 minutes.
as well as secure, and draws on A feature that many schools will be ■ Finborough
Sharrad and Harris’s experience of pleased to see is a content-filtering School
working in schools. proxy server, hosted on the Hal server.
The system is highly scalable, with With this, filters can be set up on a
a minimum requirement of a single per-room basis or site-wide, and allow
■ Albourne CE Primary School
server (although Sharrad and Harris teachers to filter out undesirable ■ Holmer Green ■ Bolney CE Primary School
recommend that four servers be used websites. The fact that it runs on a Senior School
■ Twineham CE Primary School
in a network). These servers provide proxy server means that commonly
the basic services for a typical school accessed pages are cached, which
network including printing, internet and cuts down on bandwidth costs.
multimedia, file storage, email, web www.karoshi.org.uk
and backup.
One thing that makes Karoshi ■ Star Charter School ■ Woodlands school

stand out from enterprise Linux Austin, Texas


systems available to schools and
colleges is that it is fully open source –
even the documentation. All the
services are provided by proven and
■ Dover Grammar School for boys
reliable open source packages, such as ■ Swadelands School

ON DEVELOPING FOR SCHOOLS


We spoke to Karoshi’s creators about life in Linux and death by overwork…
LXF: How did Karoshi come about? Jo Harris: I was an ICT technician in a software where possible, such as
Paul Sharrad: I moved from being a school, and was constantly frustrated by OpenOffice.org and Gimp.
music teacher to being the head of ICT in the lack of reliability and due to my
various schools. All the schools had the position in the school not being able to LXF: What degree of support does
same problems with lack of reliability make changes to improve it. I started Karoshi offer to its customers?
and very high costs. I started using Linux working with Paul on Karoshi so that JH: We provide email, mailing list and
in my first school as a replacement for a other schools could use the same helpdesk support for no charge. This
Novell server and have been using Linux systems that were in place at his school. I tends to be the main source of help that
on the servers ever since. The main then applied for a job at Dover Grammar people require. For those that want
problem has been if I moved to another School for Boys who were very keen on telephone support this can be provided Jo Harris: “Karoshi is not written
school there has not been the expertise the whole idea and ethos of Karoshi. I in a support contract. We now have with Linux experts in mind.”
to keep the system running, which was was given permission to replace the companies interested in providing full
how the Karoshi project started. existing setup with Karoshi as soon as I support to schools that want it. JH: Karoshi is the open source equivalent
started work there. to the RM Connect series. In comparison
LXF: Does Karoshi require special training Karoshi is cost-free, whereas the basic
LXF: Why ‘Karoshi’? for network administrators or will those RM Connect solution is charged for. With
JH: Karoshi means death by overwork in familiar with Windows systems be able the Connect 3 series any extra modules
Japanese. It is an oxymoron for anybody to learn how to administer it easily? are separately priced; with Karoshi these
using the project, since all the main work JH: No specialist training is required in modules are included with the system.
has been done for you. However, Linux to use this system and there is no PS: At Swadelands School we no longer
sometimes it seems very literal to us! need for Linux knowledge. As long as use RM and have managed to more than
someone has the confidence to install an double the number of client computers
LXF: Are there plans to expand Karoshi operating system they can use this around the school. We have 100% server
so that there is a desktop Linux for project. Both myself and Paul use our uptime and the network is managed by
schools as well as the server back-end? sixth form students to test Karoshi and myself and one technician for over 400
JH: Dover Grammar School for Boys is they can set a server up including computers. To prove how reliable and
very keen to put in a Linux client. nstalling Linux in around 20 minutes. easy Linux and Karoshi can be, we have
Software licences can take up a large one technician in West Sussex looking
part of the school ICT budget and we LXF: How cost-effective is Karoshi in after six primary schools, and he started
Paul Sharrad: “We have 100% have already moved to using open source comparison with solutions like RM? with three.
server uptime at Swadelands.”

68 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.feat_edu 68 24/10/05 12:28:47 pm


LINUX IN EDUCATION

WHAT NEXT?
To many, open source seems coalition of groups pushing for open meet each other and visit the
instinctively ‘right’ for education. standards and resources in education. exhibitions. We rated it “could do
GCompris is one of the promising
“Sharing knowledge and contributing Schoolforge-UK was set up in May better” in terms of numbers, and it was new apps on this month’s coverdisc.
to the wider community are values 2003, and recently held the FLOSSIE agreed that we will market future
that most teachers believe in,” explains (FLOSS In Education) conference in events much more aggressively,” says schools will be able to benefit from
John Ingleby, the secretary of the Bolton, inspired by a recent Ingleby. It is hoped that with open source software, and given the
group Schoolforge-UK. But just as in government report showing that organisations such as Schoolforge-UK dedication of projects such as KDE
business, Linux still needs advocacy schools and colleges could increase backing the adaptation of open source Edu and Edubuntu, this is likely to
and great support if it is to get the returns on their IT budgets by software inside schools, many more happen sooner rather than later. LXF
widespread acceptance in schools. using open source software as an
Where educational Linux might be alternative to commercial software.
more fortunate than enterprise Linux is There were presentations on
GET INVOLVED
in government backing. We saw that Moodle, Karoshi and assistive
How parents, teachers, students and Linux advocates can help.
the Skolelinux distribution is being technology software, case studies from ■ Persuade people who are new to Linux to try a Live CD distro – or to try out some
part-funded by the Norwegian open source converts, strategies to get of the education apps on the coverdisc.

government, and this is a familiar story. from zero to Linux and a couple of ■ Join an email discussion group or mailing list. In the UK, visit http://groups.google.
In LXF72 alone we reported on two general talks on Linux in education by com/group/sf-uk-discuss. Elsewhere, try www.schoolforge.net/sfdiscuss.php.
large initiatives to get Linux into event sponsor IBM. Developer Ian ■ Encourage purchasing decision makers at your school to consider Linux – perhaps
schools in Indiana, USA, and Auvergne, Lynch described the ‘International show them any government guidelines on adopting open source.
France, and both projects were driven Grades in Office Technology’
■ Teachers can try out an open and collaborative approach to schoolwork – the idea
by local government. Awards and certificates, which can be taken at just
of sharing work and learning together is the key to open source projects.
official endorsement can also help about any age and complement the
individual projects, like those award- national curriculum. They are designed ■ Visit the websites of some of the education projects you’ve read about here, and
see if they need help in development, documentation or translation.
winning KDE apps or Moodle, which is to be independent of proprietary
being evaluated by Becta for use by software, and so they are designed ■: Ask your local LUG to adopt a school and set up a web server for them with some
the Government Department for with OpenOffice.org in mind. student-friendly web-based applications to show them the potential of Linux.
Education and Skills. Expect more to come from groups ■ Donate your computer equipment to schools – try your LUG or seek out individual
Outside official channels, Linux like Schoolforge-UK. “We rated the projects, such as www.tuxlab.org.za/partners/sponsor_join.htm in South Africa.
user groups and communities are FLOSSIE Conference highly successful
■ Help the Moodle team raise the price of a stand at the BETT show in January. Visit
playing an active role; bodies like the in terms of the speakers, the venue,
www.helpusgettobett.com/?page_id=17.
Schoolforge project, an international the debates, and the opportunities to

THIN CLIENTS – BACK FOR THE FUTURE


Parents and teachers would be forgiven Thin-client computing is a model that
for asking what the thin-client systems allows a return to the more efficient,
The internet
used by Edubuntu, Skolelinux and others centrally administered model, while
are. After the days of the men in white delivering the power and functionality
Main server
coats being the sole practitioners of the user needs. As before, the thin client
computing, but before the days of the PC computers connect to a central server,
desktop, all computing was client–server which is usually joined on the network by Router
oriented. Typically there was one central other services and devices, or can also
computer, more often than not a incorporate other functionality. Users’
mainframe or minicomputer, and as many individual files, mail, settings and so on
dumb terminals as necessary. The are stored here, so it doesn’t matter
terminals were really just serial devices – what terminal they use or what room
keyboards for typing in character data, they are in. The client hardware itself is
Network Thin client
and simple screens for displaying it. the only change. They are in effect printer server
Everyone was happy. desktop computers, but slimmed down
The advent of the microcomputer, and to the minimum required – a processor, Workstation
the potential for a fully-fledged memory, graphics chip, connectors and
computer on every desk certainly put often a small amount of on-board
immense potential and power in the storage for application software or
hands of the user. But it also created a perhaps Java engine and embedded
lot of problems – ask any sysadmin. browser. Often they don’t even have any
Most of these centre around the fact moving parts! Centralising all the services
that, all of a sudden, the user became and data makes for easier administration,
king and could do what they wanted – better security and cheaper running
install software, connect peripherals, costs. And that all makes thin-client
Thin client Thin client
even take apart the computer and add or systems particularly well suited to
remove components! schools and colleges. Thin-client systems allow a system to have many end users at a low cost.

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 69

LXF74.feat_edu 69 24/10/05 12:28:52 pm


INTERVIEW ANDREW MORTON

THE LXF

INTERVIEW

“I wish Linus had used


CVS from day one”
Top kernel maintainer Andrew Morton
talks exclusively about the latest
development process and the need
for increased quality control.

70 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.morton 70 25/10/05 2:02:56 pm


INTERVIEW ANDREW MORTON

LXF: You think it’s fairly LXF: It obviously sped things up


permanent then? quite a lot in terms of how fast
AM: I expect so, yes. The cost of things get turned around.
migration probably exceeds any AM: That’s what people say... It may
benefit they’ll get from going to have made it easier for Linus to merge
something else. things, yes, although he thinks it’s
because you resist the temptation to
LXF: Do you think it was a good put all of the patches on and read
thing to have had that time in them too closely – it makes him trust
BitKeeper, or should they have the people who are sending him
stuck with CVS? things more than he did previously. If
AM: Well, we never even used CVS. Greg [Kroah-Hartman] sends him
Before BitKeeper we basically weren’t “please pull this bunch of patches”, he’ll
using anything – just a bunch of just trust Greg and pull it. Back in the
patches sitting on Linus’s hard drive old days he’d have felt the need to
and it uploaded occasionally. We had read through every line or something
no tracking of what had gone in the like that, so it’s a rather indirect
kernel at all. Which I always thought productivity gain we’ve got from it!
was pretty poor form; I wish Linus had Whatever we’ve been using, the
used CVS from day one. He hates CVS, change pressure on the kernel now is
he has real problems with it, but for massive. The size of the development
just a simple linear evolving model I team is so much bigger, so many more
think CVS would have done the job people doing development and several
and at least we would have had some years more skilled than they used to
tracking history. be, so the rate of change has gone
I think the main thing BitKeeper through the roof. We would have had
LXFtrumps brought is it got Linus using something, to have done something. Yes, we
Andrew Morton and even if we used one of the free could probably take the current rate of
The official kernel revision control systems I think we change even if Linus was still just
maintainer for the would have been 90% of the way doing patch and tar and upload it
2.6
Linux tree, and full-ti there. Obviously BitKeeper at the time without any version control at all, but
kernel developer thr me
ough was probably the best version control fortunately we don’t have to do that.
OSDL, Andrew is a
lon
time member of the g-
UK LTD

system available and it certainly suited


circle of kernel code inner our development model well. I also LXF: You say the number of
rs.
MOVES

AGE was very uncomfortable with using developers involved is much


0x2E
NATIONALITY BitKeeper, obviously because of the greater now. But it seems pretty
Australian
URTESY: WINNING

YEARS USING LINUX


10 licensing and proprietary issues, but I apparent that the change log for
PROG. LANGUAGES
Declining could live with it. It was better than each release is getting larger. I
NUMBER OF PCS
20 having nothing. My main game is looked through quickly and 2.6.2
DAILY COFFEE INTAK
E 4 cups improving the kernel, not getting was 287K, 2.6.4 was 322K, 2.6.6
SANDALS OWNED
TOP TRUMPS CO

HE SAY 0 involved with... religious issues. was 487K, 2.6.8 was 883K, 2.6.10
S “That model of doi
big releases every two ng the really I always expected it to come to was 1.5MB...
or three years was
just not workable” tears, I always expected the wheels AM: Although they are all incremental,
would fall off the BitKeeper thing. It but yes.
came a little bit more abruptly than I
expected, but we recovered pretty well. LXF: Is that the speed of
We didn’t take a dent, really, and we’re development picking up?
still going. AM: To some extent yes. Also, those
releases were further apart in time –

W
hen you meet discussed the move away from LXF: Did BitKeeper act to show the we’ve been slowing down a bit lately in
the maintainer of BitKeeper, bugfixing and and the need wider kernel development the releases. But no [development] is
the 2.6 Linux to increase the turnaround speed of community how things could be, not slowing down.
kernel, asking Linux kernels. and that’s why you’re now using
him to sit on a Git rather than going back to LXF: I noticed now in your change
large inflatable LXF: The move to BitKeeper emails and patch files? Did logs there’s “signed off by”. What
chair and answer questions probably annoyed a lot of people, BitKeeper bring you so many caused that?
isn’t what most people would do. For particularly the FSF. And then benefits that people realised they AM: Well, it’s sort of f allout from
us, though, Andrew Morton is second [Andrew] Tridgell’s work sort of can’t live without it? some of the SCO silliness. People
only to Linus Torvalds in the Linux food moved off BitMover again and on AM: Oh, yes, we couldn’t live without wanted us to have some way of
chain, and so was able to provide an to Git, which may only be [version control] and we shouldn’t basically being able to demonstrate
invaluable insight into the inner temporary itself. have lived without it before BitKeeper where a piece of code came from.
workings of development. We AM: No, I would imagine Git’s going came along. Everybody downstream This is something we thought >>
accosted him at OSCon 2005, and to stick. very much appreciates it. independently was not a bad thing, so

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 71

LXF74.morton 71 25/10/05 2:03:08 pm


INTERVIEW ANDREW MORTON

massive SCSI merger at Week 5, we


can’t release a stable kernel in Week 6
– we need to give it time to settle down.

LXF: Did you actually have a


planned turnaround time for
kernel releases?
AM: No, we release it when it looks
good, basically, but a lot of people
want us to accelerate. I think we’re up
to two, two-and-a-half months now,
and that’s probably a bit longer than
people want. I’d like to keep it under
two months.

LXF: When Torvalds announced


recently that he was switching to
PowerPC full time, he said that he
thought the Power 5 and the
AMD64 were the two most
relevant architectures. Would you
agree with that, for Linux?
AM: Um, yes, I think obviously x86 is
not where it’s at nowadays; x86-64 is.
People have read a lot more
>> we’d know who to blame when it went LXF: And now there’s this two- But what is in fact happening is significance into Linus’s desktop
wrong, basically. So we adopted a very week change window that came in that people are just coming up with machine than is actually there. I think
simple convention that anybody who – it’s just been announced in fact. massive great big merges anywhere in he probably uses it because it’s quiet –
had had any involvement in the AM: Well, that was basically my fault! I this window. Just in this cycle we had a he has this thing about noisy
development of a patch would just went on a big rant at the kernel large sound driver merge a week ago, machines. I don’t think that’s a
add their moniker to the bottom. summit about that. The problem we’re probably four weeks after it was particularly significant thing really. He
“Signed off by” implies that they have having at present is that I don’t think released in 2.6.12. That’s bad timing, still has x86 boxes around to test
read and agreed with the Developer’s the kernel quality is as high as it because that massive drop of new things on.
Certificate of Origin, which is in the should be. We’re getting quite a few code has lost out on four weeks of
kernel documentation tree. regressions sneaking into each release. stability testing. What we want to do is LXF: He lives in Portland now,
The way the model is supposed to encourage the subsystem maintainers doesn’t he – you can’t live that far
LXF: So it’s not necessarily looking work – and maybe my problem is that to coordinate their major merges away from him, compared with
at the quality of the code; it’s I never told anybody this – is that the more closely with the kernel cycle. the old days?
really just saying “I believe they day Linus releases 2.6.13, all the AM: Actually we used to be about 20
wrote this themselves”? subsystem maintainers, and there are LXF: You said that the amount of minutes apart. He was in San Jose and
AM: Yes, certainly that. “It’s probably 50, 60, 70 of them, should work coming in to the kernel I was in Palo Alto. We only ever met
unencumbered, I wrote it myself, I’m twice in those days.
ON BUGFIXES:
certifying that I didn’t nick it from
UnixWare or anything like that.” And LXF: In terms of things that
then each person who handles the
patch will typically add a Signed Off By.
“Sometimes you have to have a buzz about them,
Xen being one of them, and
There is an Ackd By as well these days shame maintainers into it.” Inotify, which has just gone
into 2.6.13, which things do
LXF: What’s that? you find interesting?
AM: Ackd, acknowledged by. It’s for merge all their stuff within, ideally, the definitely isn’t slowing down, it’s AM: Well, Xen is obviously
somebody that’s used the code but it next week. Massive patch bombing speeding up. But the length something that a lot of people want. I
didn’t pass through their hands, they happens in the release’s first week. between releases is lengthening. Is tend not to think about roadmaps too
didn’t alter it. Generally it’s for top- Then in the following week I merge the slowdown the result of there much, because it’s just whatever
level maintainers to say they’ve all the stuff I’ve been buffering up in being lots of kernel maintainers, people want to send. The decision-
hacked the patch, they’ve reviewed it. my tree. And then we’ve got a four- submitting patches willy nilly? making about what goes into the
week window when we do stabilisation, AM: Mainly it’s because we get a kernel tends to be distributed. Linus
LXF: The development model of performance testing, bugfixing and so whole bunch of stuff and then we and I don’t sit there and say, “Hey, we
stable 2.6 versions seems to have on. While that’s happening people are need a certain amount of time to need x, y and z by the third quarter in
changed too. Last year the working on the new features for the stabilise it, see the bug reports, see 2005.”
conclusion was that it wouldn’t next cycle. So we’re pipelining some of the bugs at least get resolved, Instead, if some particular group
always be stable and it was up to development for the next cycle with and what’s happening is that because has some particular requirement in
the distro makers to make it stable. fixing regressions in the current cycle. code is coming in late it is obviously the kernel they’ll put the resources
AM: To some extent, yes. That’s how I’d like to see it happen. taking us longer to do that. If we get a behind it and they’ll do the work. So

72 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.morton 72 25/10/05 2:03:22 pm


INTERVIEW ANDREW MORTON

it’s a push rather than a pull model in hacking away at my stupid patch LXF: Is that almost because some want to carry on being the 2.6
that sense. management script. of the maintainers only do any maintainer, or would you rather
But what’s in the future? actual maintaining out of respect migrate that to someone else who
Filesystem and user space I guess we LXF: Aren’t you spending 12–14 for you? wants to look after it so you can
should get in soon. Some people hours a day hacking the kernel? AM: Well, sometimes you have to push on to 2.8?
would like to see that. Oracle clustered AM: Yes, merging and testing and shame them into it, frankly! Mainly you AM: We’ll cross that bridge when we
filesystem [OCFS] we’ll put into 2.6.14. fixing patches. Reviewing patches. have to have sympathy with them. The come to it. A lot of it will depend on
The whole clustering issue is the big Communicating with other developers great majority of bugs we have are at our reasons for having branched off
one. We’ve had trouble for a number on design issues. And I spend quite a the driver level, and maintainers can’t 2.7; I’m not sure what they would be at
of years with getting clustering lot of time with bugs as well. reproduce the bugs. That’s the whole this time. One reason we might decide
structure into the kernel. problem I have in the kernel. So you to do it is because we’re simply not
There are a whole bunch of LXF: Fixing bugs? need to enter in some long happy with the quality that we’re
clustering projects out there but they AM: It’s more a matter of giving a bug complicated dialogue with the reporter getting in 2.6. But as I say I still think
all seem to have gone off in totally some attention. Often people come up of the bug to attempt to resolve what’s we can make a lot of adjustments to
different direct ions and development with a bug report, and a bug report is happening, and send them patches our 2.6 processes.
teams don’t seem to be able to find a valuable thing but it’ll drop on the and additional de-bug patches and get
any common ground so we just floor, so I feel I need to enter in a them to do x, y and z. Debug by LXF: Can you see
haven’t been moving forward on that. dialogue with the reporter to get some remote control. So they’re all pretty yourself doing this Go to
www.linuxformat.
But OCFS appears to be a complete more information and generally try tough to solve. for a long time?
co.uk/mag/morton.html
solution and looks OK, so I have no and get the person who really owns AM: Probably, I
for Andrew’s ruminations on
problem merging that in the kernel. that code involved in the problem. LXF: Are there other things you’d guess I’ll continue Novell’s hiring practices
I’m not sure that things like Red Hat’s Particularly at this point in the kernel like to be working on, other doing Linux in some and the continuing saga
projects that interest you? capacity for the rest of the 2.7 tree.
ON KERNEL QUALITY:
AM: I get a bit tired of not writing any of my career. LXF
code any more; I guess at some point
“We’re getting quite a few in time, particularly if I start feeling
that I’m not performing as well as
regressions sneaking into the project deserves, I’ll

each release.” migrate my functions to


somebody else and go and sit
in a hole somewhere and work
on my own little corner of the
GFS and distributed lock manager will cycle – we’re at rc5 now – it’s all kernel again.
have such an easy path. bugfixing, no feature work.
What else… I don’t know, in answer LXF: You’re really at the
to your question! Whatever people LXF: So it’s almost marketing bugs, forefront of the Linux kernel at
send me. promoting them… the moment. So when 2.7
AM: To some extent, yes, as well as becomes a reality, would you
LXF: Is your -mm tree quite a long social engineering.
way from the actual true, officially
published kernel?
AM: It varies. Largely it’s the kernel as
it will be in a few month’s time, minus
quite a bit. So I pull all the various
development trees into my kernel for
testing purposes, and also various new
features I’ll line up in my kernel, and
probably take them down to Linus
when I think they’re ready to go.
So at times, yes, it can diverge a lot.
In terms of patch size it can, I mean
it’s got the Reiser 4 filesystem, that’s
2MB in one hit, and various other
features. They make very little impact
on the kernel overall, effectively
they’re just an add-on on the side, but
it makes the patch big.

LXF: So what are you personally


working on right now? Do you still
use any DDE, for example?
AM: I’m afraid I do. I haven’t done any
user space stuff for a long time, just

LXF74 CHRISTMAS 2005 73

LXF74.morton 73 25/10/05 2:03:25 pm


TUTORIAL First Steps: Organise your filesystem

FIRST STEPS LINUX BEGINNERS SERIES

Filesystem Organise your


partitions and folders
How to set your machine up so that you’ll always know where to find any piece of information, photo,
song or document. Andy Channelle is your guide to control-freakery.

Everyone loses some data at some point: a picture, your personal files as well as configuration settings, and it’s then
LAST document, address or vital soundfile. It’s a fact of a laborious process to set up your new system to work just as

TIME
computer life that most people have come to accept – the old one did. However, if you go the trouble of putting your
wrongly. Regular backups, for example, are one way of ensuring home directory on a separate partition, all this hassle can be
that any lost data be retrieved without much fuss. But how can avoided. Simply reformat the partition that contains the
Buzzword fever took over, as
we make sure that we don’t lose a file in the first place? operating system, and leave all your files and settings safely
we looked at instant
messaging, Skype, IRC and
Like many things, it comes down to being organised, which intact in your home partition.
Google Talk. If you missed the means designing a file structure that takes into account the The (slightly) bad news is that, if you already have a fully
issue, call 0870 837 4773 or ways in which we use a computer; and – and this is the tricky configured Linux system with /home on the main partition (also
+44 1858 438795 for bit – making sure that we always drop, rip, save and import files known as / or the root partition) then the only really practical
overseas orders. into the correct folders. way to do this is to back everything up and reinstall Linux with
The first thing to consider, and the first part of this tutorial, is a new set of partitions. This could either be a blessing or a
how to partition your drive. Dividing your filesystem into two or curse, depending how much stuff you’ve accumulated in your /
more partitions is one of the best ways of keeping in control of home directory. But either way, don’t worry – this is not as
your data. It’s common practice to reformat the entire hard scary as it sounds. I’ll step you through the process, using
drive when installing a new version of Linux, but this wipes all Mandriva Linux 2006.

76 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.tut_begin 76 25/10/05 7:43:37 am


TUTORIAL First Steps: Organise your filesystem

PART 1 – REINSTALL LINUX TO MAKE A SEPARATE /HOME PARTITION

Warning: this process will DESTROY all the data on your computer. Make a complete backup of your precious documents, photos and anything else before you
start the installation. LXF can’t take responsibility for lost stuff, and we can’t retrieve documents from formatted disks. Back up now.

1 2

Reboot and find the partition manager Set up your three partitions
Once you’ve backed up, reboot with the Linux installation CD, and go through the Select the disk to be partitioned and hit Auto Allocate. This will create three
bootup sequence until you come to the partition manager. This is where you partitions by default: / (root), /home, and /swap as a sort of overflow. Most
decide if the Linux system will live beside an already installed Windows partition, other distros will create two partitions – / and swap – so you will need to add a
use the current partition setup or create a new scheme. In this screen shot, third using either Ext3 or ReiserFS, accessed as /home. You don’t have to
Mandriva is addressing a small and unused hard disk. To install on to a accept the Auto Allocate partitions just as they are. To adjust them, select one of
completely blank hard drive, select Clear All from the tools along the bottom of the planned partitions with the mouse and use the Resize option that appears in
the screen. WARNING! This will destroy all your data – so back up first. You can the Actions box on the left-hand side of the window. The root partition should be
also select each partition in turn and opt to remove it or edit it. at least 2GB in size, but if you have the space I would recommend 8–10GB. The
swap partition needs to be approximately twice the PC’s
RAM, and the rest can be used for /home.

REPARTITION WITHOUT MANDRIVA


3
SUSE comes with its own partitioning monstrous tool, the most popular of
utility, found under System > Partitioner which is called QtParted. If you’ve ever
in the Yast configuration tool. It’s not used Partition Magic on Windows,
that easy to use, and only really worth QtParted will feel familiar. It provides a
considering for a fresh install. horizontal box that represents your hard
The most comprehensive partitioning disk, with each partition coloured in to
tool (and also the most difficult to use) indicate how much data it’s holding. You
is Parted. This is a command line tool for then drag each coloured partition to
creating, destroying, resizing, checking resize and create new blocks.
and copying partitions. Luckily, there are Find Parted, QtParted and GParted
a few graphical front-ends to this (for Gnome) on the coverdisc.

Set the mount point


When you create a separate /home partition, it must be mounted as such. From
the main screen, select the partition to be edited and choose the Mount option
from the Actions section. In the resulting dialog box there is a drop-down list
containing the most common set of mount points. Select the /home option. If
you are installing Linux alongside Windows you can use this space to make sure
that the Windows partition is automatically mounted on bootup. Select the
Windows partition, hit the Mount button and choose /mnt/windows from the
drop-down list.

QtParted takes its inspiration from Partition Magic on Windows.


>>

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 77

LXF74.tut_begin 77 25/10/05 7:43:59 am


TUTORIAL First Steps: Organise your filesystem

>> Check the setup before confirming


4
Here is the result. From the automatic setup created in Step 2, the root partition
has been shrunk slightly, swap has been moved along and a new /home
partition created to house the previously backed-up documents. This is the
whole point of the exercise: when you come to reinstall or upgrade the Linux
system, you can simply select Use Existing Partitions and make sure /home isn’t
set to format. That way, once the system is reinstalled, the documents, mail and
other files will be exactly as you left them.
If you’re happy with everything, you’ve reached the critical step; the point of
no return. When you click Done and hit the OK button, the selected hard disk
will be completely erased and a new partition table will be written. So this is a
good time to make sure that you really have backed all your files up. Once this is
done, the installation will continue.

PART 2 – STRUCTURE YOUR DATA

After you’ve created a separate partition for /home, the


QUICK TIPS first level in the file structure is the users’ own directory. A Linux
■ If you’re using a computer system (like other Unixes) is a multi-user operating system:
on a network, it’s worthwhile everyone who uses the computer can have their own account
making /Shared available to that can be configured right down to the desktop image.
users on your network. If Moreover, each user has a folder inside /home labelled with
you’re still dual booting, it their username. You can set up user accounts at install time or
could even be sited on a
post-install, though you will need root privileges to do the latter.
Windows partition.
We have three users to add (Rita, Sue and Bob) and each of
■ To keep items in folders these will have their own password. I’ve always found it useful to
private, it is possible to save
add an extra account – and I usually do this with a very simple
documents from many Linux
password – called Shared, which I use to store documents or
applications, including
OpenOffice.org, in an
files that every user might need to access. Of course, this isn’t
encrypted format so that the place to store file downloads from your bank, but it makes
anyone attempting to access the perfect repository for digital photos, music and video files, The /Shared folder should look something like this.
the file would need to input as it saves wasting storage space by replicating files. The /
the right password before it Shared folder will be set up in a similar way to the user folders, users can drop files for each other – so if Rita wanted Sue to
was opened. though with different permissions (see Read, Write And Execute check over a piece of written work, she could drop it into
Simplified box, far right). /Dropbox and it would be accessible by all.
So we should have four user directories (Rita, Sue, Bob and To make /Shared universally accessible you will have to
Shared), which can now be populated with subdirectories for adjust the permissions for the directory. You may find that
storing various files. We’ll start with the /Shared folder. /Shared is set by default as read-only for other users, so we’ll
This is going to have three subdirectories: Music, Photos have to change the permissions as the root (or super) user. This
and Dropbox. The first two are obviously going to hold music is possible by opening either Konqueror or Nautilus in Superuser
and photos, but the third is going to be a space where the three mode, which should be under the K menu or Gnome panel in
the System > File Manager section. Once the file manager has
opened, navigate to /home, right-click on the Shared icon and
select the Properties option. Under the Permissions tab, set
each option so that Owner and Group can view and modify
content. Also ensure that the option marked Only Owner Can
Rename And Delete Folder Content is not selected, but that
Apply Changes To All Subfolders And Their Content is.
Hit the OK button and close down the superuser file
manager. You should now be able to open a normal file
manager, access the Shared directory and add, remove and
manage files within it from any account. We are creating three
directories. Right-click anywhere in the directory window, select
Create New > Folder... and enter Music as the name. Do the
same for the Photos and Dropbox folders.
The next stage is to add some symbolic links (often
shortened to ‘symlinks’) to each user’s directory so they can
access the folders within /Shared as though they were part of
Setting permissions in KDE is as simple as selecting options their /home directory. To do this, go into one of the user
from a drop-down list. accounts and open up the file manager. Now right-click

78 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.tut_begin 78 25/10/05 7:44:05 am


TUTORIAL First Steps: Organise your filesystem

anywhere within the main window and select Create New > Link So now we have a directory structure which links to a shared
To Location (URL)... to open the symlink dialog. Then use the folder and a private folder to keep all our secret stuff. All that’s
Browse button (with the small file icon on it) to open a file left is to set up sensible folders for what you might call ‘local’
selector and choose the /home/Shared/Dropbox folder. Once content – word-processing files, pictures, downloads and so on.
this is accepted, right-click on the newly arrived icon and select The best way to make sure the system doesn’t become
Properties again, but this time click on the big icon image to cluttered is to go for sensible divisions in the structure of your
open the icon browser where you can select an image home directory (and to always make sure you use the schema
appropriate for each user. you’ve set up). At the very least, you will need folders for
Now when Rita double-clicks on this icon it will open up the Documents, Downloads, Apps, Archive and Junk.
Dropbox folder within /Shared. She can open and save things ■ Documents For work in progress and documents you know
normally in this folder and can also simply drop files in there so you’ll need in the near future.
they are accessible to Sue and Bob. ■ Downloads This will probably end up full of .tar.gz and RPM
Create links to /Shared/Music and /Shared/Photos to files, sounds, desktop wallpaper and other assorted stuff. Take
ensure Rita can also access the other content too. care to clean it out occasionally.
■ Apps Some applications are distributed as static binaries. If
I want some privacy you’re the only user who needs access to them, you can store
By default, Rita’s /home directory will be accessible to the them in here. If you wanted to follow traditional Unix naming
other users on the system, though only she can change or you could call this one bin.
delete the content of any of her folders. Of course, she can ■ Archive When a job or piece of work is finished and
save documents into /Shared if she wants to let Sue and Bob discarded, shove it in here. At the end of the month, turn
read and amend them – but what if she wants to keep some the whole thing into a zip file and burn it to a CD – no more
files to herself? backup hassles.
Once again, permissions can be used to restrict Sue and
Bob from browsing into sensitive areas. In the Rita account,
■ Junk This is a paranoid step, but Junk is the space I use
before Trash – which is a prelude to unrecoverable loss. At NEXT
create a new directory and call it Private (or even PRIVATE) and
give it a nice icon. Right-click on the resulting icon and select
any given time, the /Junk folder will contain three months
of zips from /Archive and other assorted bits of nonsense. MONTH
We’ll look at ways of accessing
Properties. You can set the Permissions tab so that only the When it hits 4GB I burn the directory to a DVD and move
owner can read and write to the directory; other users are the contents to Trash. your files over a local network
forbidden. And that’s it! An organised way of working awaits... LXF (from any machine) and over
the internet.

READ, WRITE AND EXECUTE SIMPLIFIED

When talking about Linux file permissions, each file has three
Access state File Folder
possible states: read, write and execute. These states are user-
Read The user can open and view A listing of the folder contents specific, which means that the permissions may change depending
the contents of the file. No can be displayed either upon who is attempting to access a file or folder. In our Rita, Sue,
changes can be made. Many through a file manager or CLI Bob and Shared setup, for example, when Sue is trying to access /
system files you encounter command such as ls. Sue she will have read and write access, but if Bob attempted to
will be configured to allow
access it he would only have the option to view the content.
users read-only access.
Permissions can also be expressed as r (read), w (write), x
Write The user can read and edit Folder contents can be (execute) and - (deny) and these will be displayed as a nine
the contents of a file. The displayed, moved and deleted. character text string in some file managers. It’s easy to break this
owner should have these In a multi-user system it is down into three sets of three to cover owner, group and others as
privileges by default for sensible to deny other users
we did above. In the scheme rwxrw-r--, the owner can read, write
most documents in your write access to your home
and execute; members of the group can read and write; and
home directory. directory.
everyone else can only read.
Execute This permission is used for A folder can be have execute
applications or executable permissions if it needs to be
binaries. accessed by an application or
script.

Some hardened hackers might try to baffle you with numbers, but
Number Read Write Execute
number permissions are really quite easy – especially if you have a
0 handy table stuck to the wall above your computer. Each set of
permissions is given a numerical value.
1 ✔
Our /Shared directory above would have the permissions 777,
2 ✔ because it allows full, unadulterated access to the owner, the
3 ✔ ✔ group – that is, all the other registered users – and everyone else.
Rita’s
4 ✔ /PRIVATE directory (when viewed by Rita herself) would be set to
5 ✔ ✔ 700 or, in terms of a text string, rwx------.

6 ✔ ✔

7 ✔ ✔ ✔

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 79

LXF74.tut_begin 79 25/10/05 7:44:08 am


TUTORIAL Gambas

BASIC PROGRAMMING

Gambas Tips and tricks


PART 4 In his final tutorial of the series, king of the GUIs Dr Mark Alexander Bain hands over his
secrets to this Visual Basic-alike language.
Over the last couple of months we’ve looked at into the same module. You might put everything to do with
LAST different aspects of programming with Gambas. This databases, say, into a module entitled ‘Data’.

TIME
month I want to look at all those little tips and tricks
that are very useful but don’t really fit in with anything else. Don’t forget dependencies when
We’ll be building a complete config editor, putting my Gambas reusing modules and classes
Part three in LXF73 was all
about maximum application
secrets into action along the way. If you do reuse code that you’ve already written, don’t forget to
building for minimum effort. add any dependencies that the code may have. If you have
If you missed the issue, call Always have an escape route written a module for database connections you will have to add
0870 8374773 or +44 1858 I’ve said this before and I’ll say it again: before you do anything the gb.db component, and so on.
438795 for overseas orders. else, add a way of exiting your new Gambas-coded form cleanly.
Either add a button or a menu item with the code
ME.Close

■ Two Gambas
projects
containing
demo code

Even if you do nothing else with a form, make sure that


you can close it.

Group your work into modules


When you are writing a new function or subroutine, always think
about moving it into a module. This will mean that you can
easily make it available to any other applications you might have
to write. Name your modules sensibly – Module1 and Module2
might seem OK at first, but they soon become unmanageable. If you add an existing piece of code remember to add any
At the same time, try to put similar functions and subroutines required components.

80 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.tut_gambas 80 24/10/05 12:52:47 pm


TUTORIAL Gambas

Try optional and default values for TRY conn.Open


inputs to functions and subroutines IF ERROR THEN
As you write code you’ll often write functions and subroutines message (“Cannot Open Database. Error = “ & Error.Text)
that need no input. This, for example, is a simple database END IF
connection subroutine (don’t try this one – it’s a cut-down END
version for discussion only!). This time the application won’t crash if there is a problem
PUBLIC conn AS NEW Connection connecting to the database. It will just display a message and
PUBLIC SUB make_connection() then continue working quite happily – without using the
WITH conn database, of course.
.Host = “localhost”
END WITH Use properties
conn.Open Normally you can just set and read the value of a parameter.
END However, the property variable has some additional functionality
This subroutine would only work for the localhost, because associated with it that makes it very useful. This is a function
that’s what’s been hard-coded in. But it is possible to write the (_Read) and a subroutine (_Write). So here’s the quiz for today,
subroutine so that the host name is passed to it: kids: guess when they run?
PUBLIC SUB make_connection(hostName AS String) Here’s the definition for a host name property:
WITH conn PUBLIC PROPERTY Host AS String
.Host = hostName PRIVATE localHost AS String
END WITH PRIVATE FUNCTION Host_Read() AS String
conn.Open IF (localHost = “”) THEN
END localhost = “localhost”
The host name is no longer hard-coded, but must be sent to END IF
the subroutine every time it’s run. In fact, your application would RETURN localHost
now crash if you tried running it and then calling the subroutine END
without a suitable input such as PRIVATE SUB Host_Write(ipHost AS String)
make_connection(“localhost”) localHost = ipHost
You can, however, have the best of both worlds by using an END
optional parameter and giving it a default value, like so: Notice that the only public element is Host; everything else
PUBLIC SUB make_connection(OPTIONAL hostName AS is private and therefore invisible to the user. You may also
String = “localhost)
WITH conn
.Host = hostName
END WITH
“LEARN HOW TO HANDLE
END
conn.Open ERRORS THEN ALLOW THE USER
This time the subroutine will work if you supply it with a host TO CARRY ON WITH TASKS.”
name and if you don’t (in which case it will assume that you
want to use the localhost). notice that the Host_Read function sets a default value for the
Host property.
Catch errors – and stop your
application crashing Learn command line options
If you were to try adding that last bit of code to an application In this Gambas tutorial series, all parameter values (such as
and then running it, the application would crash. This is because database names and user IDs) have been hard-coded into the
we haven’t supplied enough parameters to the conn object: it programs. But you don’t have to do this if you don’t want to: if
also needs a database type, a database name, a user name and the input variables are likely to change you can supply them to
a password. the application from the command line. You will, of course,
It’s not particularly nice having your program crashing all the need some code to handle them.
time over trivial matters like this. It’s much better to handle the Anything that you send to a Gambas application is known as
errors, inform your user, and then exit cleanly, or to allow the an argument, and is loaded into an array called Application.
user to carry on with tasks that they are still able to do. For this, Args. Here’s a simple demonstration, which would have to be
you could use the TRY statement. Here’s the complete placed in the startup module:
database connection subroutine with error handling and default PUBLIC SUB Main()
input parameters: input_variables_1
PUBLIC SUB make_connection(OPTIONAL dbname AS String END
= “customers”, OPTIONAL dbtype AS String = “mysql”, PRIVATE SUB input_variables_1()
OPTIONAL dbhost AS String = “localhost”, OPTIONAL DIM i AS Integer
dbusername AS String = “bainm” OPTIONAL dbpassword AS FOR i = 1 TO application.Args.count
String = “mypassword”) IF (Application.Args[i]) THEN
WITH conn message (Application.Args[i])
.Type = dbtype END IF
.Host = dbhost NEXT
.Login = dbusername END
.Password = dbpassword If you then created an executable and ran it from a console
.Name = dbname
END WITH
with some arguments tagged on, the application would display
a series of message boxes, each containing an argument. It’s
>>

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 81

LXF74.tut_gambas 81 24/10/05 12:52:53 pm


TUTORIAL Gambas

>> not the most useful application in the word, but it does give you
a good idea of how the parameters are handled.
This next example is a little more useful – it expects you to
supply two values (in the right order), and then loads them into
global variables.
PUBLIC TargetUrl AS String
PUBLIC Database AS String
PUBLIC SUB Main()
input_variables_2
message (TargetUrl & “ “ & Database)
END
PRIVATE SUB input_variables_2()
TargetUrl = Application.Args[1]
Database = Application.Args[2]
It’s a graphical language, but Gambas can also be used to
END write command-line programs.
As I said, the variables must be entered in the right order.
But if you use flags the order doesn’t matter, thus:
PUBLIC TargetUrl AS String the INPUT statement:
PUBLIC Database AS String PUBLIC SUB Main()
PUBLIC SUB Main() DIM m AS Float
input_variables_3 m=doMultiply()
message (TargetUrl & “ “ & Database) PRINT m
END END
PRIVATE SUB input_variables_3() PRIVATE FUNCTION doMultiply() AS Float
DIM i AS Integer DIM x AS Float
DIM j AS Integer DIM y AS Float
FOR i = 1 TO Application.Args.Count PRINT “Enter x:”
SELECT CASE Application.Args[i] INPUT x
CASE “-u” PRINT “Enter y:”
TargetUrl=Application.Args[i+1] INPUT y
CASE “-d” RETURN x*y
Database=Application.Args[i+1] END
END SELECT
NEXT Change from a terminal project to a
END graphical one (and vice versa)
This time you could type myapp -u /localhost -d mysql or When Gambas asks if you’d like to create a graphical or a
myapp -d mysql -u /localhost and it wouldn’t matter, you terminal project, you may ask what the difference is between
would get the same result. the two. The answer is a single Gambas component: gb.qt.
Simply, if you enable gb.qt in a terminal project then it
Run Gambas without the GUI becomes a graphical project. And if you disable gb.qt in a
You may have realised something from the previous tip: you graphical project it becomes a terminal project.
don’t have to use Gambas just for GUIs. You can also build Easy as that.
terminal (or command line) applications. In fact, when you
create a new Gambas project you are given the option of Extract information from files
building either a graphical project (which is the default) or a In previous tutorials we’ve looked at how to access databases,
terminal one. but here’s how to access a file. All you have to do is open a file
If you do create a terminal project you will find that there is in one of four ways: read, write, create and append. It’s fairly
no Forms folder – you don’t need one, of course, as there’s no obvious what each method will do, although it’s worth clarifying
GUI. But because there is no visual output device you will need the difference between write and create. Write will empty and
to write to the standard output. Here is the obligatory ‘Hello then write to an existing file. Create will make a new file if it
World’ application: doesn’t exist, or act like write if it does. Here’s a nice example:
PUBLIC SUB Main() DIM lLine AS String
sayHello DIM pFile AS File
END OPEN “/etc/passwd” FOR READ AS #pFile
PRIVATE SUB sayHello() WHILE NOT Eof(pFile)
PRINT “Hello World” LINE INPUT #pFile, lLine
END PRINT lLine
COMPULSORY
The terminal applications can use all of the Gambas WEND
CLICHÉ... components. Apart from the graphical ones, that is. CLOSE #pFile
My apologies for including Here, the /etc/passwd file is read and it’s contents displayed.
this example, but it is part of Try INPUT to send information to a
my contract that I include at terminal application Make the most of Gambas
least one ‘Hello World’ for We’ve already seen how to use command line options with dynamic arrays
every series of articles. It’s
Gambas. These work with graphical and terminal projects. If In fact, Gambas arrays are always dynamic, so that tip title is a
apparently one of the new
you’re using a GUI you’ll obviously also have text boxes to input little misleading. Anyway, let’s spend a little time looking at how
European directives.
data. However, if you’re using only terminal input you can use to use them. Definition is easy:

82 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.tut_gambas 82 24/10/05 12:52:55 pm


TUTORIAL Gambas

DIM mArray AS NEW String[] Consider this:


This creates an empty array with no elements. Since it DIM mArray AS NEW Integer[]
contains no elements (yet) you can’t assign any values. For DIM i AS Integer Using delimiters
instance, FOR i = 1 TO 10 If you are saving data to a file
mArray[0]=”some data” mArray.Add(i) you’ll need a delimiter to
would cause an ‘out of bounds’ error. Instead you must use the NEXT separate sections of data. The
Add statement: mArray.Sort(gb.Descent) comma is a common one but
mArray.Add(“some data”) PRINT (mArray[0]) it’s best to avoid it, because if
This will tag an element on to the end of the array. However, mArray.Sort(gb.Ascent) someone types a comma as
they are entering data you’ve
you can also insert elements at the start of the array: PRINT (mArray[0])
suddenly got an extra field in
mArray.Add(“put this on the first line”,0) This code loads a ten-element array with the numbers 1 to
your database. Try to use
You can also insert the element anywhere in an existing 10. It then sorts them in descending order and then ascending something less common such
array. If you have an array with ten elements, the line order before printing out the values 10 and then 1. You may find as the pipe (|).
mArray.Add(“in the middle”,4) it interesting to change the array definition to String[] and run
will add an element at index 4 (don’t forget the first index it again. This time the values 9 and 1 will be printed out. Why?
number is 0). You will now have an array containing 11 Gambas carries out a numerical sort on the integer type but an
elements. No doubt someone will immediately try alphanumerical search on strings.
=mArray.Add(“to see what happens”,1004) The second array method to consider is Reverse. Guess
Gambas will sensibly just tag it on to the end of the array. what that does? The last array method that I’m going to look at
is Find. Do you need an explanation? Probably not. Let’s just
Quickly measure arrays work through an example instead:
And talking about the number of elements, how do you find out DIM nArray AS NEW String[]
how big an array is? Quite easily, actually. Gambas gives an DIM dArray AS NEW String[]
array two properties: count and length. They both do the same DIM lArray AS NEW String[]
job and return the number of elements with mArray.Count DIM lLine AS String
and mArray.Length. DIM pFile AS File
You can use either one to step through the array: OPEN “/etc/passwd” FOR READ AS #pFile
DIM mArray AS NEW String[] WHILE NOT Eof(pFile)
DIM i AS Integer LINE INPUT #pFile, lLine
FOR i = 1 TO 10 lArray = Split (lLine,”:”)
mArray.Add(i) nArray.Add(lArray[0])
NEXT dArray.Add(lArray[5])
FOR i = 1 TO mArray.Count WEND
message(mArray[i-1]) CLOSE #pFile
NEXT PRINT dArray[nArray.Find(System.User)]
This code simply creates an array with ten elements and The code builds on the file read code that we looked at
then displays the contents of each element in a message box. earlier. This time the username and home directories from the
You may wonder why I’ve used i-1 for the index number /etc/passwd file are loaded into arrays. Finally the usernames
instead of i. As I mentioned before the array index starts at 0 are searched for the application user’s ID, and this is then used
and therefore the ten elements are numbered 0-9 and not 1-10. to display the relevant home directory.
If you don’t like that method then you could use There’s one particular piece of code to notice: lArray =
FOR i = 0 TO mArray.Count - 1 Split (lLine,”:”). This takes a string (lLine), splits it according to
message(mArray[i]) a delimiter (in this case ‘:’ but see Quick Tip box, above, for
NEXT more) and then loads it into an array (lArray).
This time we start at index 0 and stop at mArray.Count - 1,
that is, index number 9 (since mArray.Count will be 10). Saving user options
We’ve seen how a Gambas application can accept command
Adding multiple elements line options. This can enable a user to specify how the
Now, I know what you’re going to say: you don’t want to add application operates, but does mean that the details have to be
elements one at a time, you want to create the array and then re-entered every time the application is started. How can this The accumulative result of
all these tips: a complete
write to the elements as you wish. No problem: be done automatically? The key is to create a config file that (but simple) config editor.
DIM mArray AS NEW String[] the application runs every time it starts. The application could
mArray.Resize(10) then contain a set of default settings that could be overwritten
mArray[5] = “some info” by the details in the file (if it exists).
In this example I created an array, set it to have ten
elements (using the Resize method), and then set the contents AND FOR MY LAST TIP...
of the sixth element (please note how I have manfully resisted
the temptation to use the fifth element). You’ll find the complete code for the program recommend you put in comments
As a matter of interest you can also make the array smaller we’ve been building in this tutorial on the everywhere. What you do while you’re sitting
by using either Resize or Remove. Resize is quite obvious and coverdisc. It pulls together all of the tips and coding may seem very logical, but come back
Remove simply works in reverse to Add, so it can remove the tricks that I’ve discussed and shows you just in a month or two and suddenly you won’t be
end element or delete a given index. how easily Gambas can carry out quite able to understand what you were thinking at
complex tasks. the time. Mind you, that’s probably true of
Array of tips And a final tip? Document everything that most of life. Well, at least now you’ve got
There are a few very nice methods that you may find useful you do. This tip isn’t just for Gambas, either. I’d Gambas to ease life just that little bit. LXF
when you’re using Gambas arrays. The first of these is Sort.

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 83

LXF74.tut_gambas 83 24/10/05 12:52:56 pm


TUTORIAL Inkscape

VECTOR GRAPHICS

Inkscape Master gradients


PART 1 Doing graphics in a good vector editor is not only practical; it’s also a lot of fun.
Dmitry Kirsanov shows you some advanced Inkscape techniques.

Everyone seems to be talking about Inkscape these you can select these objects to transform them or change their
days. Not only has it risen quickly to the position of the properties. In fact, editing vector images requires less black
vector graphics editor for Linux, it is also getting magic than editing bitmaps, because objects remember what
noticed on Windows and Macs too. And why wouldn’t it, being they are and are willing to tell you what you can do to them.
the only completely free vector editor of its level on any The basics of Inkscape are covered in the interactive SVG
platform? The growth of SVG (Inkscape’s native format and a tutorials that come with Inkscape itself (in the Help > Tutorials
W3C standard), in particular its support in the forthcoming menu). I especially recommend the Basic tutorial as the first
Firefox 1.5, is a factor as well. step for newcomers; when done with it, you will know the basic
Inkscape is still quite young and developing very fast. In less terms and will be able to create simple but useful graphics.
than two years of existence, Inkscape has had seven major There were also a number of Inkscape overviews and tutorials in
releases, each one delivering an abundance of new features magazines and on the Web, but most of them only cover the
and usability improvements. The latest release to date, 0.42, is bare essentials of the program.
no exception; in fact, it’s the biggest Inkscape release so far, with This series of Inkscape tutorials will demonstrate some of the
hundreds of major and minor improvements of all kinds. more powerful and less documented features recently
Many novices who start using Inkscape face a double introduced into the software. This tutorial explains one of the
challenge. Not only is the program itself new, but the concept most important new features in 0.42: the Gradient tool.
on which it operates – vector graphics – is also unfamiliar to Gradients are essential. They are the easiest way to jazz up
many people whose graphics experience is limited to bitmap that lifeless flat look that vector objects have by default. Master
graphics (most often in programs such as Gimp or Photoshop). designers can create amazingly photorealistic art using nothing
Luckily, learning to work (and eventually think) in vector but carefully laid-out gradients. We’ll cover the basic techniques
graphics is usually easy and natural. The basic idea is that (just of gradient creation and editing; then on page 88 we’ll look at
like in the real world) everything is composed of objects, and how they can be used to create professional-quality images.

84 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.tut_ink 84 26/10/05 4:36:29 pm


TUTORIAL Inkscape

PART 1 – GETTING TO KNOW THE GRADIENT TOOL

1 2 INSTALLING
INKSCAPE
Most Linux distributions
include Inkscape these days,
but usually it’s not the latest
version. You can get Inkscape
0.42 (the version used in this
tutorial) from the coverdisc,
or download it from
www.inkscape.org.

Drag to create a gradient Drag gradient handles


A gradient is a smooth transition between two or more colours. As you can see, the gradient is visualised by two square
In SVG, ‘colour’ also includes alpha (transparency); this means ‘handles’ connected by a line. The line between them is the
that you can, for example, make a gradient from opaque red to direction of the gradient; by moving the handles around, you can
transparent red (this is what the Gradient tool creates by default). freely change the direction, position, and length of the colour
Just select (or draw) an object, switch to the Gradient tool and transition. Here, both handles have been moved so that the
drag across the object. Here, we’ve applied a gradient to a solid gradient is vertical and spans the entire object. The gradient
yellow object, creating a transition from opaque to transparent. repaints itself as you drag a handle – very convenient!

3 4

Colour the handles Create an elliptical gradient


You can assign any colour and/or level of transparency to the You can create elliptical gradients with the toggle button in the
selected end of gradient, in the same way you would change the Controls bar (above the canvas). Ensure the button is pressed,
style of an object. The Fill And Stroke dialog, the Swatches, or and drag again with the same object selected. This time an
the Dropper tool all work as you’d expect. When a handle is elliptical gradient for the selected object will be created. If the
selected (blue), clicking with the Dropper tool will blend that selected object already had some gradient, the new one will use
end of the gradient into the clicked area. To deselect the handle, the old gradient’s colours; otherwise, the default opaque-to- >>
press Esc once; another Esc will deselect the object. transparent gradient will be created from the object’s colour.

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 85

LXF74.tut_ink 85 26/10/05 4:36:48 pm


TUTORIAL Inkscape

>> 5 6

Edit an elliptical gradient Tweak elliptical gradient focus


All three handles of an elliptical gradient – the centre and the A radial gradient also has a fourth, normally hidden, handle: the
two perpendicular radii – can be dragged freely in any direction. focus. This is the point where the gradient’s central colour is at
This makes it possible to move, stretch, squeeze, or rotate a its purest and thickest; normally it is merged together with the
radial gradient. By the way, if you happen to need a symmetric central handle and moves with it, but you can separate them by
linear gradient with a bell-curve profile, the easiest way to do dragging away from the central handle with Shift. The focus
this is via an elliptic gradient with one radius much longer than handle is shown as an “X”. To merge it back, just drag it close
the other, as demonstrated by the bottom rectangle. enough to the central handle and it will snap into position.

7 8

QUICK TIPS
■ Gradient handles are
editable not only in the
Gradient tool, but also in
the Node tool and in all
shape tools (Rectangle,
Ellipse, Star and Spiral).
■ Watch the status bar: it
always displays useful
information on the
selected gradient handle
and the object(s) it Draw gradient on the stroke Merge and separate handles
belongs to. Apart from the fill (interior) of an object, gradient can also be The handles of any selected objects can be merged together.
■ The Vacuum defs applied to an object’s stroke (outline). Here, the rectangle has Dragging a merged handle will affect several gradients at once.
command in the File menu an elliptical yellow-to-transparent gradient on its fill and a linear For example, you can merge the centres of two objects’ elliptical
removes any leftover black-to-transparent gradient on its stroke. Both gradients’s gradients (A), merge an elliptical handle with another object’s
gradient definitions that handles are displayed simultaneously; a visible difference linear handle (B), or merge the fill and stroke handles of the
may be lingering in your between them is that the stroke gradients use greenish same object (D). When you drag to create a new gradient with
document. It’s a good way connecting lines between the handles, while fill gradients use several objects selected, you get what looks and acts like a
to tidy things up and
blue lines. single gradient applied to multiple objects, but is in fact many
reduce the document size
gradients, with the handles of all gradients merged together (as
a bit.
in C in this illustration).

86 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.tut_ink 86 26/10/05 4:36:53 pm


TUTORIAL Inkscape

9 10 PROFILING A
GRADIENT
One gradient feature lacking
in Inkscape is gradient
profiles; that is, a way to
make the transition between
colours accelerating or
decelerating (shifted towards
one end of the gradient)
instead of monotonic. But it’s
not really fair to blame the
Inkscape team for this: this
feature is missing from the
SVG 1.1 that Inkscape
implements. You can,
however, emulate a gradient
profile by adding several
middle stops into a gradient
and shifting them slightly
from their default positions
(without changing the colours
in the gradient).

Snap handles Go beyond the handles


To make editing easier, all gradient handles ‘snap’ to the edges Outside of the gradient’s colour transition, the object’s fill or
of the object’s bounding box, its central axes, and their stroke is by default painted by the flat colour of the
continuations (shown by blue dotted lines in this illustration). corresponding gradient end. This is changeable, however. With
This makes it easy to place a gradient handle exactly where you that object (but not any handle) selected, go to the Fill And
want it. Another useful shortcut is dragging handles with Ctrl to Stroke dialog and in the Repeat list (A) select either Reflected
snap the gradient angle (that is, limit it to horizontal, vertical, (C) or Direct (D) instead of the default None (B). With this, you
and 15 degree increments in between). can easily create various striped patterns on objects.

11 12

Choose a gradient definition Create multi-stop gradients


The set of colour/transparency values that a gradient uses is The Edit button next to the gradient definitions list opens the
called its definition. Any gradient you create or edit adds its Gradient Editor window (another way to open it is to double-
definition to the list of all gradient definitions in the document, click on any gradient handle). This window is currently the only
and you can easily give any gradient a different definition. Just way to create multi-stop gradients – gradients with more than
select it from the drop-down list in the Controls bar; it will be two colours. Click the Add Stop button to create a new stop in
assigned to the gradient(s) of the selected object or objects. the middle of a gradient, then adjust the position of the new
There’s no way to save and reuse gradient definitions across stop by dragging the Offset slider and set colour/transparency
documents yet, but this is planned for a future release. There’s for it. Here, a semitransparent yellow stop was inserted in the
also no way to rename a gradient – we’re stuck with its default middle of an opaque red-to-blue gradient. >>
numeric name for now!

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 87

LXF74.tut_ink 87 26/10/05 4:36:58 pm


TUTORIAL Inkscape

>> PART 2 – PUTTING GRADIENT TECHNIQUES INTO PRACTICE

The layered water drop Feathering edges with gradients


Designers often overlay several objects with semi-transparent If you want to fade out or ‘feather’ the edge of an object, you
gradients. This image is actually a group of six objects with don’t have to apply a colour-to-transparent gradient to it. An
various elliptical gradients. Use Alt+click or Alt+Ctrl+click to overlay object in the same colour as the background with an
examine what layers make up a composite image like this; opaque-to-transparent gradient is often much easier to create
watch the status bar for the description of the currently selected and maintain. In this example, four gradient overlays on the
object, and leave the Fill And Stroke dialog open to see its style. edges of a bitmap feather it out on a white background.

NEXT
MONTH
We’ll look at one
Shading by ellipses Glass half-full!
Sometimes you don’t even need to edit gradients to get the For a final example, consider how this intricate semi-transparent
of the most powerful result you need. Here, to get from A to C, the Gradient tool was glass was done (it’s a public domain image from
Inkscape features:
only used twice: to create opaque-to-transparent elliptical www.openclipart.org, a highly recommended resource for
clones.
gradients on two ellipses, one white and one black (B). Then, a designers). It consists of 12 objects with various linear and radial
total of 29 clones (linked copies) of these shader ellipses, gradients. Note that some handles are merged, the bottom
variously scaled and rotated, were used to add depth and shadow objects use eccentric foci (A), and the rim of the glass
expressiveness to the cartoon face. is made with a gradient on stroke (B). LXF

88 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.tut_ink 88 26/10/05 4:37:03 pm


TUTORIAL Emacs

ADVANCED EMACS TEXT EDITING SERIES

Emacs Fun with extensions


PART 1 All work and no play makes Biagio Lucini a dull boy – time to lighten up.

Did I ever mention that Emacs is extensible? To clear provided. You will also need W3 installed on your system (ftp://
any doubt, I’ll say it here: Emacs is extensible. And ftp.xemacs.org/pub/xemacs/emacs-w3).
just to be sure that you got the point, let me repeat it:
Emacs is extensible. Dict-web.el
Yes, just as it’s possible to run a global crime ring while WEB: http://purl.org/net/emarsden/home/downloads
never leaving your underground cave lair, it’s quite possible to CATEGORY: Utilities
browse the web, play games and listen to La Traviata without Are you ever unsure of the meaning of an obscure word? This
leaving your favourite text editor. To put this to the test, in this will happen to you more often than it should if, like me, you are
instalment we will take a look at the top ten Emacs extensions not a native English speaker and have to deal with the
not distributed with the editor (the selection is entirely comments of a magazine’s production editor every month. The
subjective), leaving in our wake the widespread belief that solution? This very nice Emacs extension. Select a word in the
Emacs is just a text editor. The Loading Simple Extensions box, buffer, then type
right, gives brief instructions on how to make them work (more M-x dict
details will follow in the next instalment). Most are Elisp files You will be prompted for a word to enter; the one you selected
(.el), the language in which most of Emacs is coded. will be the default. Press Enter and an explanation of the word
So what are we waiting for? Let the fun begin! will pop up. Since this extension uses www.dict.org, you will
need to be connected to the internet, and more than that, the
Calculator.el Emacs web browser W3 (ftp://ftp.xemacs.org/pub/xemacs/
WEB: www.barzilay.org/misc/calculator.el emacs-w3) needs to be installed.
CATEGORY: Utilities
One of my favourite Unix tools is the simple but powerful Emacs-wget
command line-based calculator Bc. Still, until I discovered this WEB: http://pop-club.hp.infoseek.co.jp/emacs/emacs-
extension, I had to leave Emacs and switch to an Xterm wget
whenever I needed to use it. Now I can have the numbers CATEGORY: Internet
displayed right in my editor. Wget is a favourite old command-line tool for retrieving
To call the calculator function, it is just matter of executing websites. Hang on a minute, did I say command line? Sorry, I
M-x calculator <RETURN> meant Emacs. If you don’t believe me, try this extension. Once
Then, you can start to add, subtract, multiply it is correctly set up, execute
and so on. The results will be displayed in a M-x wget
dedicated buffer. and enter the URL to retrieve. Not only does wget correctly
work from within Emacs, but the output displayed in the
Coffee.el minibuffer is also identical to that of the shell.
WEB: http://purl.org/net/emarsden/home/
downloads Erc.el
CATEGORY: Amusements WEB: http://sourceforge.net/projects/erc
Of course Emacs can brew coffee! Sceptical? CATEGORY: Internet
Then load this extension and run Emacs as an IRC client? Why not? Install this extension, then
M-x coffee add to your .emacs file the lines
Answer the questions (using Tab will display (require ‘erc-auto)
the available options), go to the coffee (autoload ‘erc “erc”)
machine and collect your deserved hourly and execute
dose of caffeine. Warning: the required M-x erc-server-select
What other editor enables you to play RFC2324-compliant coffee machine (see The data that needs to be inserted should be familiar if you’re a
games between coding sessions? ftp://ftp.isi.edu/in-notes/rfc2324.txt) is not habitual user of this network.

90 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.tut_emacs 90 24/10/05 1:22:23 pm


TUTORIAL Emacs

Links.el QUICK TIP


WEB: http://lists.gnu.org/archive/html/gnu-emacs- ■ To bind the function
sources/2002-01/msg00017.html myfunction to a key
CATEGORY: Internet combination (C-q, say), run
This extension transforms Emacs in a web browser, using Links M-x global-set-key <ENTER>
as an engine (hence Links must be installed on your system). C-q <ENTER> myfunction
After loading the extension, from a buffer, try Now every time the key
M-x links-browse-url combination C-q is pressed,
myfunction is executed.
At the prompt, specify a web address, such as www.
linuxformat.co.uk. This will show the website content on a ■ By default, Emacs
new Xterm. If you want the content displayed in a dedicated extensions are stored in
/usr/local/share/emacs/21.4/
Emacs buffer, replace links-browse-url with links-browse-url-
lisp and its subdirectories
within-buffer. Now the content of the website is editable, but
(this applies if you installed
you can’t follow the hyperlinks. Emacs from source). A listing
in those directories will
Mldonkey.el After all that work, Emacs will even make you a coffee. indicate which extensions are
WEB: www.physik.fu-berlin.de/~dhansen/mldonkey already available.
CATEGORY: File sharing ■ Instructions on how to use
File sharing is a revolutionary concept of recent years that has Nero.el an extension are provided in
met the enthusiastic consensus of the users. Although accused WEB: www.ma.utexas.edu/~jcorneli/a/elisp/nero.el the first lines of its .el files in
of aiding piracy, there are many cases in which its use is CATEGORY: Internet the form of comments (lines
perfectly legal, and here we want to refer exclusively to those. Do you like Lynx more than Links? And do you think that starting with ;;).
Before BitTorrent received its deserved success, one of the you should be able to browse a website from within your ■ Many default Emacs
most used platforms was eDonkey. MlDonkey is a popular Emacs buffer? Then nero.el is the extension you are looking extensions are directly
interface for eDonkey on Linux. But MlDonkey is also able to for. For instance, accessible from the Tools
access other networks and supports other protocols – M-x nero-browse-url <ENTER> www.distrowatch.com <ENTER> menu. Tools > Games > Tetris
will transform our editor into
including the aforementioned BitTorrent. will keep you current with the latest news in the distro world,
the favourite puzzle game.
If you are looking for an alternative way of keeping track of all from inside your editor.
your MlDonkey downloads, why don’t you give mldonkey.el a ■ Debian Sarge users can
try? Aside from monitoring, this extension is particularly useful Ssh.el install some nice additions by
apt-getting the package
for controlling the core of the application. Handle with care WEB: ftp://ftp.splode.com/pub/users/friedman/emacs-lisp/ssh.el
emacs-goodies-el.
and read the instructions carefully before using it. CATEGORY: Networking
■ Emacs and XEmacs come
This is very simple to use. Just execute
with different extensions
Monk M-x ssh <ENTER> myusername@myhost.com
installed by default. Third-
WEB: www.asahi-net.or.jp/~pi9s-nnb/monk and insert the password. You will be connected to myhost.
party extensions sometimes
CATEGORY: Multimedia com in an Emacs buffer. One caveat: the password you will depend on other other
Ultimately if we want to win over all users to Emacs, we should type in will be echoed in clear, so use it only when no one can pre-installed extensions.
also provide decent multimedia applications. One that definitely watch you. Just remember that Emacs
fits in this category is Monk. This is a front-end for various and XEmacs will have
command line multimedia applications (including Ogg123, Just the beginning… different extensions.
Timidity and Mpg123). To use it, install the extension, add One of the zillion hilarious jokes about Emacs says that our
(autoload ‘monk “monk” nil t) editor “is a good operating system, but Unix has more
to your .emacs, open a new Emacs window and run applications”. Is that really still the case? Just take a look at the
M-x monk Elisp catalogue at www.damtp.cam.ac.uk/user/sje30/
Insert the name of a playable file (including the path) and relax. emacs/ell.html, and you will realise that there is hardly an YOUR FEEDBACK
If you just hit Return, monk will attempt to play an audio CD. aspect of Linux that can’t be accessed from within Emacs. True, I’d welcome your comments
Don’t forget to insert one! the interface doesn’t have any of the bells and whistles of on this series and any Emacs
modern desktop environments, but we’re proved the point that questions. Send them either
Emacs is one of the most versatile and useful apps out there. to lxf.letters@linuxformat.
LOADING SIMPLE EXTENSIONS Try it for yourself: load a bunch of extensions that cover your co.uk or directly to me at
most-used tasks, open an Emacs windows and try to do biagio.lucini@gmail.com.
Emacs comes packed with several Elisp extensions that cover
everything without leaving it. Need SSH? Execute C-x 2, move
many aspects of text editing and interfacing with command-line
tools. Its initialisation routines take care of loading the default to the lower buffer and open SSH with the command M-x ssh.
extensions. But how can the editor know about the third-party Need another application? Just superimpose another buffer.
extensions that we are using in this series? If the extension Don’t need a task any longer? Kill the corresponding buffer.
consists of a single self-contained file the easiest way is to execute Thanks to the Emacs telepathy.el extensions I know
M-x load-file <ENTER> /path/to/file
For instance, suppose that we put all our favourite extensions in a
what you’re thinking: this is really cool and will gain me
several geek points, but what’s the point in 2005 when NEXT
directory called elisp below our home. To load the Nero extension,
we’d need to execute
M-x load-file <ENTER> ~/elisp/nero.el
fully fledged desktop environments shine all around us?
Well, several times in my tutorials I have been saying that MONTH
Pre-installed extensions,
everything is possible with Emacs, and I decided that the
Some extensions might require external tools. For instance, nero. adding new ones and how to
time had come to prove it to you. Now, if Emacs is a fair
el, used in the above example, makes use of the Lynx web enforce Emacs to load a
browser, which should obviously be installed for this extension to IRC client, a nice web browser and a reasonable SSH
particular extension.
work at all. client, can you imagine how far ahead of the pack it is
when it comes to text editing? LXF

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 91

LXF74.tut_emacs 91 24/10/05 1:22:27 pm


TUTORIAL PHP

SCRIPT PROGRAMMING

PHP Grokking the Google API


Ha-ha thisaway, ha-ha thataway - Paul Hudson picks up some SOAP for the first time
in years and gets jiggy with WSDL.

Ostagazuzulum! No, that’s not me mashing my leaves Google. So friends, in this tutorial we will use PHP and
LAST keyboard randomly or indeed me sneezing into Web Services to send queries to Google and use the results in

TIME OpenOffice.org. Back in the nineties, the British


Broadcasting Corporation produced a marvellous program for
our scripts. This isn’t exactly making an elephant disappear, but I
defy anyone to say that Google isn’t powered by pixies…
kids called Wizbit. It was about a large, yellow magic hat Google opens its system to Web Services only if you have
Scripts in LXF73 showed the
speed-enhancing wonder of (Wizbit) who could fly around and do magic. Surreal, I know. registered with them for an account. Go to www.google.com/
PHP 5.1’s new toy, PDO. If Wizbit had two catchphrases: “Ostagazuzulum” (his magic word apis and click Create Account to sort this out – you may need
you missed the issue, call to Make Things Happen), and “Think about it”, which is what to use a fresh email address if it refuses to sign you up. Once
0870 837 4773 or +44 1858 he’d say when he presented the audience with a puzzle they you have an account, you’ll be emailed a developer key that
438 795 for overseas orders. needed to solve. allows you 1,000 Google queries every day. Put that in a safe
Of course, we all know that any sufficiently advanced place, as you’ll need it later.
technology is indistinguishable from magic, so this month we’re
going to be doing some tricks of our own: we’re going to use A beginner’s trick
SOAP, WSDL, XML and Web Services to magically conjure up Put on your magicians hat and get ready to make some magic.
all sorts of neat things. Yes, I know I just used four buzzwords in We’re going to be using the SOAP extension from PHP 5 to
succession, but never fear: I’m going to explain what they do read the Google WSDL file, then use that data to send a query
and why we need them, and you’ll be eager to get started, off to Google. The WSDL file for Google is available from
capiche? Say “Yes, Paul!” http://api.google.com/GoogleSearch.wsdl – go and
S download that, then save it in your script directory. Now create
■ Because SOAP and WSDL
The props the file google1.php, and type in the following:
use XML, you can just dive in
So, the first of the four key ingredients to our magic is SOAP, <?php
and read them by hand, which stands for Simple Object Access Protocol. This is a $soap = new SoapClient(‘GoogleSearch.wsdl’);
rather than relying on PHP to lightweight protocol for exchanging information over HTTP, and var_dump($result = $soap->__getFunctions());
parse them. means we can send a query to a server and receive back ?>
■ PHP can also set up SOAP usable information. WSDL stands for Web Service Definition Only two lines, but you’ll find this kickstarts your entry into
servers, but you’ll find Language (pronounce it “Wiz-dull” – not, uncoincidentally, the world of Web Services. The first line creates a new
dragons there. dissimilar to “Wizbit”), and it describes the interfaces available SoapClient object, which is what we’ll be using to send and
■ When creating your for you to use with SOAP. receive data. The constructor for this class takes a WSDL
SoapClient object, you can XML you already know, but here it’s being used for the definition file that tells it what functions can be used and what
pass in special options as an SOAP and WSDL so that all the data is easily parsed on both parameters you can pass in; we give it the Google API WSDL
array in the second ends. When you combine them all, you have Web Services: we file so that it loads the Google functions for us. Line two calls
parameter, such as the SOAP can query a server to see what it can do, send it data, receive the _ _ getFunctions() magic function. This returns an array of
version to use. back the results and print them to the screen. the functions available to our new SOAP object, and you’ll get
■ If you don’t want to bother Now, think about it: what kinds of things might we want to output like this:
with WSDL, it is still possible query on the web? Well, a number of possibilities spring to array(3) {
to use SOAP by using the mind: we could query Amazon to read its database of products, [0]=>
_ _ soapCall() function and
we could pull up share price information for companies or we string(54) “base64Binary doGetCachedPage(string $key,
telling it the name of the
could do something more fun like querying Google. No one string $url)”
function to call.
cares about book sales and share prices are for weenies, which [1]=>

92 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.tut_php 92 24/10/05 1:22:48 pm


TUTORIAL PHP

string(56) “string doSpellingSuggestion(string $key, string here because the descriptive names (eg $output_encoding)
$phrase)” makes it clear how the function works. The return value from FOUR COOL
[2]=> doGoogleSearch() is a class that contains a variety of WEB SERVICES
string(178) “GoogleSearchResult doGoogleSearch(string information, so what that script does is just print it out so you TO TRY…
$key, string $q, int $start, int $maxResults, boolean $filter, get an idea what Google lets us play with.
■ Amazon
string $restrict, boolean $safeSearch, string $lr, string $ie, Here’s part of the output: If book sales floats your boat,
string $oe)” stdClass Object go to www.amazon.com/gp/
} ( aws/landing.html and check
That reads just like PHP function prototypes. For example, [estimatedTotalResultsCount] => 2290 out Amazon.com’s
the second function is called doSpellingSuggestion, it takes [resultElements] => Array e-commerce service.
two parameters ($key and $phrase, both strings), and returns ( ■ eBay
a string. We’re interested in the third function, [0] => stdClass Object Link in to the world’s most
doGoogleSearch(). As you can see, it takes quite a few ( popular auction marketplace
parameters, several of which are named rather obscurely. Here’s [URL] => http://www.hudzilla.org/php/index.php using SOAP and WSDL:
what they all mean: [snippet] => <b>Hudzilla</b>.org - the homepage of http://developer.ebay.com
■ $key This is the unique developer key Google assigned to Paul Hudson ■ Flickr
you for your personal use. You shouldn’t share this with others, [title] => Practical PHP Programming Want to learn how to query
as this key has only 1,000 searches a day. [cachedSize] => 68k your online photo blog?
Check out the instructions at
■ $q This is the query you want to send to Google. )
www.flickr.com/services/api
■ $start The point at which you want the results to start. For You’ll get a lot more data back from your query, but in print
example, setting this to 1,000 would skip the first 1,000 results. every second counts so we’ve printed only the first 12 lines. We ■ Yahoo
Go shopping, check air fares,
■ $maxResults The maximum number of results you want get estimatedTotalResultsCount, then a resultElements
and draw on Yahoo! maps all
returned. Note that Google limits this to ten, which means you array containing each of the results. Our query asked for only
from one developer network:
need to use the $start parameter and multiple calls to get five results (see the $max_results variable), which means we’ll
http://developer.yahoo.net
more than ten results to your query. get no more than five results in the resultElements array.
■ $filter Should Google ignore multiple hits from the same These are ordered numerically, so the first hit is at index 0, the
site, or multiple similar hits from different sites? second hit will be at index 1, and so on. For each result we have
■ $restrict Should Google restrict your search to a certain a URL, a title (the HTML <title> tag for the page), a snippet (the
category or country? first few words from the page’s body text) and the size of the
■ $safeSearch Do you want to return adult content? page in Google’s cache. With a bit of brainpower, we can loop
■ $lr Allows you to set a language restriction. our way through the returned array, and output the results in a
■ $ie Used to set the input encoding. This is ignored now, so neatly formatted way:
set it to be blank. print “Search for $query complete - {$result->estimatedTo
■ $oe Used to set the output encoding. This is also ignored talResultsCount} estimated results.\n”;
now, so set it to be blank. foreach($result->resultElements as $search_result) {
Yes, it requires quite a few parameters to be able to call print “ {$search_result->title}\n”;
such a simple function, but it’s great to have all that flexibility print “ {$search_result->URL}\n”;
available to you. Now, let’s try using it… print “ “ . strip_tags(htmlspecialchars_decode($search_
result->snippet)) . “\n\n”;
Hudzilla out of the hat }
With the all-powerful doGoogleSearch() at our fingertips, Most of that’s quite
here’s some new code to try out: obvious, with the exception
<?php being the last line that gets
$soap = new SoapClient(‘GoogleSearch.wsdl’); printed. Google returns its
$key = “YourSpecialGoogleKeyHere”; data ready to be printed into
$query = “Hudzilla”; a web browser, which means, for
$start = 0; example, that it highlights search terms
$max_results = 5; in bold. Some websites also use
$filter = false; characters like &gt;, so we change
$restrict = “”; them to their non-HTML equivalent
$safe_search = false; (>, in this case), then strip out any
$language_restrict = “”; HTML tags so it’s suitable for printing on
$input_encoding = “”; the command line.
$output_encoding = “”; Go ahead and run the script now, shout “Ostagazuzulum!”
$result = $soap->doGoogleSearch($key, $query, $start, to the mystery of those in the cubicles around you, and
$max_results, $filter, $restrict, $safe_search, $language_
restrict, $input_encoding, $output_encoding);
you’ll see output like this:
Search for Hudzilla complete - 2340 estimated results. NEXT
if (is_soap_fault($result)) {
print “Your query failed: {$result->faultstring}\n”;
Practical PHP Programming
http://www.hudzilla.org/php/index.php MONTH
Next month we’re going to
} else { Hudzilla.org - the homepage of Paul Hudson
expand our linguistic horizons
print_r( $result ); I think you’ll agree that was remarkably easy. The
and discover the mystery of
} power of WSDL means you don’t need to know what
multi-byte strings.
?> functionality Google offers you; the power of SOAP
This time I’ve used variables to store all the parts of the means you don’t need to care how data is sent or
SOAP call. Obviously this isn’t needed: in your own scripts, you received, and the power of PHP means we can do it all
can just place the values directly into the call. I’ve used variables in just a few lines. That’s magic! LXF

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 93

LXF74.tut_php 93 24/10/05 1:22:54 pm


ANSWERS

Answers
If you really are stuck and the HOWTOs yield no good result, why not write in?
Our resident experts will answer even your most complicated problems.

OUR EXPERTS You have 0 messages

Q
I tried to review
Whatever your question, we can /var/log/messages and
answer it. From installation and found the file to be
modem woes to network admin, empty. Listing the
we will get the answer for you –
contents of /var/log I found
just fire off a letter or email and it'll
all be taken care of. /var/log/messages to be dated two
days ago while /var/log/messages.1
was dated today. I created a few
Having run a small entries using logger and saw that
ISP and produced
my messages were in fact being
coverdiscs for
Linux Format, written to /var/log/messages.1.
Neil Bothwick I rebooted the system and from
describes himself then on new entries were being
as a Linux jack-of-all-trades. written to /var/log/messages. I have
checked the Syslog configuration at
Hans Huberland /etc/syslog.conf and confirmed that
is Rackspace messages were meant to be written /etc/cron.daily/logrotate, while Use Synaptic to install any software
Managed Hosting’s to /var/log/messages. Am I /etc/logrotate.conf and the included you want, including missing
Linux expert and a overlooking something? I run Red /etc/logrotate.d/* files dictate which libraries for SuperTux (below).
real-life system
Hat Enterprise Linux 4. logs are to be rotated and how often.
administrator on
call for your questions. Dave E Inspecting the logrotate
On Unix filesystems, ‘inodes’ configuration file illustrates how, after
Send your questions for our experts to:
Linux Format, Future Publishing,
30 Monmouth Street, Bath BA1 2BW
or email: lxf.answers@futurenet.co.uk.
Got a sysadmin query? Send it to Hans
at sysadminqa@rackspace.co.uk.
A describe the type,
permissions, ownership,
timestamps and the data
that make up a file. In fact, the
filename is just a link in a directory
log files are renamed, new log files
are to be recreated. Also, /etc/
logrotate.d/syslog dictates that
Syslogd is to be restarted to reload
the configuration while closing and
to the inode as identified by its reopening all log files for append.
inode number. This last step must have failed, and
Submission advice The Syslog daemon, Syslogd, is Syslogd kept on appending to the
● Please be sure to include any relevant
responsible for the entries written to inode linked by /var/log/messages Obviously I am missing
details of your system. “I can't get X to
work” doesn't really mean anything to us if /var/log/messages. Using lsof, it is the last time Syslogd had been something. But what?
we don’t know things like what version of possible to determine the inode that properly restarted. Rebooting restarts Bruno Van Bogaert
X you are trying to run or what hardware corresponded to /var/log/messages Syslog, which is why the issue was, on You are missing the SDL_
you are running on.

● Be specific about your problem. Things like


“it doesn't work” or “I get an error” aren’t
all that helpful. In what way does
when you started Syslogd, like this:
syslogd 3579 root 1w REG 3,5
926461 7898395 /var/log/
this occasion, resolved. HH

Run, SuperTux, run! A image library. This is used


often in games; so often
that we have it in the

Q
messages I have just installed Essentials directory of the DVD,
something not work? What were you
expecting to happen? What does the error
Calling ls with -lai includes the Debian 3.1 and although not as a Debian package.
message actually say? inode number in the listing, giving everything seems OK. The easiest way to install this (or
7898395 -rw------- 1 root root But then I tried to install almost any other package) is to run
● Please remember that the people who
write this magazine are NOT the authors 933307 Sep 14 20:13 /var/log/ the game SuperTux that came with Synaptic by selecting System >
or developers of Linux, any particular messages your LXF71 DVD using the Package Manager (Synaptic Package
package or distro. Sometimes the people It follows that Syslogd will keep on Autopackage installation. Manager) from the K menu, click on
responsible for software have more writing to the same inode regardless Everything seemed to work, but Search and type sdl-image. Tick the
information available on websites etc. Try
reading the documentation!
of any link name change, be it a now when I try to start it up I get box by the package and click Apply to
rename or a deletion. the following message: install it. SuperTux should now run.
We will try to answer all questions. If we don't
The link /var/log/messages should bruno@tux:~$ supertux If you ever have another program
answer yours specifically, you'll probably find
we've answered one just like it. We can't
have been rotated to /var/log/ supertux: error while loading shared complain about a missing file, go to
really reply to all your questions. messages.1 by Logrotate. Under Red libraries: libSDL_image-1.2.so.0: http://packages.debian.org and
Hat ES 4, logrotate is run daily as cannot open shared object file: No follow the link to Search The Contents
specified by the crontab entry such file or directory Of Packages. This page is so useful it

94 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.answr 94 25/10/05 7:40:22 am


ANSWERS

deserves a bookmark even if you don’t in the Logrotate man page.


use Debian, as it provides a good clue The first line specifies the files to ALL ABOUT RACKSPACE
as to which package would contain a be rotated; the next two lines cause
particular file in any Linux distribution. logrotate to move on if the log file is LXF Sysadmin
Answers – in
NB missing or empty; sharedscripts
association
means that the prerotate (not used with Rackspace
Stardate 2005.8.2 here) and postrotate functions are Managed
Hosting

Q
I’m running a box with run once for all files matching the
SUSE 8.2 (yes, I know – pattern, instead of once for each file.
it’s very old) and Xampp The postrotate section specifies the
[the Apache distro]. How action to be taken after rotation. In
I can get Xampp’s log files into the this case, it reloads Apache’s
log rotation possibilities of SUSE? configuration, which causes Apache to
They are growing and growing. release its locks on the old files and
From the forums start logging to new files. When it comes to managed hosting the outset and will remain on your
Rackspace is unique. We are the only account. All Rackspace employees are
I take it from your question You may need to change the path

A
hosting company to guarantee 100% committed to ensuring customer
that you already have to the log files, and you might also
network uptime and we will even satisfaction, and they will not rest until
Logrotate running and have to replace /etc/init.d/apache2 pledge to replace faulty hardware (let’s a client problem is resolved.
successfully rotating other reload with apache2ctl restart or face it, it does happen) within an hour. Since Rackspace was established in
log files, which are normally apachectl restart. You can also add As you would expect from Red Hat’s 1998, it has specialised in managed
configured in /etc/logrotate.d. You options to this file to set how often the only Advanced Hosting partner you will hosting – nothing else. We’re not an ISP,
need to add a file to this directory for logs are rotated and how many receive Fanatical SupportTM and instant we don’t sell domain names, and we
each set of log files you want to rotate. rotations are given. emergency response from fully- won’t offer website design – all we do
Yes, SUSE 8.2 is rather old; and you Otherwise the defaults will be used qualified level three technicians, is managed hosting. As a result, we do it
do not say which version of Xampp (four rotations given once a week). For available 24 hours a day, 365 days a very well and 97% of our customers
year. No answering machines, no would happily recommend us.
you are using, but this configuration example, the lines
diversions, no silly on-hold messages. For information on how we can
file will rotate the logs for Apache 2 if daily
All our customer platforms are improve your web hosting, please
they are stored in /var/log/apache2: rotate 7 housed in state-of-the-art, secure data contact us at www.rackspace.co.uk
/var/log/apache2/*log { will rotate the logs daily and keep the centres and can be fully customised to and ask any questions you have about
missingok last seven logs. NB meet any requirement. A dedicated the ultimate managed hosting service.
notifempty account manager is allocated to you at See page 98 for Rackspace’s star letter.
sharedscripts Transfer corruption

Q
postrotate We are getting very
/etc/init.d/apache2 reload > /dev/null strange corruptions does not match that of the source. IDE disk and associated cables have
2>&1 || true whenever we download My colleagues argue that this is a been replaced and the operating
endscript files bigger than 100MB hardware failure, but the vendor system re-installed without any
Save this as /etc/logrotate.d/ on to a new server running Red Hat insists that this is not the case. We errors. However, on downloading
apache2, and the logs should be Enterprise Linux ES 3. The files have looked through /var/log/ massive attachments we started
rotated the next time your machine download to the server without messages and dmesg for signs of experiencing the same errors. We
runs Logrotate (usually on a daily Cron reporting any errors, but the MD5 errors but could not find any. are very confused.
job). The options are documented fully checksum of the downloaded file As an act of goodwill, the single Raphael
I have come across a very

A QUICK REFERENCE TO:


Hardware drivers can be a real pain for
NDISWRAPPER
distros include NdisWrapper, or you can
A similar situation just once.
The issue was inconclusively
diagnosed as a faulty
motherboard, potentially the onboard
IDE controller. To rule out any transfer
Linux users. If the manufacturer does not get it from http://ndiswrapper. issues we transferred the file over SSH
release the specifications of its hardware, sourceforge.net. Install it using your (SCP or SFTP). With the issue still
it can be difficult, if not impossible, to distro’s package manager, then load in present a 512MB file of random data
reverse engineer the information needed the Windows driver. Look on the CD that was generated locally:
to write a driver. came with the card for the INF file that $ openssl rand 536870912 -out
True, a few manufacturers are corresponds to your card, and load it as
testdata.0
enlightened enough to release Linux root with
The generated file was then copied
drivers or information, but most are ndiswrapper -i /path/to/driver.inf
over another four times to create a
content with ensuring their product You can check that it is correctly
works with Windows. loaded and available to NdisWrapper with test sample:
While it would be nice to be able to ndiswrapper -l $ for FOO in 1 2 3 4; do cp -v
boycott such hardware, there’s not much Now it’s possible to load the driver at testdata.0 testdata.${FOO}; done
you can do if your laptop’s integrated any time with The MD5 checksum for the five
wireless card has no Linux driver – modprobe ndiswrapper You can see what is happening ‘theoretically identical’ files was
returning the laptop is rarely an option. Add NdisWrapper to whichever file with your wireless card with computed and compared:
NdisWrapper is a driver wrapper that your distro uses for loading modules at NdisMonitor, available from
$ md5sum testdata.?
cleverly emulates the Windows Network startup. This varies between distros: http://ndismonitor.sourceforge.net.
In this case the MD5 checksums
Driver Interface Specification for wireless Mandriva uses /etc/modules, SUSE uses
did not match. As in your case, the
drivers, so that it can run the Windows
driver that came with the card. Most
one file for each module in /etc/modules.
d and Gentoo uses /etc/modules.
autoload. Your distro’s documentation
should tell you the correct approach.
disk was replaced but the problem >>
was reproduced. However, when the

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 95

LXF74.answr 95 25/10/05 7:40:27 am


ANSWERS

FREQUENTLY ASKED QUESTIONS USERS & SUPERUSERS


FAQ I’ve just installed Linux from a Knoppix CD to see you try to run SUSE’s Yast system
for the first time. Why whether all its hardware is configuration tool or the Mandriva
did I have to create two users? recognised and configured – an Control Center, you will be asked for
One of those users was the root user instant Linux compatibility test. the root password. For any other
(or superuser), which should be used Live CDs are also program, open a terminal, type su,
only for administration. The other was useful for disaster give the password and run the
a normal user for general system use. recovery and program by typing its name.
other
FAQ Can’t I administer the maintenance. If FAQ I am the only person
system as myself? you made a using this computer.
Linux uses file permissions to control mistake editing a Do I really need to log in
KDE (above) and Gnome
who owns each file or directory and (right) allow you to critical file and every time?
who can read or write to it. Each user automatically log one your Most distros now have an option to
has their own home directory, where user in at startup. computer won’t automatically log in a specific user
they do as they please, creating and start up, boot a Live CD and fix the (not root!), which is convenient if you
deleting files to their heart’s content. FAQ Why not work as the damage. If you want to swap your hard are the only user of your computer
Elsewhere, each user is allowed to root user all the time to disk for a larger model, connect both (see illustration, left). If you use the
read files and run programs, but not avoid this hassle? and boot from MEPIS to prepare the KDE desktop, you can set this in the
change or delete them. This provides The root user can do things that can new disk and copy over all your data. System Administration > Login
safety and security. When you’re be dangerous to the system. This Manager part of the KDE Control
logged in as a normal user you can’t applies not only to anything you do FAQ So I need to log out and Centre. Gnome users should select
accidentally delete system files, and directly as root, but also to anything log in again as root Desktop > System Settings > Login
even executing a malicious email done by any program run as root. If when I need to install a Screen from the main menu bar and
attachment won’t harm the system, you are running as root, so are your program or similar? That enable Automatic Login on the
because a normal user does not have mail program and web browser. sounds a lot of trouble. General tab. Think twice about
the permissions that the virus needs You don’t need to log out, nor should enabling this on a laptop: if the
to damage your system. When you FAQ What are the benefits of you ever log into the full desktop as computer is lost or stolen, anyone
really do need admin access, say to Live CDs? root (some distros are configured to switching it on will have access to your
install a program, switch to the root You can run them anywhere, on any prevent this): you only need to run the emails and other private information.
user until the job is done, then switch computer capable of booting from a individual program as root. Many Asking for the password each time
right back. CD. Want to buy a new laptop? Boot it programs are already set up this way. If gives some protection against this..

>> motherboard was swapped the running distro A? If so, would there
problem went away. be any issues such as latency and
The Kernel-utils package on ES 3 responsiveness?
provides the Smart Monitoring Fred Quintana
Daemon, which can monitor the ‘Self- There are several options for
Monitoring, Analysis and Reporting
Technology’ system built into most
modern-day ATA drives. Using Smart
it may be possible to single out a
failing disk before it actually commits
A this, most of which involve
some sort of emulation.
Which one you choose
depends on how much effort you want
to put into it, and whether you want to
suicide. You could also try disabling spend any money!
DMA and repeating the process: The easiest, and most expensive,
# /sbin/hdparm -d0 /dev/hda solution is the commercial VMware
HH Workstation 5, which received a
favourable review in LXF68. Although
Distro in a distro often perceived as a means of

Q
I would like to find a way running Windows on Linux, or vice
to use two distros at the versa, it is very good for Linux on
same time without Linux and is how I test software on
rebooting. Is there a various distros. The VMware website is
Installing Fedora Core into Qemu (which is running on Gentoo) gives you
program that allows a user to boot at www.vmware.com. This is a two distros without dual booting.
up another distro when already in virtual machine that does not try to
another? For example, if I had a emulate a processor, so it achieves available now, which turns it into a ideal for your needs. Qemu is available
dual boot PC running distro A with near native speeds. VMware-like virtual machine when from http://fabrice.bellard.free.fr/
distro B installed on a separate The next alternative is Qemu. This emulating a PC on a PC. It’s slower qemu. Qemu is open source, but the
partition, would there be a way to
boot up a distro B session while
started life as a processor emulator,
but there is an accelerator module
than VMware, even with the
accelerator, but it is free, and could be
accelerator module is only free as in
beer (it’s proprietary).
>>

96 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.answr 96 25/10/05 7:40:29 am


ANSWERS

A MANDRIVA SPECIAL... SPECIAL!


Down with updates marked Look At Available Updates... only the minimum

Q
I’ve been trying to is for online updates. NB number of
install Mandriva from packages. The
the LXF Mandriva Partitions squeeze bottom of the

Q
Special. It loaded and it I’m running Mandrake package selection
runs but I cannot add the updates 10.1 on one of the window shows
disc. I’ve followed the instructions partitions of my PC. I how much space
in the magazine, attempting to bought the LXF your selected
load it in via the Mandriva Control Mandriva Special with the Mandriva packages will
Center and RPM. When it scans the discs and started installation. At occupy. Make
disc it reports errors and gives the the third disc a dialogue box sure that this is
following message: ‘Unable to add appeared stating that there is less than the size
medium, errors reported: insufficient room to complete the of your root
...copying failed’. installation. I am totally stuck, as I partition – keep
From the LXF forums can’t get back to Mandrake – it’s well under to be
What’s happening is that just a black screen. on the safe side.

A the updates disc is failing


to load the GPG key for
the updates packages. All
packages are signed with a GPG key
so you can verify that they’re
Anonymous

A
You have not given us a
great deal of information
to go on, but there are a
few possible causes for
Once Mandriva
is running you
can easily
install any
extra packages you need
genuine. The error occurs because the symptoms you describe. Are from the Mandriva Control Center. console to install. Am I doing
the file containing the key is not you trying to perform an update or An alternative is to use the something wrong? I keep getting
where the Mandriva Software a new installation? If it’s an update, custom partitioning option during error messages when I try to
Manager expects it to be. Despite the the installer should just replace installation, and resize your other install, like Libstdc++.so.5 issues. I
message, the updates CD has been your existing software with newer partitions to leave more room for have been told that the problem
added. If you go into the Mandriva versions, so the space Mandriva. NB has to do with dependencies but I
Software Installer (click on the box requirements would be about the really don’t get it.
icon with the green plus symbol) and same. If it’s a new installation, the Install for all Neil Dexter

Q
select All Packages, By Update installer should reformat your I successfully installed The basic RPM system is
Availability. You will see that the
updates are indeed available for
installation. However, when you try to
install any of them, you’ll get a
warning that their signatures cannot
partition (assuming you told it to
install on the same partition that
contained Mandrake 10.1) before
starting to install the software.
I suspect that this partition is
Mandriva Linux from
your LXF Mandriva
Special alongside
Windows. As you said in the
magazine, I have found myself
A quite… well, basic. It will
identify dependencies, but
not actually do anything
about them (a dependency is where
one piece of software requires
be verified, because of the missing fairly small – probably only just getting frustrated with all the new another in order to run). The software
GPG key. Just this once, it is safe to large enough to hold your previous things to learn. But I am sticking you are installing needs version 5 of
install them: the packages on the CD system – and Mandriva is trying to with it! the Libstdc++ (standard C++) library.
are indeed the official ones. install more or larger packages. The one thing I am really You could go searching for an RPM
The GPG key is on the updates Your first priority is to get your struggling with is installing of this, install that and then chase
CD, so to do to get rid of this error system working again. I suggest software. I can’t get to grips with the next dependency, but Mandriva’s
you can mount the updates CD, you run the installer and select RPMs/binary packages or using the installer will take care of all of this for
open a terminal and type you. If the package you are installing
su <root password> is on the Mandriva discs, you’re better
rpm --import /mnt/cdrom/main_ off using the Mandriva Control Center
updates/media_info/pubkey to install it from there. This will install
You should be returned to a the RPM package you want plus any
command prompt after typing the dependencies.
rpm command. If you get an error Even if you have downloaded a
message, it will probably be because separate RPM from somewhere else,
the updates CD is not mounted on you can still use Mandriva’s
/mnt/cdrom. Make sure you can dependency handling by using its
view the contents of the CD before urpmi command instead of the basic
running this command. RPM. For example:
Once the update CD and sh armyops230-linux.run
signature are set up, you can install The sh is needed because these
the updates themselves from the installers are in fact shell scripts.
Software Installer, as described above. Because Linux does not allow you to
You need the section marked Look arbitrarily execute files, you can’t just
At Installable Software... to get the run it by typing its name as you
updates from the CD – the section To get the Updates CD working fully, add the Mandriva GPG key. would with a Windows .exe file. NB

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 97

LXF74.answr 97 25/10/05 7:40:32 am


ANSWERS

(Genesys) came out which do development/i386/Fedora/RPMS/ tar xzf sane-backends-1.0.16.tar.gz


>> A lad inSane support this scanner. I’ve tried to sane-backends-1.0.16-1.i386.rpm, cd sane-backends-1.0.16

Q
I recently converted my download the correct RPM to although the version number may ./configure prefix=/usr
small graphic art studio replace my existing back-ends, but have increased by the time you read make
to a GNU/Linux-only no matter what I do, I can’t get it this. However, this requires a later make install
environment and wiped installed or my scanner working. version of Glibc, also available from the The rpm commands remove the
my main system clean of Windows, Joshua development repository, which may existing Sane files, but also send a
replacing it with Fedora Core 4. I You don’t say exactly what break other software. Using a message to the RPM database to
have an abundance of open source
graphic software tools – Blender,
Gimp, Sodipodi, Inkscape, KIconEdit,
Qcad and more – which have served
me well and should continue to do
A your problem is – whether
it is with installation or
configuring the scanner. The
version of Sane that supports this
scanner is quite new, and hasn’t yet
development version of such a critical
library on a production system is not a
good idea, so you need to install the
latest Sane from source, replacing the
RPM version. Do this as root.
make it think that the files are still
there. Without this step, an update
may try to install the ‘missing’ files,
replacing your new Sane with an older
version. Doing it this way means that
so. However, I have an HP Scanjet made it into the main Fedora Core 4 rpm --erase --nodeps sane- when the newer version is released as
2300c (USB), which until recently package list. There is a package in backends an RPM, your system will be updated
was unsupported by stable Sane their development repository, at rpm --install --justdb /media/cdrom/ as normal. NB
back-ends. A few days ago, updated http://download.fedora.redhat. Fedora/RPMS/sane-backends-1.0.15-
versions of those back-ends com/pub/fedora/linux/core/ 9.i386.rpm

WIN A NEUROS DIGITAL AUDIOCOMPUTER


with Rackspace Managed Hosting
www.rackspace.co.uk

WIN!
Every month, the best question NeuroCast automatically scans the
related to systems administration FM radio dial for an available
that a LXF reader sends in wins a frequency and broadcasts using all-
prize. This month you have the digital stereo encoding, just like
chance to win the life-enhancing broadcast towers used by
Neuros MP3 digital audio computer. professional radio stations.
With a Neuros, you can manage The Neuros has many recording
all the music stored on your PC. capabilities that make it a robust tool
Create play lists. Delete songs. Get for the recording hobbyist. The
new files, thanks to the Neuros device includes an on-board you can play your favourite
Synchronisation Manager. No more microphone, perfect for the quick stations with one click,
getting stuck in front of the PC to memo or recorded lecture. It has just like on your
make changes – do it all on the line-in recording capabilities and you car stereo.
Neuros, and get on with it. can record to MP3 or WAV, with a Tempting, isn’t it?
Then use its NeuroCast feature to choice of seven recording qualities. You know what to do:
broadcast the music on your Neuros Neuros also features a built-in email sysadminqa@
device through any FM radio. FM radio with five preset buttons so rackspace.co.uk.

★ STAR QUESTION WINNER!


This issue's lucky winner is C Mantle – your new Neuros digital audiocomputer will be with you shortly!

FTP or SSH? Our primary concern is security: be tied down to their home directory the users:

Q
As a design agency we don’t want to give our clients and no other. To enable FTP # useradd -s /bin/false -m -k /dev/
receiving artwork and access to other clients’ uploads. chrooting, uncomment the following null someuser
other raw material by However, the sysadmin who two lines from /etc/vsftpd/vsftpd. If you’re adamant about using
email and through the originally provisioned the server conf: SSH rather than FTP, you can install
post on CD and DVD, we were advised us to upload our website chroot_list_enable=YES scponly to enable users to scp or sftp
considering teaching our clients to over SSH rather than FTP, claiming chroot_list_file=/etc/vsftpd.chroot_ into the server without having the
upload material to us on to a that SSH is much more secure. list right to interactively ssh into the
co-located server running Fedora What is your opinion? The list of FTP chrooted files server. The scponly project lives at
Core 4. C Mantle should be in the file /etc/vsftpd. www.sublimation.org/scponly.
At first we were considering Fedora Core 4 ships with chroot_list. Installation is well documented in the
implementing a web-based
application. However, after much
deliberation we saw the light and
are now considering using FTP.
A Vsftpd, which is a robust
FTP server that makes
chrooting users a breeze.
Chrooting means that the user will
Also, as you would not want to
give FTP users shell access to your
server, /bin/false should be
specified as the shell when creating
Install file included in the tarball.
Scponly users can also be chrooted,
making the installation marginally
more complex. HH

98 LXF74 CHRISTMAS 2005 www.linuxformat.co.uk

LXF74.answr 98 25/10/05 7:40:37 am


ANSWERS

Stealthy surfing Looking for a laptop

Q Q
I have set up the firewall Which ‘notebooks’ (the
in the Mandriva Control things that used to be
Center by unchecking all called laptops) are best
boxes, which should stop suited for running Linux?
anything getting through. I’m looking to buy a machine and
I then went to Steve Gibson’s will only be able to afford a one-off,
Shields Up! site (https://grc.com/x/ so it will have to be a little forward-
ne.dll?bh0bkyd2) and ran the looking in terms of hardware, even
Common Ports test. Everything was if the software has some catching
then ‘stealthed’ apart from port 113 up to do. I know that I want a
(IDENT). This was using my Alcatel 64-bit processor and systems, but I
SpeedTouch USB modem. also know that I must be able to
However, if I connect using my afford it! I also need to know if
Netgear combined router/firewall, there are any worthwhile speech
everything is stealthed, including recognition programs in Linux – I
port 113. So how do I configure had a stroke recently and am
Shorewall to stealth port 113 when A quick tweak of the Shorewall configuration files is all it takes for getting tired of one-finger typing!
Mandriva’s firewall to make your computer invisible to the internet.
using the SpeedTouch? A Whitaker
I know there are arguments that Until you mentioned 64-bit,
port 113 shouldn’t drop network
packets as this can cause problems,
but I use the router for hours on
end and never experience any
connection slowdowns, even
What hardware?

Q
We’ve rented a number
of dedicated Linux
servers from a hosting
company. I’ve confirmed
modules, there’s usually a wealth of
information output to the console. You
can retrieve this information by
dumping the kernel’s ring buffer using
dmesg.
A I was going to recommend
an IBM ThinkPad. IBM
notebooks are built to last
and have good Linux compatibility.
However, they all currently use the
though it does stealth this port. that the disk and memory allocated The kernel can be further queried Intel Mobile Celeron processor range.
And of course, if you reject are as requested, but have been by manually inspecting /proc, the The difficulty with recommending a
packets, crackers know that your denied physical access to the data interface to kernel data structures. Of specific computer is that it is the
computer exists… centre. How can we verify what particular interest are: individual components that are the
From the LXF forums make and model of components ■ /proc/cpuinfo CPU information. source of compatibility frustrations. I
You have discovered the have been used within our servers? ■ /proc/ide/ IDE bus and disc could tell you to buy a Milliard

A disadvantage of GUI control


panels: you can only control
the options for which a
button has been provided. As you hint
at, Mandriva uses Shorewall as its
This is a requirement set by our
external consultants as part of our
disaster recovery programs.
Ron J
As the kernel boots up,
information.
■ /proc/scsi/ All SCSI devices.
■ /proc/ioports Registered IO port
regions.
■ /proc/pci PCI buses, installed
Gargantuan, only to find that Milliard
Inc have changed the wireless
networking chip to one that doesn’t
have a Linux driver.
Your best option is to try out
firewall, Shorewall is a capable system
with a lot of options, but the Control
Center barely scratches the surface. To
make Shorewall stealth port 113, you’ll
need to edit the file /etc/shorewall/
A polling the system’s
hardware and loading the
appropriate
devices and drivers.
The utility
Lspci displays
information
about PCI buses
various notebooks with a Live CS
distro. As you are looking for a 64-bit
computer, I would recommend either
Ubuntu or Kubuntu, depending on
whether you prefer Gnome or KDE.
rules as root. and what is They both have 64-bit versions and
Immediately before the last line, connected to them. This you can download them from www.
add the following: is often sufficient to identify the ubuntulinux.org. Trying the
DROP net fw tcp 113 likes of VGA, network and SCSI computer out is doubly important in
Now go into the System > Enable adapters. view of your physical restrictions.
Or Disable Services part of the For more about BIOS and There appears to be very little
Control Center, stop Shorewall, then motherboards, visit the Dmidecode available in the way of usable voice
start it again to load your new settings. project at www.nongnu.org/ recognition software for Linux. IBM
Go back to Shields Up! and you dmidecode. Assuming your BIOS discontinued ViaVoice a few years ago,
should find port 113 follows the SMBIOS/DMI standard the last version was bundled with
is stealthed. you may be able to list the Mandrake 8.1. There are some other
If you want system manufacturer, projects, but none of them are really
more control over your model name and ready for the end-user’s desktop yet.
firewall settings than the BIOS version. CVoiceControl (www.kiecza.net/
Mandriva Control Center Finally, Red Hat daniel/linux) will allow you to control
offers but do not want to delve Enterprise Linux your computer with commands, but
into Shorewall’s rules, you may includes the Kudzu library text input is not currently practical.
find Guarddog (www.simonzone. for hardware discovery and You could cut down on your typing
com/software/guarddog) more configuration. It is possible to by using a keyboard with plenty of
suitable. Both of the programs are call Kudzu to probe and report on extra keys and using KHotkeys or
front-ends to build rules for the Linux the installed hardware. Invoking as Xbindkeys to assign commonly used
kernel’s own firewalling, but kudzu -s -p initiates a ‘non-disruptive’ commands or phrases to these keys.
Guarddog does it through a GUI. poll without modifying any existing Most distros support using a second
The choice is yours. NB configurations. HH keyboard with a laptop. NB LXF

www.linuxformat.co.uk LXF74 CHRISTMAS 2005 99

LXF74.answr 99 25/10/05 7:40:39 am

You might also like