Bugs and common problems

When I start xdatplot, I get all kinds of errors. Why?

If you get a lot of complaints about missing keysyms, you need to replace your XKeysymDB with a version that defines the Motif keysyms. Place this file in either /usr/openwin/lib or /usr/lib/X11, wherever your current XKeysymDB is. If you don't have root access, try this: put XKeysymDB somewhere in your own directories, then set the environment variable XKEYSYMDB pointing to it.

This is actually just one of several annoying problems that result from using Motif widgets on Sun platforms. A lot of these will also show up with NCSA Mosaic. The NCSA Mosaic FAQ describes how to solve many of them.

Why can't xdatplot read text files?

To read text files, xdatplot needs a translator program called asc2bin. You can get asc2bin wherever you got xdatplot. Install it in any directory in your $PATH. See here for more information on how xdatplot handles text files.

File Print doesn't work, even though I can write postscript files and print them.

xdatplot uses a dippy little shell script called print_big to do its printing. print_big allows your spooler to handle big files without a lot of messy printer reconfiguration. Get print_big wherever you got xdatplot, and install it in any directory in your $PATH.

If you prefer, you can change the print command with the printCommand resource. See Customization (X resources).

The filters don't fit into the filter dialog

xdatplot is designed on the assumption that the filter dialog can grow to accomodate as many filters as you want to add. This works under mwm, the Motif window manager, but some other window managers won't allow it. If you have this problem, you can make sure that the filter dialog starts off big enough to hold anything it's likely to by setting the following resources:
    *filterShell.width:				500
    *filterShell.height:			300

Can xdatplot handle multi-channel recordings?

Not well. The Pick filter will allow you to look at one channel of a multi-channel file. You can have as many xdatplot windows running at the same time as you want, each using a pick filter to display a different channel of the same file. But you can't superpose the traces in the different channels.

That's just the way it is at the moment. I've given some thought to making xdatplot understand multi-channel data, but it's a lot of work, and it's probably not going to happen soon unless someone else does it.

I don't like the plot window keyboard shortcuts. Can I change them?

No. They are hard-coded. This design is obviously stupid and may change in a future release.

Why are there no cursors in file selection boxes?

Beats me. If I ever figure it out, I'll fix it. If you ever figure it out, tell me.

Leon Avery (leon@eatworms.swmed.edu