Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!spdcc!xylogics!world!bzs From: bzs@world.std.com (Barry Shein) Newsgroups: comp.windows.news Subject: Need a quick hack... Message-ID: <1989Nov18.223114.4523@world.std.com> Date: 18 Nov 89 22:31:14 GMT Article-I.D.: world.1989Nov18.223114.4523 Organization: The World @ Software Tool & Die Lines: 30 I'm writing an article (for Sun/Expert) on X11 & NeWS. I've written a simple program showing how input and output works under X11 and need an equivalent in NeWS. I'd prefer if someone who considers themselves a NeWS hacker (er, aficionado) would write it (I will give you credit, unless you don't want it, some people are wanted by the FBI I guess.) The program I need is very simple: create a window, put "Hello World" into it (reasonably centered), on mouse-down (any button, or a particular button, doesn't matter) the text changes to "Goodbye World" (clear and redraw text is fine), when the button is released the program exits. It shouldn't use any toolkits or tools, just straight, hand-coded NeWS/Postscript. Short and exemplary is much better than, oh, dealing with detail issues of color screens (you can assume mono if it makes it simpler) or whatever. Its only purpose is to say "here's what a very simple program that actually does some input/output looks like in each system". Thanks. -- -Barry Shein Software Tool & Die, Purveyors to the Trade | bzs@world.std.com 1330 Beacon St, Brookline, MA 02146, (617) 739-0202 | {xylogics,uunet}world!bzs