Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!mips!apple!snorkelwacker!mit-eddie!uw-beaver!Teknowledge.COM!unix!hplabs!hplabsz!mayer From: mayer@hplabsz.HPL.HP.COM (Niels Mayer) Newsgroups: comp.windows.misc Subject: Re: 3D OpenLook a winner (was Re: Re^2: OSF/Motif vs. NeWS vs. SUN/Open Windows vs. ?) Message-ID: <4885@hplabsz.HPL.HP.COM> Date: 28 Feb 90 00:37:34 GMT References: <1990Feb14.201536.29437@sq.sq.com> <8130009@hpccc.HP.COM> <20372@bellcore.bellcore.com> Reply-To: mayer@hplabs.hp.com (Niels Mayer) Organization: Hewlett-Packard Labs, Software Technology Lab, Palo Alto, CA. Lines: 34 Summary: Expires: Sender: Followup-To: In article <20372@bellcore.bellcore.com> sjs@bellcore.com (Stan Switzer) writes: >> >"What's bigger than a toaster?" >> > "The source for the X-Windows version of 'Hello World'." >> >"What's bigger than a house?" >> > "The source for the X-Windows version of 'Hello World'." >> >"What's bigger than a major Interstate?" >> > "The source for the X-Windows version of 'Hello World'." >> "What's bigger than the source for the X-Windows version of 'Hello World'?" >> "The source for the Microsoft Windows version of 'Hello World'." > >"What's eight lines long?" > "The source to the NeWS version of 'Hello World'." "What's six lines long?" The source to the WINTERP version of 'Hello World'. WINTERP is an XLISP interface to the Motif widget set. Loading the following 6 line expression into WINTERP's lisp server contradicts the above statements claiming that a 'Hello World' program in X windows is large. (let* ((top_w (send TOP_LEVEL_SHELL_WIDGET_CLASS :new)) (but_w (send XM_PUSH_BUTTON_WIDGET_CLASS :new :managed top_w :XMN_LABEL_STRING "hello world"))) (send but_w :add_callback :XMN_ARM_CALLBACK '() '((format t "hello world\n"))) (send top_w :realize)) ------------------------------------------------------------------------------- Niels Mayer -- hplabs!mayer -- mayer@hplabs.hp.com Human-Computer Interaction Department Hewlett-Packard Laboratories Palo Alto, CA. *