[GRASS5] Darwin Pre1 gtty stty errors

Glynn Clements glynn.clements at virgin.net
Tue Jun 5 02:07:49 EDT 2001


Jeshua Lacock wrote:

> > I will commit a fix which removes this code, which should eliminate
> > any portability considerations altogether. If you know of any other
> > programs which do this, let me know.
> 
> I neglected to mention in my last post that two additional modules, 
> i.class and i.ortho.photo, fails with the gtty & stty errors as well.

Why am I not remotely surprised to find that i.class and
i.ortho.photo/photo.2image and i.ortho.photo/photo.2target all have
their own copies of the all-too-familiar files tty.c and curses.c?

A quick run of "find ... -name tty.c" also reveals copies in g.help
(with the actual code commented out; all four functions are stubs) and
src/libes/vect32/georef (although this one is basically the "d.colors"
variant, with a few changes of its own).

And that doesn't account for any more "renamed" copies, as with
text_tty.c in i.points3.

So, how many copies have we found so far? Lets see:

	d.colors
	i.points
	i.vpoints
	i.points3
	i.ortho.photo/photo.2image
	i.ortho.photo/photo.2target
	g.help
	src/libes/vect32/georef

And I used to think that src/display/devices had a lot of redundancy.

I'll get around to fixing the rest when I'm in the right frame of mind
(I'm currently alternating between finding it more than a little
amusing and wanting to hunt down those responsible for it).

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list