wollman@NEWTON.UVM.EDU (Garrett Wollman) (01/29/91)
Are there documents somewhere which describe using Ness as a controller for ADEW applications? Are there examples anywhere? -GAWollman Garrett A. Wollman - wollman@emily.uvm.edu Disclaimer: I'm not even sure this represents *my* opinion, never mind UVM's, EMBA's, EMBA-CF's, or indeed anyone else's.
wjh+@ANDREW.CMU.EDU (Fred Hansen) (02/01/91)
Excerpts from internet.info-andrew: 28-Jan-91 Using Ness for controllers Garrett Wollman@griffin. (305) > Are there documents somewhere which describe using Ness as a controller > for ADEW applications? Are there examples anywhere? > -GAWollman > Garrett A. Wollman - wollman@emily.uvm.edu > Disclaimer: I'm not even sure this represents *my* opinion, never > mind UVM's, EMBA's, EMBA-CF's, or indeed anyone else's. {In the below, $ANDRE means whereever Andrew is installed in your system. At CMU it is /usr/andrew.} The Ness documents describe how to control Adew objects with Ness scripts. See especially Section 3.1 of $ANDREW/doc/atk/ness/nessauth.doc. The basic principal is to give names to objects inserted with ADEW and then add to a Ness script an extend end extend block for each object to be extended. The script can add new key stroke sequences, new menu items, or new responses to mouse hits. Various examples are in $ANDREW/lib/ness/demos. Especially bank.d, birth.db, calc.d happybday.d, and xmas.d. A new feature in Ness is that the script can be hidden if you start the application from nessrun. See the description in section 2.3 of nessauth.d. An example of this is nessrun $ANDREW/lib/ness/demos/happybday.n If these various demonstrations don't help or even (shudder) don't work, please let me know and I can work something out. Fred Hansen Example: I've added four objects below with ADEW: a Ness, two buttons, and a text. Empower the Ness (by scrolling it to its end and clicking on "Empower"), then click on the button here for a message in the text area. Click the Clear button to clear the text. [An Andrew ToolKit view (celview) was included here, but could not be displayed.] [An Andrew ToolKit view (celview) was included here, but could not be displayed.] [An Andrew ToolKit view (celview) was included here, but could not be displayed.] [An Andrew ToolKit view (celview) was included here, but could not be displayed.]