Path: utzoo!attcan!uunet!clyde.concordia.ca!mcgill-vision!quiche!opus!peterd From: peterd@opus.cs.mcgill.ca (Peter Deutsch) Newsgroups: comp.sys.next Subject: Re: XWindows W11 Release 4 Summary: Don't write, here's the poop Message-ID: <2241@opus.cs.mcgill.ca> Date: 19 Sep 90 05:23:02 GMT Organization: SOCS, McGill University, Montreal, Canada Lines: 225 In article , melling@cs.psu.edu (Michael D Mellinger) writes: > > In article <7753@milton.u.washington.edu> wjs@milton.u.washington.edu (William Shipley) writes: > > > Well, today at the big unveiling Jobs announced the NeXTstation (which > will be reviewed to death by others, so I'll be brief), which NeXT > document number N6030 describes as: > > > Anything earthshaking happen at the unveiling? Some of us couldn't > make it :-). Well, I didn't make it either (NeXT offered to pay my way, then withdrew the offer! :-( but I did write a news release that was supposed to be included in the press kit. I include a copy below. If for some reason the event didn't happen, I'm STILL NOT VIOLATING NON-DISCLOSURE as I am merely telling the world I like NeXTen and bought a bunch. Boy, am I sensitive. Anyways, for anyone too lazy to read our blurb below, the interesting bit is as follows: > As one example of this, McGill is currently working on > porting X11 Release 4 of Xwindows to the NeXT machine. A > beta version already runs in cooperation with version 1.0a > of NeXTstep and should be available for public distribution > soon. A stand-alone version is also planned and both ver- > sions will be submitted back to MIT for inclusion in the > standard X11 release. So there, X 11 Release 4 IS RUNNING ON THE NeXT! As for status, I have the best hacker at McGill working on the port for me, he has a working server and basically all the other bits of XWindows compiled and running in conjuction with NeXTStep 1.0a. There are a few little bugs, but the grunt work is done for the "draft" version. Imagine Xeyes on a NeXT, with black background, no borders, in a dark, unlit office. It looks sexy! :-) First, how we did it. We still need NeXTStep, but only to provide us with keyboard and mouse events. These are provided to the XWindows server, which translates them and handles them as appropriate X events. We have asked NeXT for details on accessing these directly and when/if we get this info, we will not need NeXTStep at all. In action, when Xwindows starts up, the first thing it does is draw a DPS window in front of all the existing NeXTstep windows. The X code then opens the frame buffer and talks directly to it, in effect scribbling directly on the screen. It really handles the two bits per pixel correctly and is actually a rework of a colour server to handle 2 bits instead of 8. When we exit X, we clear the DPS window and find ourselves back in NeXTstep. As I said, we still need NeXTStep to get keyboard and mouse events, and hope to bypass this if someone can tell us how. This all works now. One thing we plan to do is to add a toggle so we can switch between X and NeXTstep. The guy doing the port says it should be easy. We'd click on the X icon and go into X, and have some hot-key or icon to click to get back. They can co-exist just fine. The other possibility is to run X standalone, ie kill the NeXTStep window server and run the X server. I would like this option and my hacker says he can do it once we eliminate the event problem. If you know how to do what we want, write. If you know someone at NeXT who knows how to do what we want, wake them up after the big bash and get them to write. I have spoken to our Tech Rep who promises to speak to a couple of people, but hey, why wait!?! Performance? I think it's not blindingly fast on a 68030 cube, but I'm told it's "slower than monochrome on a Sun, but faster than 8 bit colour". This is providing real two bit per pixel support. Things to come? Well, we have 68040s on order and are eagerly awaiting 2.0 of the O/S to make sure nothing breaks, although it shouldn't. If/when NeXT announce colour or can get us beta machines we have offered to do the colour port. Availability? Not yet, but soon. The guy doing the port wants to give it back to MIT for inclusion in the standard release, so expect it at an archive server near you once we're done. Of course, we will post in comp.windows.x and here in comp.sys.next when it's ready. Problems? One problem is that a lot of the public domain X programs are broken, in that they hardwire in an assumption about how many mouse buttons you have (Hey! Not all machines have 3 button mice, guys!). This is not a server issue, it's a programmer education issue, but my suggestion is to map some special hot key on the keyboard to be the missing mouse button. I am not an X hacker so don't know how outlandish a suggestion this is, but my hacker thinks it can be done, so I believe him. The alternative is to fix a lot of broken code, but that seems like more work. One window manager I've seen can work with no mice or buttons at all. This is another obvious way around the problem. :-) I have deliberately omitted the name of the guy doing the port, as I don't want a flood of "Can I have copy NOW, please please, pluuuuueeeese?" letters slowing him down. He's good and is almost done. It will be released soon. And it will be free. Remember my email address and start bothering _me_ in a few weeks if someone haven't followed up. Thanks. One last comment on XWindows. I am not the guy doing the port, I have cooperated to the level of helping to pursuade someone to do it, then giving up my own workstation so the guy would have a testbed. I am not a qualified X (or even NeXTStep) hacker so I may have used the term "window" when I meant "box" or whatever. Sorry, but the gist is sound. I hope to see the hacker doing the port posting on this soon. I have been told (over the phone, not non-disclosed, nothing) that NeXT has contracted with some company to do an XWindows port, including Motif, etc. If you want that, then call NeXT. We're offering the public domain, freeware version of an X11 Release 4 server, and I hope/expect to be able to offer it before anyone else does. Finally, one last comment. I was flamed at one point about the non-disclosure rubbish. Someone accused me of "hurting NeXT financially" by releasing info I shouldn't have. I didn't answer because I didn't want to prolong what I thought was a silly thread, but here's my answer to the question I was asked (probably rhetorically) "so what have you do for NeXT financially?" Here's my answer. I bought 63 NeXTen and helped arrange the XWindows port. So what have you guys done? I 'll drop this now if everyone else does. - peterd ------------------------------------------------------------ September 18, 1990. (Montreal) - McGill University announced today that it has purchased 63 NeXT computers to equip a new teaching laboratory for the School of Computer Science. The machines will be used at all levels of the School's undergraduate teaching program, as well as for graduate level teaching and research. ``We began our search for new computer systems with a stringent set of requirements'', says Peter Deutsch, systems manager for the School. ``We had to have machines that could co-exist with a large number of different machines in a networked environment. We needed a machine that could run a large body of existing UNIX-based software. We wanted a fast machine, yet needed as many of them as possible. It just all seemed to come together with NeXT. ``Many students are taking our courses as electives and we see no reason to inflict raw UNIX upon them. At the same time, computer science students need to be able to 'lift the lid' on any conventional graphics user interface and access the raw O/S when required.'' Mr. Deutsch continued. ``Underneath the NeXTstep GUI is a stable implementation of Mach, which does a great job of looking like Berkley UNIX. We have been very pleased with the ease with which we can port software from our existing machines onto the NeXT com- puter.'' As one example of this, McGill is currently working on porting X11 Release 4 of Xwindows to the NeXT machine. A beta version already runs in cooperation with version 1.0a of NeXTstep and should be available for public distribution soon. A stand-alone version is also planned and both ver- sions will be submitted back to MIT for inclusion in the standard X11 release. The new machines join a number of NeXT computers used in individual professors' labs. Current machines are used for research in Speech Recognition, Numerical Analysis and Database Design. Several others are used for systems mainte- nance and monitoring tasks. ``Our success with the earlier NeXT computers helped us decide on this new purchase. We have a lot of faith in NeXT and look forward to having their new machines in our labs.'' said Mr. Deutsch. For information on McGill's NeXT purchase, contact Peter Deutsch by phone: (514) 398-6698, or through elec- tronic mail (peterd@cs.mcgill.ca). -------------------------------------------------------------------------- +-------+ Peter Deutsch McGill University | u # u | peterd@cs.mcgill.ca School of Computer Science |/\/\/\/| | a a | \ a / Go ahead, flame me. I have a /dev/null on my machine... \___/ --------------------------------------------------------------------------