Tag Archives: unix

Cooledit 3.5.3

Introduction

Text editors are very personal things. I found this out when I wrote a very positive review of NEdit. I received a number of comments, nearly all by email. No-one agreed with me, which doesn’t by itself bother me. But no-one disagreed with me as such either. All the messages were from Emacs users who thought that it was the only real editor and that I was misguided thinking otherwise.

This time I think I’m unlikely to incur the wrath of Emacs users. Cooledit is just not going to appeal to the same people. If Emacs is equivalent to O’Reilly books, Cooledit is a Dummies Guide.

Look and feel

This is going to become the theme of the review: text editors are very personal things. When I say that I’m not keen on either the look or feel of Cooledit, I must also point out that there is nothing wrong with it either.

There are good bits. I like the default colour scheme. White on blue is very easy on the eyes. And the default, fixed-space typeface is very readable, too — I’m not sure what it is, though. The tool-bar down the left-hand side of the text window is useful and it would be immediately obvious what the buttons did even if it didn’t have text on the icons and ‘tool-tips.’

For a text editor with an emphasis on ease-of-use, Cooledit is actually quite powerful. In addition to the normal cut and paste, search and replace and file management facilities, Cooledit also has built in scripting and dialog-based configuration of keyboard shortcuts and the environment.

It does, however, look a little amateurish. While the menus do have Office 97-style highlighting when the mouse point moves over them, it’s difficult to take them seriously when they drop down. They look so big and clunky that you can immediately tell that they’ve been designed by a programmer. They’re not easy to get rid of if you pull down a menu by mistake, either.

And let’s not forget Cooledit’s most unique feature: it’s multiple document interface. Inside the main Cooledit window, you can have as many documents as you like. Behind all the windows is a picture of an igloo; it’s not entirely clear why it’s there. Documents can be moved around by dragging their border, and can be resized by dragging the bottom-right corner. These inner-windows don’t have title bars, which after years of finding a documents name by looking in the title-bar is a little confusing.

The interface does not take full advantage of its multiple windows, either. The load button and the open menu item actually operate on the currently open window rather than for Cooledit as a whole. This means that to open another file you need to open a new window (from the Window menu) and then load a file into it. This kind of operation would be acceptable for a program with only a single buffer — such as vi — but for a modern, GUI editor it’s just odd.

Conclusion

This has been a rather short and very negative review. As I have said, there is nothing strictly speaking wrong with Cooledit, it just feels wrong. It has all the right things in the right place; functionally it’s at least as good as NEdit. But it’s idiosyncratic user interface and ‘jokey’ appearance have a tendency to distract you from your work!

If you like to be different and you liked Borland’s cartoon ticks and crosses in its Windows applications, then you might go for Cooledit. If not stay well clear.

BlackBox 0.35.0

Introduction

The choice of window manager is often a very emotive subject for a Linux user. Some swear by the simplicity of Fvwm2 — often a standard install for a Linux distribution. Others prefer something that looks like Windows 95 (there are a number that do this). Yet another group prefer a more all-embracing ‘environment’ such as KDE or GNOME.

Now I’m not advocating any particular manager here (for the record, I normally use AfterStep), I just want to get my work done.

So, we come to one of the newer, lesser know alternatives called BlackBox.

What is a Window Manager?

I suspect that most people here know what a window manager is, but for people that are more familiar with the way Microsoft Windows does things I’ll give a quick overview.

With all versions of Windows, the look and feel — the way that every window has a minimise button and that the desktop has a taskbar and a ‘My Computer’ icon — is tied directly to the underlying GUI framework (without getting into some programming jargon it’s difficult to be much more precise).

With Unix and X things are different. X is the underlying GUI framework. Using it you can paint things on a ‘generic’ screen rather than worrying about what graphics card you have, you can find the location of the mouse and what the keyboard is doing. But X doesn’t say what the windows look like (in fact, it doesn’t even insist that you have them), which buttons go where or what they look like. Window Managers (and widget libraries such as Qt or GTK) add this on top of X.

Like most other things, the Unix approach is far more complex but more powerful.

Look and feel

First impressions are good. When BlackBox starts, an almost CDE-like tool bar sits at the bottom of the screen, resplendent in its 3D-effect, gradated-filled boxes. On the right is the time; on the left is a box showing the current work-space (virtual desktop) and the number of windows open (why?); to the right of this are buttons to move around the various workspaces and to switch to minimise windows; in the middle is a huge gap that, as far as I can tell, serves no useful purpose. Perhaps the authors have plans?

The default application menu, available by right-clicking on the desktop, has a number of useful programs immediately available. Again, it looks good but is not entirely intuitive. For example, menu items with a circle to the left open out sub-menus. Would it not make more sense to have an arrow on the right?

Small programs such as xterm appear immediately, showing that BlackBox is relatively efficient.

Window furniture is fairly standard. The ‘minimise’ button is in the top left, and makes the window vanish. It can be restored by clicking the ‘Icons’ button on the tool bar and then the window name. I generally prefer a more visual approach such as the way Window 95 does it, but this is a perfectly valid and popular approach. On the far right is the close widget and to its left is a ‘fill the whole screen’ button.

Window sizing and moving is implemented in a Mac-like way: drag and drop the title to move the window; drag and drop the bottom right of the window to resize. It might be considered heretical to say so, but I think I prefer the Microsoft drag-and-drop-any-corner approach.

Configuration

Black box is easy to install. Type “xmkmf -a ; make ; make install” and you’re well away. There are a few options that you can change before you start the build, but nothing much worth changing. No option for the installation directory is given which is a shame as I prefer to put non-RPM software in /usr/local rather than any of the ‘normal’ locations.

Like almost everything UNIX, to alter any configuration options on a day-to-day basis requires the editing of a text file (the short-cut menu has a promising sounding ‘Reconfigure’ option, but this just re-reads the file). While the format of the file isn’t too daunting, I’d have preferred a dialog based interface. This is a very common problem with window managers.

All the standard things can be changed, the font, the colours, etc. The configuration file looks similar to the Xdefaults file rather than the more usual Windows ini file — it’s good that BlackBox has some consistency with the rest of X.

Conclusion

BlackBox is a neat piece of software. The look and feel are impressive, the performance is good, installation is simple, stability for beta software is excellent (one crash during testing), but there is something missing.

I think that something must be individuality. I don’t see much here that can’t be achieved by configuring many other window managers.

AfterStep 1.4

Introduction

Many people believe that wine gets better as it gets older. This, however, is only partly true. Some wines taste much better young and all go bad eventually.

What does this have to do with Linux software?

Well, AfterStep is my window manager of choice (see my review of BlackBox for a discussion on what a window manager is) but, more because of laziness than anything else, I’ve been using version 1.0. I never got around to upgrading, but since I was going to do a review I figured that I’d better move to release 1.4 — the latest stable version.

Perhaps I’m getting old; perhaps it’s inertia of some kind; perhaps I just haven’t given 1.4 a chance to prove itself; but I prefer good old 1.0.

What is AfterStep?

I’m getting ahead of myself here. What is AfterStep?

Fairly apparent from the title, it’s a window manager that tries to look and feel like NeXTstep, Steve Jobs rather fabulous follow-up to the Macintosh.

Version 1 took that quite literally. It had a dock (“wharf” in AfterStep-speak) to the right of the screen, pop-up menu’s and gradiated title bars just like the NeXT machine. The dock is a column of large coloured icons that can either launch applications, shrink an application such as xload to display useful information, or both. It’s now in a number of other window managers, notably WindowMaker, but AfterStep was there first. 1 had little else — simple but effective.

For later versions, the authors obviously thought they needed to add stuff. (They seem not to subscribe to the ‘perfection is not when you can add nothing, but when you can take nothing away’ school of thought.) 1.4 takes the basics and adds more docks, more furniture on the windows, themes and support applications.

Installation

You know me by now — basically capable, but lazy. Rather than grab the source, I downloaded an RPM file and upgraded from 1. I expected 1.4 to take all my current settings, but it didn’t quite work like that.

In fact, the first time I tried it didn’t work. XDM simply flashed out of existence for a second and then reappeared.

Okay, dive back in as root and read the documentation. What’s needed is a GNUstep directory that can be copied from a shared directory. It’s not difficult and it is documented, but why can’t AfterStep do it for you? And how much do I have to copy? My home directory now have loads of icons in it — don’t think /home can put up with so much detritus for long.

And copying lots of configuration data from a central location meant that all my setting from 1 were lost. I’d quite like my old settings back, please.

In Use

It took me a while to get AfterStep to how I like it. I wanted a single dock filled with my favorite apps, a clock, resource monitor and something to track my PPP connection to the Internet. It’s all in a configuration file (much like AS1 but in a different place) the basics of which are relatively simple. I think I’ll use the separately available configuration program for anything more complex.

1.4 seems to have a much greater emphasis on multiple desktops, so much so that in the default configuration there are 16 of them! It’s quite neat that they can be split into categories rather (the defaults are Work, WWW, Mail and Games), but I suspect that most people would run out of memory before they run out of desktops. Personally I’ve never got used to multiple desktops and usually just have one very busy one.

Overall

Much in the same way that people use Windows because they don’t know anything better exists, I’ve used AfterStep for well over a year. I thought doing this review would kick start me into using something newer and better.

It didn’t. In many objective ways the newer version is an improvement. It looks better, it’s more configurable and more easily configured and it’s more standard. But something is missing. It doesn’t seem to be a huge improvement over 1, yet has a much larger memory foot-print and popular support is waning in favour of WindowMaker which seems to be advancing much more quickly.

So, sorry guys, but I’m sticking with version 1 and am very tempted to take a look at some alternatives.

About “The Penguin Says”

Why?

I’ve been using Linux since 1994, just after the first non-beta release version of the kernel came available (I think it was 1.0.9, but don’t quote me on it). In the early days I was a bit lost, I didn’t know much UNIX and I didn’t know much about the web, so I stuck to using the packages that came with the Slackware distribution. (At the time I didn’t need much more than the core development tools, anyway.)

Since then, I’ve got to know more about UNIX, Linux and the Internet and have started downloading and looking at a number of applications. Some of them are fabulous, others aren’t worth the time or bandwidth. But how should I know which is which?

As far as I can tell, there isn’t a way. Although there are loads of sites with links to programs and applications, there doesn’t seem to be anywhere that reviews and rates them. Until now.

The task ahead

There are thousands of programs out there, and all of them have a new version popping out once a month or even more frequently. How can I keep up?

I can’t. So, we need some ground rules:

  1. I’m not going to review everything. I want to promote Linux as a usable operating system, so, in the main, I’m going to look at ‘user’ programs — word-processors, web browsers — rather than the new version of GCC.
  2. I’m not going to review every release. I’m not even going to update old reviews. Each review will have a version number attached, leaving the user to decide whether it’s up to date enough to be relied upon.
  3. You’re going to help me! If you’re interested in helping, mail me.

Logo

‘The Penguin Says’ logo isn’t really mine. I took one of the logo’s found on Andreas Dilger‘s page and changed the wording (using Paint Shop Pro — I would have done this using the GIMP, but PSP is much better at resizing images). The Penguin was originally drawn by Larry Ewing, the logo ‘concept’ by Allen Petlock. I hope they don’t mind.

Me

I’m Stephen Darlington. I’ve been using Linux for a number of years now, and various forms of free software for much longer. This is my vague attempt to put something back — I spend all day writing computer programs so the last thing I want to do in the evening is more! I can, however, manage to bang a few words together.

Abacus 0.9.3

Introduction

Linux seems to have many word processors, text editors and email programs, but other office applications seem to be rather thin on the ground. I’ve been looking for a decent spreadsheet for sometime as I have to switch back to Windows to use Excel every time I want to use one!

For all it’s faults, Microsoft Excel is a superb application and any other spreadsheet is going to have to try and compete with it at some level. I hoped Abacus would be it…

Installation

I normally prefer my applications to be available in RPM format, but if I can’t a GNU autoconf script is a fine substitute. Abacus, it would seem, has neither. It took far too much work to get it to run.

The main problem is not with the code, but with the documentation — there isn’t any in the distribution! I typed make to see whether it would work. Surprisingly, most of it seemed to run okay. It couldn’t find ‘yacc’ on my PC, which is quite reasonable as I have Bison instead. I loaded a few of the makefiles until I found the reference to yacc and changed it to ‘bison -y’ to force Bison to emulate yacc. This didn’t work either — it complained about some problems with the grammar. (I thought that Bison was upwardly compatible with yacc?)

I’d had a long day, so I was getting ready to pack the whole thing in as a bad job. After a strong coffee I decided to continue. I dug around for my RedHat installation disc and installed byacc and changed all the references from Bison back to yacc. This time it worked.

This was not the end of the installation problems, though. Typing ‘abacus’ resulted in the following error:

.//abacus: /tcl_interf/nxlc: No such file or directory

Again, someone without any development experience wouldn’t have realized that this meant that an environment variable hadn’t been set (it was expecting a pointer to the Abacus home directory). A quick scour through the source revealed that I needed to set ABACUS_HOME.

But even this didn’t solve the build problems! To cut a long story short, it was looking for a file called ‘version’ so it could display its version number when it started. (The distribution does have a symbolic link called ‘version’ but it doesn’t point at anything.) Having created the file, Abacus starts. Finally.

In use

Abacus starts with a splash screen with a professional looking logo. When the main screen appears, disappointment sets in. The majority of the screen is filled with a grid — what did you expect, it is a spreadsheet — while the top has the menu bar and a random assortment of garishly coloured controls scattered around.

When I first test a spreadsheet program, I usually create a few random numbers, total them and create a graph of some of the numbers. This covers much of the functionality that I use on a day-to-day basis and gives me a good impression of how easy it is to use. For the sake of comparison, it took me about two minutes in Excel 95, most of which was me playing about with some of the many options.

It took more than two minutes with Abacus. As I’ve been brainwashed in the ways of Microsoft, I entered what I thought was an appropriate formula for a random number: =rnd. While I now accept that this wasn’t the right formula, I still fairly certain that it shouldn’t have core dumped claiming that there had been a segmentation fault.

I never did find how to create a random number. I looked in the ‘function’ dialog box. There was a RAND function which sounded right, but whenever I selected it, Abacus added a quote at the front making it text rather than a formula. I’m not sure what was going on there.

Having given up on the random numbers, I entered some numbers manually and summed then using the AutoSum button on the tool-bar. After my experience up to this point I was surprised when it worked as advertised. You have to use it in a call immediately below or next to the cells you want to sum, unlike Excel, but I think I can live with that.

Next test: graphs. Step one: select the numbers. (Fine.) Step two: select ‘New graph’ from the menu. (Fine.) Step three: select the type of graph from the resulting dialog. (Fine.) Step four: draw out the area you want the graph to be drawn in. (Not so good.)

For the last step, the computer changed the mouse pointer to half a set of cross-hairs and seemed to forget about the graph. Left clicking the matrix didn’t do anything. Right clicking produced a run-time error from TCL.

Conclusion

I have to say at this point that I suspect that I hardly touched the surface of Abacus’ functionality. It may not seem reasonable to criticize a program having just a cursory look, but if the program is not easily capable of doing the very basic functions that I need I see no point in looking further. Numbers, formulae and graphs are the staple diet of any spreadsheet user and Abacus seemed to hinder any progress on this front.

Unfortunately, it looks as though I’m going to have to continue returning to Windows and Excel when I want to use a spreadsheet. Although Abacus is fully featured, it has more than enough annoying quirks to send me running away even if I discount the stability problems that I encountered.

However, it does show promise. Recode the user interface in C instead of TCL and write some documentation and it may be a winner.

Dreadful Conclusions

Introduction

I still can’t quite believe that I did it. I actually bought and Apple Macintosh, just like I said back in February. After years of using Windows and Unix is seems a little odd, but I think I like it.

There’s a lot to like about it, though. Here are some of my thoughts as a Windows and Unix user.

Hardware

It was the combination of the new, white iBook and Mac OS X that swayed me in the end. There’s no way that I’d buy one of the original iMacs and my budget didn’t stretch to a PowerBook no matter how much I wanted it to.

One thing that I really like is the hardware. Unlike most PC’s, it feels as though it’s been designed rather than just thrown together. Even compared to my old Dell laptop, this one feels well put together.

Having said that, it’s not perfect. I’m sure that it looks neat on all the design sketches, but I can’t imagine that having all the ports down one side of the machine is the most optimal way of doing things. For once, it probably works best for left handed people! The ports are all down the left side so the mouse cable goes in the correct side. Unfortunately I’m right handed…

Also, it’s deliberate that there are no flaps over the ports. The idea being that there’s nothing to snap or fall off over time. On the other hand, I’m sure that means that they’ll fill up with fluff and other random detritus.

Unlike most PC’s, Apple have completely parted with the past. There are no serial, parallel or PS/2 ports (not as though you’d ever expect PS/2 ports on a Mac). This has bothered me less than I imagined it would. The main down-side is printing to my parallel-ported Deskjet, but I managed it using my Linux box as an intermediary (and Postscript interpreter). Not the ease of use that Apple imagined!

The last thing I’m going to mention about the hardware is something that is an after-thought with most machines: the power-supply. Basically it’s tiny, only just bigger than ink cartidges for the aforementioned Deskjet. After using laptops with power-supplies near as big as the computer this came as a surprise.

Software

I didn’t buy the iBook for it’s hardware, though (although that was important!). I got it for Mac OS X. As I mentioned before, Mac OS X is a rather neat combination of a BSD Unix kernel and a Mac-like user interface. On paper it looked fantastic. It has all the things that the original Macintosh operating system lacked, such as a real networking stack, multi-threading, pre-emptive multi-tasking and the ability to use more than one mouse button. (Okay, I’m joking about the last one.)

The incredible thing, after all the disappointments I’ve had comparing marketing literature with the real thing, is that it does deliver.

In the previous section I mentioned that I now print using my Linux box as a server. It’s not pandering to any Macintosh oddities. Mac OS X is sending print jobs directly to the Linux print spooler, just as another Linux or Solaris machine would. Very neat.

Another thing you can’t really see from screen shots in magazines is how good it all looks. Semi-translucent windows, drop-shadows instead of borders, the way loading programs bounce up and down in the dock, the way that progress bars and the default button in dialogs pulsate… They’re all completely unnecessary, but totally cool. It makes working with the machine that much more fun.

Fun. Now there’s a word you don’t hear in connection with Windows very often. Linus Torvalds wrote Linux “Just For Fun” (his book), whereas Windows was written purely for money. I guess they’ve both succeeded in their own goals. I hope Apple can profit from their combination of both.

Annoyances

There are only a few things that I really dislike, and some of them are rather petty.

Firstly, Apple are still not too confident with it. When you get a new machine it defaults to starting Mac OS 9. If you’re used to dual-booting your PC between Windows and Linux you’d probably expect a menu when the machine starts up asking which operating system to start (that’s what I was thinking). But no. You have to find the Startup Disk control panel, change some settings and restart the machine. Not difficult when you know but not in keeping with the well known Macintosh user-friendliness. (Apple have just announced that they’re making OS X the default OS. This has not been well received by many, who are waiting until Quark and Photoshop are native OS X applications before switching.)

The other things are really niggles. For example, in the Finder although you can search for NFS and (presumably) Apple shares, you can’t browse Windows shares. (Of course my Linux box only had SMB shares at the time…) In fact, I’ve not been able to connect to any SMB shares on my server yet. However this “problem” has not been widely reported so I think that we can assume that it’s my local configuration.

And this is the churlish complaint: they’re updating it too often! Within days of getting hold of the machine there have been many megabytes of fixes. Which is kind of good, but the upgrade to 10.1.2 is 30Mb, rather a lot over a dial-up line especially when dropping the line means you have to restart the download from scratch.

Conclusions

Stepping away from what used to be called IBM Compatibles seemed such a big step. At this stage I half expected to be annoyed with myself, and cursing spending all that money on something I didn’t fully understand how to use.

The key has to be its value. I want to be able to access the Internet, edit MS Word compatible documents and write software. The iBook can do all that using free or preinstalled software, comes in a very neat package with some unique features

It is still kind of odd having to think about how to do some things that are “obvious” to me in Windows and Linux, but I’m still of the opinion that it’s worth the hassle.