[TUHS] X and NeWS history (long)

Larry McVoy lm at mcvoy.com
Thu Sep 14 13:14:41 AEST 2017


On Wed, Sep 13, 2017 at 04:17:04PM +0100, Richard Tobin wrote:
> > The rest of your story is great, just one small correction.  SunView started
> > as something Sun specific but it pretty quickly became a library on top of
> > X11.  I'm not sure if it ever worked on X10, I think it did but I'm not sure.
> 
> As I recall it, SunTools (the original Sun window system) was renamed
> SunView, and the API was ported to X11 under the name XView.

Yeah, you are right, I dug up the makefile I was using and it says

LIBS            = -lxview -lolgx -lX11

I really kind of liked that toolkit, it was all key/value like so:

        panel = xv_create(
	    frame, PANEL,
            XV_WIDTH, WIDTH,
	    XV_HEIGHT, 30,
            PANEL_LAYOUT, PANEL_HORIZONTAL,
            XV_SHOW, FALSE,
	    NULL);

So the order of the args didn't really matter, I think the first one
maybe did because that was the parent but not sure, the rest could
be any order you wanted.  Pretty simple.

Not as simple as Ousterhout's TK stuff, to this day, that's my goto
gui toolkit.


More information about the TUHS mailing list