From otto@redhat.com
Received: (qmail 13086 invoked from network); 16 May 1997 19:50:51 -0000
Received: from nimrod.redhat.com (otto@199.183.24.13)
  by mail2.redhat.com with SMTP; 16 May 1997 19:50:51 -0000
Received: (from otto@localhost)
	by nimrod.redhat.com (8.8.5/8.8.5) id PAA01563;
	Fri, 16 May 1997 15:50:25 -0400
Message-ID: <19970516155024.58877@redhat.com>
Date: Fri, 16 May 1997 15:50:24 -0400
From: Otto Hammersmith <otto@redhat.com>
To: Raph Levien <raph@acm.org>
Cc: gtk-list@redhat.com
Subject: Re: Gtk app build issues
References: <19970516032055.57369@redhat.com> 
<Pine.BSF.3.91.970516095422.18359B-100000@blacklodge.c2.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.69
In-Reply-To: <Pine.BSF.3.91.970516095422.18359B-100000@blacklodge.c2.net>; 
from Raph Levien on Fri, May 16, 1997 at 10:32:00AM -0700

On Fri, May 16, 1997 at 10:32:00AM -0700, Raph Levien wrote:
> 
[snipage]
> 
> > In any case, I'm absolutely ecstatic that you released some code!  The
> > GzillaByteSink stuff is precisely what I needed...
> 
> I'm glad...

Okay, time to fess up a bit. :)

I've been working on/thinking about a filemanager.  I definitely don't
have any code on the magnitude of gzilla, but it's getting there.  I
haven't had much time to peruse the code for GzillaByteSink stuff, but
I suspect it will be quite useful.  I don't think they'll work quite
right the way they are, but maybe we can come to some middle ground
between my ideas and yours.  That's what I intend to do this weekend,
provided I spend some time finishing up my article (on Imake) for the
LJ...

Now about gzilla.

It's absolutely fabulous! :)
 
I have some questions, but I think I should read the code more
throughly before I start asking silly questions.

> > Being 3:00am, I think I ought to stop rambling and get some sleep
> > before I get back to work. :)
> > 
> > Night all.
> 
>    Stepping back for a moment, I've noticed that a lot of the problems 
> people are talking about on this list have to do with using simple.c as 
> the "hello world" template for building apps. However, simple.c has a lot 
> of things wrong with it:
> 
> + #include "gtk.h" rather than #include <gtk/gtk.h>
> 
> + signal handlers call gtk_exit (0) rather than gtk_main_quit ()

Hrm... even my code has been calling gtk_exit(). :) I think this will
be very helpful as an example of good use of gtk+.

[snipage]
> One thing this example is sorely lacking is an autoconf script. I have no 
> idea how to go about building one, but if anyone else here knows how and 
> would be willing to contribute, I'd be happy to put it on the page.

I might be able to find the time to do this.  I've been toying with
autoconf a bit... but I've been finding that GNU make's default rules
work quite well. :) 

I think it would require a new test to find where the gtk headers are,
but I don't think that is horribly difficult.  If someone out there
knows autoconf better than I, all the better... otherwise I'll use it
as a chance to bone up on autoconf.

I think it might be time to start keeping track of what projects are
out there.  I can put something up on the web page (probably next
week) if everyone who wants to be listed will e-mail me a short
description of what they're working on.

Back on the topic of the LJ, does anyone have an objection to my
offering the editors an article about gtk+?  I don't plan an extensive
tutorial, just a quick introduction to gtk+ and how it's being used.
If you read the Qt article in the LJ a bit back, that's about what I'm
thinking about.. that was the article that really got me tinkering
with Qt, and I think the same would do a world of good for gtk+.

I think I'm done rambling, for now... I should go write some code. 

-- 
					-Otto.

From federico@nuclecu.unam.mx
Received: (qmail 14951 invoked from network); 16 May 1997 20:04:32 -0000
Received: from sphinx.nuclecu.unam.mx (132.248.29.8)
  by mail2.redhat.com with SMTP; 16 May 1997 20:04:22 -0000
Received: (from federico@localhost) by sphinx.nuclecu.unam.mx (8.6.12/8.6.11) 
id PAA00441; Fri, 16 May 1997 15:03:10 -0500
Date: Fri, 16 May 1997 15:03:10 -0500
Message-Id: <199705162003.PAA00441@sphinx.nuclecu.unam.mx>
From: Federico Mena <federico@nuclecu.unam.mx>
To: gtk-list@redhat.com
CC: miguel@nuclecu.unam.mx
In-reply-to: <19970516155024.58877@redhat.com> (message from Otto Hammersmith
	on Fri, 16 May 1997 15:50:24 -0400)
Subject: File manager and article [was: Re: [gtk-list] Re: Gtk app build issues]
Reply-to: federico@nuclecu.unam.mx

>  I've been working on/thinking about a filemanager.  I definitely
>  don't have any code on the magnitude of gzilla, but it's getting
>  there.

Just to avoid reinventing wheels... :-)

I think that if people will be working on a graphical file manager, it
should be KDE.  No flames about this, but that's my point of view.

Or if you want to hack a lot of existing code, I could suggest doing a
Gtk port of the Midnight Commander.  Of course I am biased on this
(Miguel is 10 meters from me right now), but MC is a very good file
manager IMO.  The VFS architecture is pretty cool, and it can be
easily extended.

A graphical MC as I see it would need to have both the usual file
lists and an icon view (both with drag and drop, which needs to be
implemented in Gtk.  Hint, hint --- offix).  I'm not exactly sure
about how you would go about the double-panel stuff, but I'm sure it
can be adapted to a graphical environment.

>  Back on the topic of the LJ, does anyone have an objection to my
>  offering the editors an article about gtk+?  I don't plan an
>  extensive tutorial, just a quick introduction to gtk+ and how it's
>  being used.  If you read the Qt article in the LJ a bit back,
>  that's about what I'm thinking about.. that was the article that
>  really got me tinkering with Qt, and I think the same would do a
>  world of good for gtk+.

Oooh, that is a very good idea.  At least it should get people going.
If I can be of any help, please tell me.  I'd really like to see a lot
of people writing stuff for Gtk.

  Quartic

From otto@redhat.com
Received: (qmail 16561 invoked from network); 16 May 1997 20:20:03 -0000
Received: from nimrod.redhat.com (otto@199.183.24.13)
  by mail2.redhat.com with SMTP; 16 May 1997 20:20:03 -0000
Received: (from otto@localhost)
	by nimrod.redhat.com (8.8.5/8.8.5) id QAA01684;
	Fri, 16 May 1997 16:19:22 -0400
Message-ID: <19970516161921.35689@redhat.com>
Date: Fri, 16 May 1997 16:19:21 -0400
From: Otto Hammersmith <otto@redhat.com>
To: federico@nuclecu.unam.mx
Cc: gtk-list@redhat.com, miguel@nuclecu.unam.mx
Subject: Re: [gtk-list] File manager and article [was: Re: Gtk app build issues]
References: <19970516155024.58877@redhat.com> 
<199705162003.PAA00441@sphinx.nuclecu.unam.mx>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.69
In-Reply-To: <199705162003.PAA00441@sphinx.nuclecu.unam.mx>; 
from Federico Mena on Fri, May 16, 1997 at 03:03:10PM -0500

On Fri, May 16, 1997 at 03:03:10PM -0500, Federico Mena wrote:
> >  I've been working on/thinking about a filemanager.  I definitely
> >  don't have any code on the magnitude of gzilla, but it's getting
> >  there.
> 
> Just to avoid reinventing wheels... :-)
> 
> I think that if people will be working on a graphical file manager, it
> should be KDE.  No flames about this, but that's my point of view.

No flames, here, but that's probably not going to happen... I have
looked at kfm, and I just have some serious objections to the way
they're doing things.  Not necessarilly things that would make me hate
it and are beyond repair.. but then there is that whole Qt issue.

> Or if you want to hack a lot of existing code, I could suggest doing a
> Gtk port of the Midnight Commander.  Of course I am biased on this
> (Miguel is 10 meters from me right now), but MC is a very good file
> manager IMO.  The VFS architecture is pretty cool, and it can be
> easily extended.

I'm thinking about that, too.  I'm hoping to hack as much existing
code as humanly possible.

> A graphical MC as I see it would need to have both the usual file
> lists and an icon view (both with drag and drop, which needs to be
> implemented in Gtk.  Hint, hint --- offix).  I'm not exactly sure
> about how you would go about the double-panel stuff, but I'm sure it
> can be adapted to a graphical environment.

I think I need to learn how to use MC before I can port it to a GUI
environ...:)

As for OffiX Dnd, that's one thing I had planned to do.  I'm not
entirely sure I have the ability and expertise (I have the time, if
need be) to do do it, though.  

Does anyone else have any thoughts or comments on how this ought to
work?  I'd really like to hear some discussion... if I have an general
idea of what needs to be done and where it should go, I can probably
write a majority of the code.

> >  Back on the topic of the LJ, does anyone have an objection to my
> >  offering the editors an article about gtk+?  I don't plan an
> >  extensive tutorial, just a quick introduction to gtk+ and how it's
> >  being used.  If you read the Qt article in the LJ a bit back,
> >  that's about what I'm thinking about.. that was the article that
> >  really got me tinkering with Qt, and I think the same would do a
> >  world of good for gtk+.
> 
> Oooh, that is a very good idea.  At least it should get people going.
> If I can be of any help, please tell me.  I'd really like to see a lot
> of people writing stuff for Gtk.

Good, I'm not the only one. :) I'll work on an outline in my
(non-existant) spare time and pass it by this list before finalizing
things.  I should probably send an e-mail to the LJ this afternoon,
though... 

-- 
					-Otto.

From miguel@nuclecu.unam.mx
Received: (qmail 2714 invoked from network); 16 May 1997 22:04:00 -0000
Received: from athena.nuclecu.unam.mx (miguel@132.248.29.9)
  by mail2.redhat.com with SMTP; 16 May 1997 22:03:31 -0000
Received: (from miguel@localhost)
	by athena.nuclecu.unam.mx (8.8.5/8.8.5) id QAA11838;
	Fri, 16 May 1997 16:58:20 -0500
Date: Fri, 16 May 1997 16:58:20 -0500
Message-Id: <199705162158.QAA11838@athena.nuclecu.unam.mx>
From: Miguel de Icaza <miguel@nuclecu.unam.mx>
To: otto@redhat.com
CC: federico@nuclecu.unam.mx, gtk-list@redhat.com
In-reply-to: <19970516161921.35689@redhat.com> (message from Otto Hammersmith
	on Fri, 16 May 1997 16:19:21 -0400)
Subject: Re: [gtk-list] File manager and article [was: Re: Gtk app build issues]
X-Home: is where the cat is


Federico/Otto said:

> > A graphical MC as I see it would need to have both the usual file
> > lists and an icon view (both with drag and drop, which needs to be
> > implemented in Gtk.  Hint, hint --- offix).  I'm not exactly sure
> > about how you would go about the double-panel stuff, but I'm sure it
> > can be adapted to a graphical environment.
> 
> I think I need to learn how to use MC before I can port it to a GUI
> environ... :)

Good.  I can answer your questions regarding that :-)

Anyways, the Midnight Commander has currently 2 usable front ends: the
text mode (slang/ncurses) front end, the not so stable Tk front-end.
The major reason is that I have put more time into other projects, so
I haven't coded much.

Both of those front-ends share the same features: the file management
engine and the virtual file system (and all the other stuff), so
making a new version based on Gtk should be fairly easy (modulo that I
have never written a Icon-listing mode, which would be new code).

Anyways, if you are interested in making a Gtk front-end for mc, I can
answer all of your questions regarding the internals of the program.

Best wishes,
Miguel.

From szi@lilly.ping.de
Received: (qmail 13796 invoked from network); 17 May 1997 06:59:42 -0000
Received: from lilly.ping.de (193.100.14.2)
  by mail2.redhat.com with SMTP; 17 May 1997 06:59:41 -0000
Received: (qmail 10126 invoked by uid 10); 17 May 1997 06:59:17 -0000
Sender: szi@lilly.ping.de
Message-ID: <337D4F57.387E879D@aibon.ping.de>
Date: Sat, 17 May 1997 08:25:27 +0200
From: Sascha Ziemann <szi@aibon.ping.de>
Organization: Chaos Emu v0.0 preAlpha
X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.29 i586)
MIME-Version: 1.0
To: gtk-list@redhat.com
Subject: Re: File manager and article
References: <199705162003.PAA00441@sphinx.nuclecu.unam.mx>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Federico Mena wrote:

> Or if you want to hack a lot of existing code, I could suggest doing a
> Gtk port of the Midnight Commander.  Of course I am biased on this
> (Miguel is 10 meters from me right now), but MC is a very good file
> manager IMO.  The VFS architecture is pretty cool, and it can be
> easily extended.

MC is good for the terminal but not for X. A good X-filemanager would be
something like the M$-Explorer but with more than one list on the right
and a terminal at the bottom.

-- bis später...
 - Sascha         ---<~>=( http://www.ping.de/sites/aibon/ )=<~>---

   () Free speech online
   /\ http://www.eff.org/BlueRibbon/bluehtml.html

From federico@nuclecu.unam.mx
Received: (qmail 12498 invoked from network); 17 May 1997 16:57:39 -0000
Received: from bananoid.nuclecu.unam.mx (HELO nuclecu.unam.mx) 
(federico@132.248.29.97)
  by mail2.redhat.com with SMTP; 17 May 1997 16:57:38 -0000
Received: (from federico@localhost)
	by nuclecu.unam.mx (8.8.5/8.8.5) id LAA10574;
	Sat, 17 May 1997 11:55:53 -0500
Date: Sat, 17 May 1997 11:55:53 -0500
Message-Id: <199705171655.LAA10574@nuclecu.unam.mx>
From: Federico Mena <federico@nuclecu.unam.mx>
To: gtk-list@redhat.com
In-reply-to: <337D4F57.387E879D@aibon.ping.de> (message from Sascha Ziemann on
	Sat, 17 May 1997 08:25:27 +0200)
Subject: Re: [gtk-list] Re: File manager and article
Reply-to: federico@nuclecu.unam.mx

>  MC is good for the terminal but not for X. A good X-filemanager
>  would be something like the M$-Explorer but with more than one list
>  on the right and a terminal at the bottom.

I was thinking of something similar to the IMO very good Norton
Desktop for windows.  I used to like that thing.

  Quartic